diff options
| author | Carl Hetherington <cth@carlh.net> | 2020-10-15 13:53:39 +0200 |
|---|---|---|
| committer | Carl Hetherington <cth@carlh.net> | 2020-10-16 00:10:28 +0200 |
| commit | be4abd363000695f148c36a986160f70dbc659ef (patch) | |
| tree | 85ee808dd55632b70013263c1ac32e67cfd1c85f | |
| parent | 86f855ef96a84ee7e8ad9d71b543e8c06fc91a9e (diff) | |
Test script tweaks for Windows.
| -rw-r--r-- | cscript | 5 | ||||
| -rw-r--r-- | run/tests.bat | 5 |
2 files changed, 8 insertions, 2 deletions
@@ -741,7 +741,10 @@ def make_manual(target): def test(target, options, test): target.set('LC_ALL', 'C') - cmd = 'run/tests ' + if target.platform == 'windows': + cmd = 'run\\tests' + else: + cmd = 'run/tests ' if target.debug: cmd += '--backtrace ' if test is not None: diff --git a/run/tests.bat b/run/tests.bat index 4834d5790..9db371a43 100644 --- a/run/tests.bat +++ b/run/tests.bat @@ -1,3 +1,6 @@ -set PATH=%PATH%;c:\users\ci\bin;c:\users\ci\build\bin +set PATH=%PATH%;c:\users\ci\bin;c:\users\ci\workspace\dcpomatic\bin 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 |
