comparison mx.graal/mx_graal.py @ 22196:4485282cce66

fixed 'mx help unittest
author Doug Simon <doug.simon@oracle.com>
date Thu, 09 Jul 2015 17:49:58 +0200
parents b8c1c277a6ef
children 5522e8ffa5f5
comparison
equal deleted inserted replaced
22195:a0d0ecbceeb4 22196:4485282cce66
1130 for index in range(len(vmArgs)): 1130 for index in range(len(vmArgs)):
1131 if vmArgs[index] in ['-cp', '-classpath']: 1131 if vmArgs[index] in ['-cp', '-classpath']:
1132 return index + 1, vmArgs[index + 1] 1132 return index + 1, vmArgs[index + 1]
1133 1133
1134 def unittest(args): 1134 def unittest(args):
1135 """run the JUnit tests (all testcases){0}"""
1135 def vmLauncher(vmArgs, mainClass, mainClassArgs): 1136 def vmLauncher(vmArgs, mainClass, mainClassArgs):
1136 if isJVMCIEnabled(_get_vm()): 1137 if isJVMCIEnabled(_get_vm()):
1137 # Remove entries from class path that are in JVMCI loaded jars 1138 # Remove entries from class path that are in JVMCI loaded jars
1138 cpIndex, cp = _find_classpath_arg(vmArgs) 1139 cpIndex, cp = _find_classpath_arg(vmArgs)
1139 if cp: 1140 if cp: