aboutsummaryrefslogtreecommitdiff
path: root/automated/linux/igt
diff options
context:
space:
mode:
authorArthur She <arthur.she@linaro.org>2019-10-16 14:23:26 -0700
committermwasilew <milosz.wasilewski@linaro.org>2019-10-21 16:53:52 +0100
commitd16e237dbd2174484997921e02dd3540fa11a39e (patch)
tree742992b485738c5b27e5ce60a00045dd25248976 /automated/linux/igt
parenta3a1f24512b276c83031d205fc54c2ff3512cc13 (diff)
igt: update igt-chamelium-test.sh2019.10
1. Pass test list directory through shell environment variable IGT_TEST_ROOT 2. New run-tests.sh needs '-p' to run the tests with piglit Signed-off-by: Arthur She <arthur.she@linaro.org>
Diffstat (limited to 'automated/linux/igt')
-rwxr-xr-xautomated/linux/igt/igt-chamelium-test.sh6
1 files changed, 6 insertions, 0 deletions
diff --git a/automated/linux/igt/igt-chamelium-test.sh b/automated/linux/igt/igt-chamelium-test.sh
index 2f328d74..31fd7cf1 100755
--- a/automated/linux/igt/igt-chamelium-test.sh
+++ b/automated/linux/igt/igt-chamelium-test.sh
@@ -50,6 +50,12 @@ fi
TEST_SCRIPT="${IGT_DIR}/scripts/run-tests.sh"
+export IGT_TEST_ROOT="/usr/libexec/igt-gpu-tools"
+
+# new run-tests.sh needs '-p' to run the tests with piglit
+${TEST_SCRIPT} --help | grep -q '\-p' && TEST_SCRIPT="${TEST_SCRIPT} -p"
+
+
# generate ~/.igtrc
if [ ! -f "$HOME/.igtrc" ]; then
echo "Generate ~/.igtrc"