Mercurial > hg > truffle
changeset 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 | 832b9a115a2d |
children | 00a548fdf821 75db7afee829 |
files | mx/commands.py |
diffstat | 1 files changed, 1 insertions(+), 1 deletions(-) [+] |
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)