From 56739adad5160f746a344e8f9728e6888919042e Mon Sep 17 00:00:00 2001 From: Alexandros Frantzis Date: Mon, 18 Mar 2019 10:28:36 +0200 Subject: [PATCH] ci: Support desktop GL tests Add test script flags to run desktop GL 3.0, 3.1 and 3.2 tests. Signed-off-by: Alexandros Frantzis Reviewed-by: Reviewed-By: Gert Wollny --- ci/run_test_suite.sh | 27 +++++++++++++++++++++++++++ 1 file changed, 27 insertions(+) diff --git a/ci/run_test_suite.sh b/ci/run_test_suite.sh index 4e25379..5af9ef8 100755 --- a/ci/run_test_suite.sh +++ b/ci/run_test_suite.sh @@ -82,6 +82,18 @@ parse_input() TESTS="$TESTS gles31" ;; + --gl30) + TESTS="$TESTS gl30" + ;; + + --gl31) + TESTS="$TESTS gl31" + ;; + + --gl32) + TESTS="$TESTS gl32" + ;; + -d|--deqp) TEST_APP="deqp" ;; @@ -468,6 +480,21 @@ run_all_tests() TEST_FILE="$CTS_PATH/android/cts/master/gles31-master.txt" ;; + gl30) + TEST_NAME="gl30" + TEST_FILE="$CTS_PATH/external/openglcts/data/mustpass/gl/khronos_mustpass/4.6.1.x/gl30-master.txt" + ;; + + gl31) + TEST_NAME="gl31" + TEST_FILE="$CTS_PATH/external/openglcts/data/mustpass/gl/khronos_mustpass/4.6.1.x/gl31-master.txt" + ;; + + gl32) + TEST_NAME="gl32" + TEST_FILE="$CTS_PATH/external/openglcts/data/mustpass/gl/khronos_mustpass/4.6.1.x/gl32-master.txt" + ;; + *) echo "Invalid test: $TEST" exit 1