comparison mx/mx_graal.py @ 17320:3c39e028b931

mx: convert path for unittest file on cygwin
author Bernhard Urban <bernhard.urban@jku.at>
date Thu, 02 Oct 2014 08:43:58 -0700
parents c75bb9cd1994
children 95b879bdce67
comparison
equal deleted inserted replaced
17319:57b6965524a2 17320:3c39e028b931
1178 if len(testclasses) == 1: 1178 if len(testclasses) == 1:
1179 # Execute Junit directly when one test is being run. This simplifies 1179 # Execute Junit directly when one test is being run. This simplifies
1180 # replaying the VM execution in a native debugger (e.g., gdb). 1180 # replaying the VM execution in a native debugger (e.g., gdb).
1181 vm(prefixArgs + vmArgs + ['-cp', cp, 'com.oracle.graal.test.GraalJUnitCore'] + coreArgs + testclasses) 1181 vm(prefixArgs + vmArgs + ['-cp', cp, 'com.oracle.graal.test.GraalJUnitCore'] + coreArgs + testclasses)
1182 else: 1182 else:
1183 vm(prefixArgs + vmArgs + ['-cp', cp, 'com.oracle.graal.test.GraalJUnitCore'] + coreArgs + ['@' + testfile]) 1183 vm(prefixArgs + vmArgs + ['-cp', cp, 'com.oracle.graal.test.GraalJUnitCore'] + coreArgs + ['@' + mx._cygpathU2W(testfile)])
1184 1184
1185 try: 1185 try:
1186 _run_tests(args, harness, annotations, testfile, blacklist, whitelist, regex) 1186 _run_tests(args, harness, annotations, testfile, blacklist, whitelist, regex)
1187 finally: 1187 finally:
1188 if os.environ.get('MX_TESTFILE') is None: 1188 if os.environ.get('MX_TESTFILE') is None: