[hipl-dev] [Branch ~hipl-core/hipl/trunk] Rev 5135: autobuilder: Run unit tests; compile w/o and w/ full optimizations.

  • From: noreply@xxxxxxxxxxxxx
  • To: HIPL core team <hipl-dev@xxxxxxxxxxxxx>
  • Date: Fri, 05 Nov 2010 15:36:34 -0000

Merge authors:
  Stefan Götz (stefan.goetz)
Related merge proposals:
  https://code.launchpad.net/~stefan.goetz/hipl/autobuilder/+merge/40191
  proposed by: Diego Biurrun (diego-biurrun)
  review: Approve - Stefan Götz (stefan.goetz)
------------------------------------------------------------
revno: 5135 [merge]
committer: Diego Biurrun <diego@xxxxxxxxxx>
branch nick: trunk
timestamp: Fri 2010-11-05 16:32:23 +0100
message:
  autobuilder: Run unit tests; compile w/o and w/ full optimizations. 
modified:
  tools/hipl_autobuild.sh


--
lp:hipl
https://code.launchpad.net/~hipl-core/hipl/trunk

Your team HIPL core team is subscribed to branch lp:hipl.
To unsubscribe from this branch go to 
https://code.launchpad.net/~hipl-core/hipl/trunk/+edit-subscription
=== modified file 'tools/hipl_autobuild.sh'
--- tools/hipl_autobuild.sh     2010-10-27 11:26:17 +0000
+++ tools/hipl_autobuild.sh     2010-11-05 08:46:43 +0000
@@ -139,11 +139,21 @@
 # internal autoconf tests, bootstrap the dist tarball, build out-of-tree, etc
 run_program "make -j distcheck"
 
+# run unit tests (this check needs to run after HIPL has been compiled)
+run_program "make -j check"
+
 # PISA configuration
 compile --enable-firewall --disable-rvs --disable-opportunistic 
--disable-profiling --enable-debug --enable-midauth --disable-performance 
--disable-demo
 
 # Max compile coverage configuration
-compile --enable-firewall --enable-rvs --enable-opportunistic 
--enable-profiling --disable-debug --enable-midauth --enable-performance 
--enable-demo
+FEATURES_ALL="--enable-firewall --enable-rvs --enable-opportunistic 
--enable-profiling --disable-debug --enable-midauth --enable-performance 
--enable-demo"
+compile $FEATURES_ALL
+
+# Max compile coverage configuration without optimization
+compile $FEATURES_ALL CFLAGS="-O0"
+
+# Max compile coverage configuration with full optimization
+compile $FEATURES_ALL CFLAGS="-O3"
 
 # Without modules
 compile --with-nomodules=heartbeat,update,heartbeat_update

Other related posts:

  • » [hipl-dev] [Branch ~hipl-core/hipl/trunk] Rev 5135: autobuilder: Run unit tests; compile w/o and w/ full optimizations. - noreply