aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--selftests/util/results4
1 files changed, 2 insertions, 2 deletions
diff --git a/selftests/util/results b/selftests/util/results
index be9be1c0..a90e5620 100644
--- a/selftests/util/results
+++ b/selftests/util/results
@@ -1,7 +1,7 @@
#!/bin/bash
#
# Helper functions for getting/comparing test results
-PYTHONPATH=$PYTHONPATH:"$DIR/test-appliance/files/usr/lib/python3/dist-packages":"$DIR/test-appliance/files/usr/lib/python3/dist-packages/junitparser"
+PYTHONPATH=$PYTHONPATH:$(realpath "$DIR/test-appliance/files/usr/lib/python3/dist-packages"):$(realpath "$DIR/test-appliance/files/usr/lib/python3/dist-packages/junitparser")
function check_debug_results ()
{
@@ -46,7 +46,7 @@ function check_debug_results ()
selftest/006) total=$COUNT; error=$COUNT ;;
esac
- python3 ./util/check_results.py --fail $fail --skip $skip \
+ python3 "$DIR/selftests/util/check_results.py" --fail $fail --skip $skip \
--error $error --total $total $results_dir $config $name
if [ "$?" -ne 0 ]; then
ret=1