summaryrefslogtreecommitdiffstats
path: root/test/Java/java_version_image/src5/TestSCons.java
diff options
context:
space:
mode:
authorMats Wichmann <mats@linux.com>2021-11-11 22:12:01 (GMT)
committerMats Wichmann <mats@linux.com>2023-05-08 14:06:21 (GMT)
commitaed512b9626a44e19b0368f241ca504cffa01a22 (patch)
tree37d356c89e334185d00617d0d9cb083db21844b5 /test/Java/java_version_image/src5/TestSCons.java
parentfcb92c4ff1503ac0cf920d26f771b8f47386f4dc (diff)
downloadSCons-aed512b9626a44e19b0368f241ca504cffa01a22.zip
SCons-aed512b9626a44e19b0368f241ca504cffa01a22.tar.gz
SCons-aed512b9626a44e19b0368f241ca504cffa01a22.tar.bz2
Use pathlib in runtest
In the past, there have been some mismatches between how tests are specified and how they are found. testlist files, excludelist files and command-line specifications should be agnostic to operating system conventions. For example, typing "runtest.py foo/bar" on windows will produce paths like foo/bar\test.py, which is hard to match and painful to read, it should obviously match discovered foo\bar\test.py. Test information should be output using the native path separator for consistency. Using pathlib lets these be normalized - stored in a common format and output in the expected format. Adding this normalization of course broke some tests, which either intentionally or through omission expected some portion of a path to be UNIX-style. Specifically these five: test\runtest\baseline\fail.py test\runtest\baseline\no_result.py test\runtest\simple\fail.py test\runtest\simple\no_result.py test\runtest\simple\pass.py test\runtest\testargv.py This was fixed and a general cleanup/reformat performed on the runtest tests. Signed-off-by: Mats Wichmann <mats@linux.com>
Diffstat (limited to 'test/Java/java_version_image/src5/TestSCons.java')
0 files changed, 0 insertions, 0 deletions