diff options
author | Petri Latvala <petri.latvala@intel.com> | 2017-12-13 14:58:16 +0200 |
---|---|---|
committer | Petri Latvala <petri.latvala@intel.com> | 2018-01-11 13:25:33 +0200 |
commit | e9b4d160ac6bd9f940fa695540899d8431f9e6a5 (patch) | |
tree | f186921fe2ac00d973045bf37bd51315c7a3ee1e | |
parent | 07c331773dd3bc4dadb164bcd9bc06dbd01de3b6 (diff) |
run-tests.sh: Allow users to override IGT_TEST_ROOT
Signed-off-by: Petri Latvala <petri.latvala@intel.com>
Cc: Arkadiusz Hiler <arkadiusz.hiler@intel.com>
Reviewed-by: Arkadiusz Hiler <arkadiusz.hiler@intel.com>
-rwxr-xr-x | scripts/run-tests.sh | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/scripts/run-tests.sh b/scripts/run-tests.sh index acd2ae2f..a98e06ce 100755 --- a/scripts/run-tests.sh +++ b/scripts/run-tests.sh @@ -24,7 +24,7 @@ ROOT="`dirname $0`" ROOT="`readlink -f $ROOT/..`" -IGT_TEST_ROOT="$ROOT/tests" +IGT_TEST_ROOT="${IGT_TEST_ROOT:-$ROOT/tests}" IGT_CONFIG_PATH="${IGT_CONFIG_PATH:-$HOME/.igtrc}" RESULTS="$ROOT/results" PIGLIT=`which piglit 2> /dev/null` |