]> andersk Git - libyaml.git/blobdiff - tests/run-tests.sh
Improve CMake build system
[libyaml.git] / tests / run-tests.sh
index 6ef04a15fdf156bf45c882737477f833ad14af65..f7276f2f6756301db684e6b35ef34c810c262142 100755 (executable)
@@ -3,28 +3,26 @@
 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/data
 }
 
 main "$@"
This page took 0.122698 seconds and 4 git commands to generate.