diff options
| author | Carl Hetherington <cth@carlh.net> | 2020-10-14 15:14:26 +0200 |
|---|---|---|
| committer | Carl Hetherington <cth@carlh.net> | 2020-10-14 15:14:26 +0200 |
| commit | 3c205603ded9c1c45048a59a25880a698c4a0e49 (patch) | |
| tree | f073ecf6bccc0a5f47fd64bd359431c92219713f | |
| parent | be4f534d009e96ddeef39a88d5280bbb20b4b966 (diff) | |
cscript can now run tests on Windows.
| -rw-r--r-- | cscript | 15 |
1 files changed, 7 insertions, 8 deletions
@@ -740,11 +740,10 @@ def make_manual(target): 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') - cmd = 'run/tests ' - if target.debug: - cmd += '--backtrace ' - if test is not None: - cmd += '--run_test=%s' % test - target.command(cmd) + target.set('LC_ALL', 'C') + cmd = 'run/tests ' + if target.debug: + cmd += '--backtrace ' + if test is not None: + cmd += '--run_test=%s' % test + target.command(cmd) |
