Browse Source

wip run-tests

pull/2/head
Skycoder42 6 years ago
parent
commit
843f2ba1f8
No known key found for this signature in database GPG Key ID: 8E01AD9EF0578D2B
  1. 17
      tests/auto/testrun.pri

17
tests/auto/testrun.pri

@ -48,8 +48,15 @@ linux {
runtarget_env_qpa
}
runtarget.target = run-tests
runtarget.depends += $(TARGET)
win32: runtarget.commands = .\$(TARGET)
else: runtarget.commands = ./$(TARGET)
QMAKE_EXTRA_TARGETS += runtarget
win32:!ReleaseBuild:!DebugBuild {
runtarget.target = run-tests
runtarget.CONFIG = recursive
runtarget.recurse_target = run-tests
QMAKE_EXTRA_TARGETS += runtarget
} else {
runtarget.target = run-tests
runtarget.depends += $(TARGET)
win32: runtarget.commands = .\$(TARGET)
else: runtarget.commands = ./$(TARGET)
QMAKE_EXTRA_TARGETS += runtarget
}

Loading…
Cancel
Save