]> git.ipfire.org Git - thirdparty/squid.git/blobdiff - test-builds.sh
Author: Henrik Nordstrom <hno@squid-cache.org>
[thirdparty/squid.git] / test-builds.sh
index d72dd94f38be4269d7d774bdc1412a2b10def7e0..36a2e4ca471354a2a69f92e973974913196abd62 100755 (executable)
@@ -42,7 +42,11 @@ buildtest() {
     rm -f -r ${btlayer} && mkdir ${btlayer}
     {
        cd ${btlayer}
-       $top/test-suite/buildtest.sh $opts
+       if test -e $top/test-suite/buildtest.sh ; then
+               $top/test-suite/buildtest.sh $opts
+       elif test -e ../$top/test-suite/buildtest.sh ; then
+               ../$top/test-suite/buildtest.sh $opts
+       fi
     } 2>&1 | logtee $log
     grep -E "${errors}" $log && exit 1
     if test "${cleanup}" = "yes" ; then