Raw
1 #!/bin/sh
2
3 # We must load the build options so we know where to find
4 # things like TEST_OUTPUT_DIRECTORY. This has to come before
5 # loading lib.sh, though, because it may clobber some CI lib
6 # variables like our custom GIT_TEST_OPTS.
7 . "$1"/GIT-BUILD-OPTIONS
8 . ${0%/*}/lib.sh
9
10 group "Run tests" \
11 meson test -C "$1" --no-rebuild --print-errorlogs \
12 --test-args="$GIT_TEST_OPTS" --slice "$(($2))/$3" ||
13 handle_failed_tests