# HG changeset patch # User Bernhard Urban # Date 1365001003 -7200 # Node ID c1c0ca020d989d97c796db3d7fe0d3d749d5dda2 # Parent 832b9a115a2df002ea9c3d68bca50648c6cd0ad7 mx/unittest: make it more portable across systems unix and windows use different characters for path seperation (':' vs. ';') diff -r 832b9a115a2d -r c1c0ca020d98 mx/commands.py --- 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)