]> andersk Git - libyaml.git/blobdiff - tests/run-tests.sh
Move tests/run-test-suite to branch run-test-suite
[libyaml.git] / tests / run-tests.sh
index 6ef04a15fdf156bf45c882737477f833ad14af65..9c92741eca3822f545332907d943a518363240bd 100755 (executable)
@@ -3,28 +3,27 @@
 set -e
 
 main() {
-  bootstrap
+  # Autoconf based in-source build and tests
+  clean
 
+  ./bootstrap
+  ./configure
   make test-all
 
+  # CMake based in-source build and tests
   clean
 
   cmake .
-
   make
   make test
-}
 
-bootstrap() {
   clean
-
-  ./bootstrap
-  ./configure
 }
 
 clean() {
   git clean -d -x -f
-  rm -fr libyaml-test
+  rm -fr tests/run-test-suite
+  git worktree prune
 }
 
 main "$@"
This page took 0.026359 seconds and 4 git commands to generate.