Somewhat speculative reordering of Certificate::name_for_xml.
[libdcp.git] / cscript
diff --git a/cscript b/cscript
index e39268372d0c65dcd6ffdb65481c09e3860efec1..1a8113a1fd1f055b3f40df523aa889089591932e 100644 (file)
--- a/cscript
+++ b/cscript
@@ -1,7 +1,7 @@
 import os
 
 def dependencies(target):
-    return (('libcxml', None), ('openjpeg-cdist', '5d8bffd'))
+    return (('libcxml', 'f35787e'), ('openjpeg-cdist', '5d8bffd'))
 
 def build(target, options):
     cmd = './waf configure --disable-examples --prefix=%s' % target.directory
@@ -24,3 +24,8 @@ def make_doxygen(target):
     os.makedirs('build/doc')
     target.command('doxygen')
     return os.path.abspath('build/doc/html')
+
+def test(target):
+    if target.platform != 'windows':
+        target.set('LC_ALL', 'C')
+        target.command('run/tests')