Commits

Michael[tm] Smith committed 34c09b4

Use default map for test runner in build.

Comments (0)

Files changed (1)

     os.execv(sys.executable, newArgv)  
 
 def runTests():
-  schemaMap = os.path.join("tests", "vnu-map.json")
+  args = "--default-map"
+  className = "nu.validator.client.TestRunner"
   classPath = os.pathsep.join(dependencyJarPaths() 
                               + jarNamesToPaths(["non-schema", 
                                                 "io-xml-util",
                                                 "html5-datatypes",
                                                 "validator"])
                               + jingJarPath())
-  runCmd('"%s" -classpath %s nu.validator.client.TestRunner %s' % (javaCmd, classPath, schemaMap))
+  runCmd('"%s" -classpath %s %s %s' % (javaCmd, classPath, className, args))
 
 def splitHostSpec(spec):
   index = spec.find('/')