Fix metadata test.
[dcpomatic.git] / cscript
diff --git a/cscript b/cscript
index b7f2d191be9ad00098181504b9b519117684c4d9..531f71098d179354d0375b018fedeebce977fe6b 100644 (file)
--- a/cscript
+++ b/cscript
@@ -183,3 +183,8 @@ def make_manual(target):
     target.command('make')
     target.command('pdflatex colour.tex')
     return [os.path.abspath('pdf'), os.path.abspath('html'), os.path.abspath('colour.pdf')]
+
+def test(target):
+    if target.platform != 'windows':
+        target.set('LC_ALL', 'C')
+        target.command('run/tests')