Skip to content

Commit

Permalink
Test suite: move bootstrap to the main test script (#555)
Browse files Browse the repository at this point in the history
* 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
  • Loading branch information
kinkie committed Feb 18, 2020
1 parent b863968 commit 395d284
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 22 deletions.
6 changes: 6 additions & 0 deletions test-builds.sh
Original file line number Diff line number Diff line change
Expand Up @@ -138,6 +138,12 @@ if [ -n "$cache_file" -a -e "$cache_file" -a "$remove_cache_file" = "true" ]; th
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
Expand Down
22 changes: 0 additions & 22 deletions test-suite/buildtests/layer-00-bootstrap.opts

This file was deleted.

0 comments on commit 395d284

Please sign in to comment.