diff options
| author | Carl Hetherington <cth@carlh.net> | 2020-11-27 23:27:14 +0100 |
|---|---|---|
| committer | Carl Hetherington <cth@carlh.net> | 2020-11-27 23:27:14 +0100 |
| commit | 9121eb64810e39ba356d4a1b723a720adc82c096 (patch) | |
| tree | 75d8a72000d9617926b2fc325414b2fcfb3db168 | |
| parent | 3a0fba174d25c7be461b4714b5ab8bd1fcf81ed8 (diff) | |
Fix running single tests on Windows.
| -rw-r--r-- | cscript | 4 | ||||
| -rw-r--r-- | run/tests.bat | 2 |
2 files changed, 3 insertions, 3 deletions
@@ -737,11 +737,11 @@ def make_manual(target): def test(target, options, test): target.set('LC_ALL', 'C') if target.platform == 'windows': - cmd = 'run\\tests' + cmd = 'run\\tests ' else: cmd = 'run/tests ' if target.debug: cmd += '--backtrace ' if test is not None: - cmd += '--run_test=%s' % test + cmd += '-t %s' % test target.command(cmd) diff --git a/run/tests.bat b/run/tests.bat index 9db371a43..bdbd749cd 100644 --- a/run/tests.bat +++ b/run/tests.bat @@ -3,4 +3,4 @@ set DCPOMATIC_TEST_PRIVATE=c:\users\ci\dcpomatic-test-private xcopy ..\libdcp\tags build\tags\ copy ..\openssl\apps\openssl.exe build\test\ xcopy fonts build\fonts\ -build\test\unit-tests.exe +build\test\unit-tests.exe %1 %2 |
