projects
/
dcpomatic.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Test script tweaks for Windows.
[dcpomatic.git]
/
cscript
diff --git
a/cscript
b/cscript
index dc8e34e4169f2b7553bdddadb56129145a698fdd..0e83527578c58541cc719b4911de0ff5fc279cc3 100644
(file)
--- a/
cscript
+++ b/
cscript
@@
-740,11
+740,13
@@
def make_manual(target):
return [os.path.abspath('pdf'), os.path.abspath('html'), os.path.abspath('colour.pdf')]
def test(target, options, test):
return [os.path.abspath('pdf'), os.path.abspath('html'), os.path.abspath('colour.pdf')]
def test(target, options, test):
- if target.platform != 'windows':
- target.set('LC_ALL', 'C')
+ target.set('LC_ALL', 'C')
+ if target.platform == 'windows':
+ cmd = 'run\\tests'
+ else:
cmd = 'run/tests '
cmd = 'run/tests '
-
if target.debug:
-
cmd += '--backtrace '
-
if test is not None:
-
cmd += '--run_test=%s' % test
-
target.command(cmd)
+ if target.debug:
+ cmd += '--backtrace '
+ if test is not None:
+ cmd += '--run_test=%s' % test
+ target.command(cmd)