diff options
author | Timothee Cour <timothee.cour2@gmail.com> | 2019-01-18 00:03:26 -0800 |
---|---|---|
committer | Andreas Rumpf <rumpf_a@web.de> | 2019-01-18 09:03:26 +0100 |
commit | 27e2ed4375c21b196f5fd403c2199c63dcdb8bf0 (patch) | |
tree | ef2f9a2601f880774db6996e73424a6ca6490cb1 /tests/misc | |
parent | 4b4e4fc029d3f151c1e8bcdafc1d9b381a7142a6 (diff) | |
download | Nim-27e2ed4375c21b196f5fd403c2199c63dcdb8bf0.tar.gz |
fix #9629 every binary cmd line option allows on/off/empty=on (#10353)
* fix #9629 every binary cmd line option allows on/off/empty=on * workaround refs #10359
Diffstat (limited to 'tests/misc')
-rw-r--r-- | tests/misc/tparseopt.nim | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/tests/misc/tparseopt.nim b/tests/misc/tparseopt.nim index d8824e522..7d5071c3e 100644 --- a/tests/misc/tparseopt.nim +++ b/tests/misc/tparseopt.nim @@ -121,7 +121,10 @@ else: block: # fix #9842 let exe = buildDir / "D20190112T145450".addFileExt(ExeExt) - defer: removeFile exe + defer: + when not defined(windows): + # workaround #10359 ; innocuous to skip since we're saving under `buildDir` + removeFile exe let args = @["a1b", "a2 b", "", "a4\"b", "a5'b", r"a6\b", "a7\'b"] let cmd = "$# c -r --verbosity:0 -o:$# -d:testament_tparseopt $# $#" % [getCurrentCompilerExe(), exe, currentSourcePath(), |