[rtems commit] testsuite: Parse TCFG path based on OS path separator.

Chris Johns chrisj at rtems.org
Wed Nov 28 09:33:17 UTC 2018


Module:    rtems
Branch:    master
Commit:    aa5c46210b16ce90f077f33e7d9d65fc489fe069
Changeset: http://git.rtems.org/rtems/commit/?id=aa5c46210b16ce90f077f33e7d9d65fc489fe069

Author:    Chris Johns <chrisj at rtems.org>
Date:      Wed Nov 28 20:32:46 2018 +1100

testsuite: Parse TCFG path based on OS path separator.

---

 testsuites/rtems-test-check.py | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/testsuites/rtems-test-check.py b/testsuites/rtems-test-check.py
index 0a4970a..8eef1a0 100755
--- a/testsuites/rtems-test-check.py
+++ b/testsuites/rtems-test-check.py
@@ -35,6 +35,7 @@
 
 from __future__ import print_function
 
+import os
 import os.path
 import sys
 
@@ -69,7 +70,7 @@ if sys_args[1] == '-v':
 
 mode = sys_args[args + 1]
 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])]
 tests = sys_args[args + 5:]
 




More information about the vc mailing list