diff options
author | Arthur She <arthur.she@linaro.org> | 2019-10-16 14:23:26 -0700 |
---|---|---|
committer | mwasilew <milosz.wasilewski@linaro.org> | 2019-10-21 16:53:52 +0100 |
commit | d16e237dbd2174484997921e02dd3540fa11a39e (patch) | |
tree | 742992b485738c5b27e5ce60a00045dd25248976 /automated/linux/igt | |
parent | a3a1f24512b276c83031d205fc54c2ff3512cc13 (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-x | automated/linux/igt/igt-chamelium-test.sh | 6 |
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" |