projects
/
dcpomatic.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
3a0fba1
)
Fix running single tests on Windows.
author
Carl Hetherington
<cth@carlh.net>
Fri, 27 Nov 2020 22:27:14 +0000
(23:27 +0100)
committer
Carl Hetherington
<cth@carlh.net>
Fri, 27 Nov 2020 22:27:14 +0000
(23:27 +0100)
cscript
patch
|
blob
|
history
run/tests.bat
patch
|
blob
|
history
diff --git
a/cscript
b/cscript
index 1d206dbfd94f96af21596c21a86261ea77fc57a0..9e7ba447dc863c9c5ed9f80719ea47e6de4b1a85 100644
(file)
--- a/
cscript
+++ b/
cscript
@@
-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 9db371a435773180b2cf6567c64b7ba986e8fee9..bdbd749cd8564eedf207f956de7249aa8b02f94e 100644
(file)
--- 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