testsuite: Parse TCFG path based on OS path separator.

This commit is contained in:
Chris Johns
2018-11-28 20:32:46 +11:00
parent 27a8fc56ee
commit aa5c46210b

View File

@@ -35,6 +35,7 @@
from __future__ import print_function from __future__ import print_function
import os
import os.path import os.path
import sys import sys
@@ -69,7 +70,7 @@ if sys_args[1] == '-v':
mode = sys_args[args + 1] mode = sys_args[args + 1]
bsp = sys_args[args + 2] bsp = sys_args[args + 2]
includepaths = sys_args[args + 4].split(':') includepaths = sys_args[args + 4].split(os.pathsep)
testconfig = [find_testdata(includepaths, sys_args[args + 3])] testconfig = [find_testdata(includepaths, sys_args[args + 3])]
tests = sys_args[args + 5:] tests = sys_args[args + 5:]