Commits

Michael[tm] Smith committed 4fceec0

Make test runner emit datatype warnings.

Comments (0)

Files changed (1)

 
 
 def runTests():
+  props = "-Dorg.whattf.datatype.warn=true"
   classPath = os.pathsep.join(dependencyJarPaths() 
                               + jarNamesToPaths(["non-schema", 
                                                 "io-xml-util",
                                                 "validator",
                                                 "test-harness"])
                               + jingJarPath())
-  runCmd('"%s" -classpath %s org.whattf.syntax.Driver' % (javaCmd, classPath))
+  runCmd('"%s" -classpath %s %s org.whattf.syntax.Driver' % (javaCmd, classPath, props))
 
 def splitHostSpec(spec):
   index = spec.find('/')