Files
freebsd/contrib/libyaml/tests/run-all-tests.sh
T
Baptiste Daroussin 0f5c86ddb0 libyaml: import libyaml vendor version 0.2.5
The yaml parser used in nuageinit is too incomplete, import libyaml
in order to be able to use as a complete parser for nuageinit.
2025-06-26 09:02:31 +02:00

30 lines
314 B
Bash
Executable File

#!/bin/sh
set -e
main() {
# 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
clean
}
clean() {
git clean -d -x -f
rm -fr tests/run-test-suite
git worktree prune
}
main "$@"