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:
-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