From: Carl Hetherington Date: Thu, 15 Oct 2020 11:53:39 +0000 (+0200) Subject: Test script tweaks for Windows. X-Git-Tag: v2.15.104~19 X-Git-Url: https://git.carlh.net/gitweb/?p=dcpomatic.git;a=commitdiff_plain;h=be4abd363000695f148c36a986160f70dbc659ef Test script tweaks for Windows. --- diff --git a/cscript b/cscript index 61dd60c06..0e8352757 100644 --- a/cscript +++ b/cscript @@ -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