diff tests/runminitest.d @ 466:6989f040ea06

stupid merges
author Tomas Lindquist Olsen <tomas.l.olsen@gmail.com>
date Sun, 03 Aug 2008 16:16:16 +0200
parents ea991021a56a
children 45a67b6f1310
line wrap: on
line diff
--- a/tests/runminitest.d	Sun Aug 03 16:11:38 2008 +0200
+++ b/tests/runminitest.d	Sun Aug 03 16:16:16 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;
             }