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)
TEST_NAME="$2"
shift
TMP_TEST_FILE=$(mktemp /tmp/deqp_test.XXXXXX)
echo "$TEST_NAME" > "$TMP_TEST_FILE"
TESTS="$TESTS custom"
if [ -z "$TMP_TEST_FILE" ]; then
TMP_TEST_FILE=$(mktemp /tmp/deqp_test.XXXXXX)
TESTS="$TESTS custom"
fi
echo "$TEST_NAME" >> "$TMP_TEST_FILE"
;;
-v|--vtest)

Loading…
Cancel
Save