]> andersk Git - libyaml.git/blob - tests/run-tests.sh
f7276f2f6756301db684e6b35ef34c810c262142
[libyaml.git] / tests / run-tests.sh
1 #!/bin/sh
2
3 set -e
4
5 main() {
6   # Autoconf based in-source build and tests
7   clean
8
9   ./bootstrap
10   ./configure
11   make test-all
12
13   # CMake based in-source build and tests
14   clean
15
16   cmake .
17   make
18   make test
19
20   clean
21 }
22
23 clean() {
24   git clean -d -x -f
25   rm -fr tests/run-test-suite/data
26 }
27
28 main "$@"
This page took 0.023424 seconds and 3 git commands to generate.