diff options
author | Michael Adam <obnox@samba.org> | 2016-03-22 18:14:17 +0100 |
---|---|---|
committer | Michael Adam <obnox@samba.org> | 2016-05-13 10:16:17 +0200 |
commit | cc9d38027126e32d89d9486a6d923c1c10ea25c7 (patch) | |
tree | 51f62e1f6f396fadbdcc58fb2fe98fedd2e5df84 /script | |
parent | 8b3ae1bb9ce13bb7dd4d024cb4a5a07757986633 (diff) | |
download | samba-cc9d38027126e32d89d9486a6d923c1c10ea25c7.tar.gz |
autobuild: add a target samba-o3 that is built with -O3
Only run quicktest against the ad_dc env.
This currently just takes some 6 odd minutes.
Signed-off-by: Michael Adam <obnox@samba.org>
Reviewed-by: Andrew Bartlett <abartlet@samba.org>
Diffstat (limited to 'script')
-rwxr-xr-x | script/autobuild.py | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/script/autobuild.py b/script/autobuild.py index ee16f5b2d8e..7c572cd12a4 100755 --- a/script/autobuild.py +++ b/script/autobuild.py @@ -24,6 +24,7 @@ builddirs = { "ctdb" : "ctdb", "samba" : ".", "samba-xc" : ".", + "samba-o3" : ".", "samba-ctdb" : ".", "samba-libs" : ".", "samba-static" : ".", @@ -79,6 +80,14 @@ tasks = { " --cross-answers=./bin-xe/cross-answers.txt --with-selftest-prefix=./bin-xa/ab" + samba_configure_params, "text/plain"), ("compare-results", "script/compare_cc_results.py ./bin/c4che/default.cache.py ./bin-xe/c4che/default.cache.py ./bin-xa/c4che/default.cache.py", "text/plain")], + # test build with -O3 -- catches extra warnings and bugs + "samba-o3" : [ ("random-sleep", "../script/random-sleep.sh 60 600", "text/plain"), + ("configure", "ADDITIONAL_CFLAGS='-O3' ./configure.developer --with-selftest-prefix=./bin/ab" + samba_configure_params, "text/plain"), + ("make", "make -j", "text/plain"), + ("test", "make quicktest FAIL_IMMEDIATELY=1 TESTS='\(ad_dc\)'", "text/plain"), + ("install", "make install", "text/plain"), + ("check-clean-tree", "script/clean-source-tree.sh", "text/plain"), + ("clean", "make clean", "text/plain") ], "samba-ctdb" : [ ("random-sleep", "script/random-sleep.sh 60 600", "text/plain"), |