script/autobuild.py: make sure --nonshared-binary=smbtorture,smbd/smbd keeps working
authorStefan Metzmacher <metze@samba.org>
Thu, 13 Aug 2015 08:32:46 +0000 (10:32 +0200)
committerRalph Böhme <slow@samba.org>
Thu, 20 Aug 2015 17:10:18 +0000 (19:10 +0200)
- It's very useful to have a static smbtorture binary that can be copied arround.
- It's sometimes also useful to have a static smbd binary in order avoid
  runtime overhead via do_lookup_x() (in ld*.so), note that

Signed-off-by: Stefan Metzmacher <metze@samba.org>
Reviewed-by: Ralph Boehme <slow@samba.org>
Autobuild-User(master): Ralph Böhme <slow@samba.org>
Autobuild-Date(master): Thu Aug 20 19:10:19 CEST 2015 on sn-devel-104

script/autobuild.py

index 2b939eb98263f140a9bbac831be527da0bc8d6c1..c91ff2c8237e87644512e782487fd70c378d518c 100755 (executable)
@@ -130,7 +130,12 @@ tasks = {
                       # retry without any required modules
                       ("none-distclean", "make distclean", "text/plain"),
                       ("none-configure", samba_libs_configure_samba + " --with-static-modules=!FORCED,!DEFAULT --with-shared-modules=!FORCED,!DEFAULT", "text/plain"),
-                      ("none-make", "make", "text/plain")],
+                      ("none-make", "make", "text/plain"),
+
+                      # retry with nonshared smbd and smbtorture
+                      ("nonshared-distclean", "make distclean", "text/plain"),
+                      ("nonshared-configure", samba_libs_configure_base + " --bundled-libraries=talloc,tdb,pytdb,ldb,pyldb,tevent,pytevent --with-static-modules=ALL --nonshared-binary=smbtorture,smbd/smbd", "text/plain"),
+                      ("nonshared-make", "make", "text/plain")],
 
     "ldb" : [
               ("random-sleep", "../../script/random-sleep.sh 60 600", "text/plain"),