diff options
author | Sergio Martins <smartins@kde.org> | 2019-05-11 23:15:50 +0100 |
---|---|---|
committer | Sergio Martins <smartins@kde.org> | 2019-05-11 23:15:50 +0100 |
commit | 0380e066d442fdc6d09eb34e46205fbe6cae646c (patch) | |
tree | f67e3dd94ecea63097de5bc0cee910c2ffc78aaa | |
parent | e4ddb677f33a64f0e9b749fbf02679655de2a273 (diff) |
tests: Allow to run run_tests.py from any directory
-rwxr-xr-x | tests/run_tests.py | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/tests/run_tests.py b/tests/run_tests.py index 9a0481ee..7b467db3 100755 --- a/tests/run_tests.py +++ b/tests/run_tests.py @@ -5,6 +5,10 @@ import shutil from threading import Thread from sys import platform as _platform + +# cd into the folder containing this script +os.chdir(os.path.dirname(sys.argv[0])) + _verbose = False def isWindows(): |