Skip to content

Commit

Permalink
igt: update igt-chamelium-test.sh
Browse files Browse the repository at this point in the history
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 <[email protected]>
  • Loading branch information
Arthur She authored and mwasilew committed Oct 21, 2019
1 parent a3a1f24 commit d16e237
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions automated/linux/igt/igt-chamelium-test.sh
Original file line number Diff line number Diff line change
Expand Up @@ -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"
Expand Down

0 comments on commit d16e237

Please sign in to comment.