summary refs log tree commit diff stats
path: root/tests
diff options
context:
space:
mode:
authorAman Gupta <aman@tmm1.net>2015-10-07 21:42:12 -0700
committerAman Gupta <aman@tmm1.net>2015-10-07 21:42:12 -0700
commitcadef4378663640d9985f2ecdb135cc0549b7a11 (patch)
treef9de93b1746ea242ade905728d2ca9243f9240c6 /tests
parentf49cffeb19562867ea5df5d285bd06d1cdc46bf4 (diff)
downloadNim-cadef4378663640d9985f2ecdb135cc0549b7a11.tar.gz
standardize on forward slashes for paths
Diffstat (limited to 'tests')
-rw-r--r--tests/testament/tester.nim2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/testament/tester.nim b/tests/testament/tester.nim
index 840937ddc..b5f5443f9 100644
--- a/tests/testament/tester.nim
+++ b/tests/testament/tester.nim
@@ -174,7 +174,7 @@ proc addResult(r: var TResults, test: TTest,
         ("Skipped", "")
       else:
         ("Failed", "Expected:\n" & expected & "\n\n" & "Gotten:\n" & given)
-    var p = startProcess("appveyor", args=["AddTest", test.name & test.options, "-Framework", "nim-testament", "-FileName", test.cat.string, "-Outcome", outcome, "-ErrorMessage", msg, "-Duration", $(duration*1000).int], options={poStdErrToStdOut, poUsePath, poParentStreams})
+    var p = startProcess("appveyor", args=["AddTest", test.name.replace("\\", "/") & test.options, "-Framework", "nim-testament", "-FileName", test.cat.string, "-Outcome", outcome, "-ErrorMessage", msg, "-Duration", $(duration*1000).int], options={poStdErrToStdOut, poUsePath, poParentStreams})
     discard waitForExit(p)
     close(p)