Book a Demo!
CoCalc Logo Icon
StoreFeaturesDocsShareSupportNewsAboutPoliciesSign UpSign In
freebsd
GitHub Repository: freebsd/freebsd-src
Path: blob/main/contrib/libyaml/tests/run-all-tests.sh
39507 views
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 "$@"
30
31