Skip to content
Snippets Groups Projects

CI: Extend integration testing

Merged Caleb Connolly requested to merge caleb/moar-testing into master
All threads resolved!
Compare and Show latest version
1 file
+ 4
6
Compare changes
  • Side-by-side
  • Inline
+ 4
6
#!/bin/sh -e
if [ "$(id -u)" = 0 ]; then
exec su "${TESTUSER:-build}" -c "sh -e $@"
exec su "${TESTUSER:-build}" -c "sh -ec $0 $*"
fi
test="$(basename "$0")"
args="$*"
echo "args: $args"
echo "\$@: $@"
echo "\$@:" "$@"
usage() {
echo "Usage: $test $1"
@@ -16,7 +14,7 @@ usage() {
}
pmbootstrap() {
printf "\033[0;32m$ pmbootstrap $*\033[0m\n"
printf "\033[0;32m\$ pmbootstrap %s\033[0m\n" "$*"
./pmbootstrap.py --details-to-stdout -y "$@"
}
@@ -115,5 +113,5 @@ bump_autobuild() {
# Run the test
echo "Running $test $*"
eval $test "$@"
"$test" "$@"
echo "Test $test passed!"
Loading