Update the trees currently used by the build farm to build samba.
[build-farm.git] / generic.fns
index a19abdfb7623f2ba1fd63109ed33add111c027e6..97937a7afb0f61512f25247b2f7a35c341b0f606 100644 (file)
@@ -12,8 +12,9 @@ if [ "x$compilers" = "x" ]; then
        compilers="gcc cc icc"
 fi
 
-for compiler in gcc cc icc; do
+for compiler in $compilers; do
 
+  echo "working with compiler $compiler"
   # arrgh, "which" gives no err code on solaris
   path=`which $compiler`
   if [ -x "$path" ]; then
@@ -45,7 +46,6 @@ for compiler in gcc cc icc; do
 
     TDB_NO_FSYNC=1
     export TDB_NO_FSYNC
-    test_tree samba_4_0_test source4 $compiler
     TDB_NO_FSYNC=0
     export TDB_NO_FSYNC
 
@@ -60,9 +60,9 @@ for compiler in gcc cc icc; do
 
       TDB_NO_FSYNC=1
       export TDB_NO_FSYNC
-      test_tree samba_3_current source $compiler
-      test_tree samba_3_next source $compiler
-      test_tree samba_3_master source $compiler
+      test_tree samba_current . $compiler
+      test_tree samba_next . $compiler
+      test_tree samba_master . $compiler
       TDB_NO_FSYNC=0
       export TDB_NO_FSYNC
 
@@ -72,11 +72,12 @@ for compiler in gcc cc icc; do
       fi
     fi
   fi
-done
 
-# only attempt pidl if we have perl
-if which perl > /dev/null; then
-  test_tree pidl . cc
-fi
+  # only attempt pidl if we have perl
+  if which perl > /dev/null; then
+    test_tree pidl . cc
+  fi
+
+done
 
 global_unlock