]> andersk Git - libyaml.git/blob - tests/run-tests.sh
9c92741eca3822f545332907d943a518363240bd
[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
26   git worktree prune
27 }
28
29 main "$@"
This page took 0.027535 seconds and 3 git commands to generate.