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