# HG changeset patch # User Christian Kamm # Date 1217764995 -7200 # Node ID ea991021a56aa26804ba84078b32c0f011c25ae0 # Parent f7ba5f705d59747cb75cb1372b8132e15b79828d Use path separator to make minitests work on windows. diff -r f7ba5f705d59 -r ea991021a56a tests/runminitest.d --- a/tests/runminitest.d Sun Aug 03 12:27:11 2008 +0200 +++ b/tests/runminitest.d Sun Aug 03 14:03:15 2008 +0200 @@ -49,7 +49,7 @@ auto testname = getName(getBaseName(c)); writefln("TEST NAME: ", testname); - string cmd = format("llvmdc %s -quiet -ofobj/%s -odobj", c, testname); + string cmd = format("llvmdc %s -quiet -ofobj" ~ std.path.sep ~ "%s -odobj", c, testname); foreach(v; args[1..$]) { cmd ~= ' '; cmd ~= v; @@ -61,7 +61,7 @@ compilefailed ~= c; } else if (cl == RUN || cl == NORUN) { - if (system("obj/" ~ testname) != 0) { + if (system("obj" ~ std.path.sep ~ testname) != 0) { if (cl == RUN) runfailed ~= c; }