build: a more portable way of finding waf in makefiles
[sfrench/samba-autobuild/.git] / script / autobuild.py
index 357cb16b5bee53abab677649af1a63a6c8e3bc4e..a124ddfd787e650b1ac40e3abd4aeeebc848c952 100755 (executable)
@@ -24,6 +24,7 @@ tasks = {
                   ("install", "make install", "text/plain"),
                   ("test", "TDB_NO_FSYNC=1 make test FAIL_IMMEDIATELY=1", "text/plain") ],
 
+    # We have 'test' before 'install' because, 'test' should work without 'install'
     "source4" : [ ("configure", "./configure.developer ${PREFIX}", "text/plain"),
                   ("make", "make -j", "text/plain"),
                   ("test", "TDB_NO_FSYNC=1 make test FAIL_IMMEDIATELY=1", "text/plain"),
@@ -32,8 +33,9 @@ tasks = {
     "source4/lib/ldb" : [ ("configure", "./configure --enable-developer -C ${PREFIX}", "text/plain"),
                           ("make", "make -j", "text/plain"),
                           ("install", "make install", "text/plain"),
-                          ("test", "make test", "text/plain") ],
+                          ("test", "TDB_NO_FSYNC=1 make test", "text/plain") ],
 
+    # We don't use TDB_NO_FSYNC=1 here, because we want to test the transaction code
     "lib/tdb" : [ ("autogen", "./autogen-waf.sh", "text/plain"),
                   ("configure", "./configure --enable-developer -C ${PREFIX}", "text/plain"),
                   ("make", "make -j", "text/plain"),