* Refactor test suite: move bootstrap from being a fake test layer to explicit command
* Refactor test suite: move bootstrap from being a fake test layer to explicit command
rm $cache_file
fi
+if [ -f "$top/configure" -a -f "$top/libltdl/configure" ]; then
+ echo "Already bootstrapped, skipping step"
+else
+ (cd "$top"; ./bootstrap.sh)
+fi
+
# Decide what tests to run, $* contains test spec names or filenames.
# Use all knows specs if $* is empty or a special macro called 'all'.
if test -n "$*" -a "$*" != all; then
+++ /dev/null
-## Copyright (C) 1996-2020 The Squid Software Foundation and contributors
-##
-## Squid software is distributed under GPLv2+ license and includes
-## contributions from numerous individuals and organizations.
-## Please see the COPYING and CONTRIBUTORS files for details.
-##
-
-#
-## Special run - to be done before all others...
-#
-## locate the sources and go there...
-topb=`dirname $0`
-topc=`dirname ${topb}`
-cd ${topc}
-
-# echo "DEBUG: top=${top}"
-# echo "DEBUG: topB=${topb}"
-# echo "DEBUG: topC=${topc}"
-
-## Bootstrap the sources in case configure or makefiles changed.
-./bootstrap.sh
-exit $?