summaryrefslogtreecommitdiff
path: root/scripts
diff options
context:
space:
mode:
Diffstat (limited to 'scripts')
-rwxr-xr-xscripts/run-tests.sh4
1 files changed, 2 insertions, 2 deletions
diff --git a/scripts/run-tests.sh b/scripts/run-tests.sh
index 1c3f2805..230250dd 100755
--- a/scripts/run-tests.sh
+++ b/scripts/run-tests.sh
@@ -24,8 +24,8 @@
ROOT="`dirname $0`"
ROOT="`readlink -f $ROOT/..`"
-IGT_TEST_ROOT="${IGT_TEST_ROOT:-$ROOT/tests}"
-IGT_CONFIG_PATH="${IGT_CONFIG_PATH:-$HOME/.igtrc}"
+IGT_TEST_ROOT="`readlink -f ${IGT_TEST_ROOT:-$ROOT/tests}`"
+IGT_CONFIG_PATH="`readlink -f ${IGT_CONFIG_PATH:-$HOME/.igtrc}`"
RESULTS="$ROOT/results"
PIGLIT=`which piglit 2> /dev/null`