Mercurial > hg > truffle
diff mx/commands.py @ 8619:c1c0ca020d98
mx/unittest: make it more portable across systems
unix and windows use different characters for path seperation (':' vs. ';')
author | Bernhard Urban <bernhard.urban@jku.at> |
---|---|
date | Wed, 03 Apr 2013 16:56:43 +0200 |
parents | c7672a325faf |
children | ac49da6eeed6 |
line wrap: on
line diff
--- a/mx/commands.py Wed Apr 03 15:01:48 2013 +0200 +++ b/mx/commands.py Wed Apr 03 16:56:43 2013 +0200 @@ -762,7 +762,7 @@ prefixArgs = ['-esa', '-ea'] else: prefixArgs = ['-XX:-BootstrapGraal', '-esa', '-ea'] - vm(prefixArgs + vmArgs + ['-cp', projectscp + ':' + mxdir, name] + [testfile]) + vm(prefixArgs + vmArgs + ['-cp', projectscp + os.pathsep + mxdir, name] + [testfile]) try: _run_tests(args, harness, annotations, testfile)