ci: Add support for running multiple tests simultaneously

To try this out, start a run like using multiple `--test`
arguments.

ci/run_test_suite.sh \
	--deqp \
	--host-gles \
	--backend vtest-gpu \
	--backend gpu \
	--test TEST1 \
        --test TEST2

Signed-off-by: Robert Foss <robert.foss@collabora.com>
macos/master
Robert Foss 6 years ago committed by Jakob Bornecrantz
parent a5e65fc6d3
commit a1ad3cef8e
  1. 8
      ci/run_test_suite.sh

@ -37,9 +37,11 @@ parse_input()
-t|--test) -t|--test)
TEST_NAME="$2" TEST_NAME="$2"
shift shift
TMP_TEST_FILE=$(mktemp /tmp/deqp_test.XXXXXX) if [ -z "$TMP_TEST_FILE" ]; then
echo "$TEST_NAME" > "$TMP_TEST_FILE" TMP_TEST_FILE=$(mktemp /tmp/deqp_test.XXXXXX)
TESTS="$TESTS custom" TESTS="$TESTS custom"
fi
echo "$TEST_NAME" >> "$TMP_TEST_FILE"
;; ;;
-v|--vtest) -v|--vtest)

Loading…
Cancel
Save