summaryrefslogtreecommitdiffstats
path: root/util/testrunner/qt-testrunner.py
diff options
context:
space:
mode:
Diffstat (limited to 'util/testrunner/qt-testrunner.py')
-rwxr-xr-xutil/testrunner/qt-testrunner.py7
1 files changed, 7 insertions, 0 deletions
diff --git a/util/testrunner/qt-testrunner.py b/util/testrunner/qt-testrunner.py
index 20ef2ccbb75..8a9b4699778 100755
--- a/util/testrunner/qt-testrunner.py
+++ b/util/testrunner/qt-testrunner.py
@@ -157,9 +157,16 @@ Default flags: --max-repeats 5 --passes-needed 1
args.log_dir = "."
args.test_basename = os.path.basename(args.testargs[0])
+
if args.test_basename.endswith(".exe"):
args.test_basename = args.test_basename[:-4]
+ # QNX test wrapper just needs to be skipped to figure out test_basename
+ if args.test_basename == "coin_qnx_qemu_runner.sh":
+ args.test_basename = os.path.basename(args.testargs[1])
+ L.info("Detected coin_qnx_qemu_runner, test will be handled specially. Detected test basename: %s",
+ args.test_basename)
+
# On Android emulated platforms, "androidtestrunner" is invoked by CMake
# to wrap the tests. We have to append the test arguments to it after
# "--". Besides that we have to detect the basename to avoid saving the