Mercurial > projects > ldc
comparison tests/runminitest.d @ 1429:9081d916df1d
Fix - add Path.native for mingw support...thanks mp4/jaffa
author | Kelly Wilson <wilsonk cpsc.ucalgary.ca> |
---|---|
date | Fri, 29 May 2009 01:08:39 -0600 |
parents | 498c484f3a03 |
children |
comparison
equal
deleted
inserted
replaced
1422:91ddebba88e9 | 1429:9081d916df1d |
---|---|
67 if (system(toStringz(cmd)) != 0) { | 67 if (system(toStringz(cmd)) != 0) { |
68 if (cl != NOCOMPILE) | 68 if (cl != NOCOMPILE) |
69 compilefailed ~= c.toString; | 69 compilefailed ~= c.toString; |
70 } | 70 } |
71 else if (cl == RUN || cl == NORUN) { | 71 else if (cl == RUN || cl == NORUN) { |
72 if (system(toStringz("obj/" ~ testname)) != 0) { | 72 if (system(toStringz(Path.native("obj/" ~ testname))) != 0) { |
73 if (cl == RUN) | 73 if (cl == RUN) |
74 runfailed ~= c.toString; | 74 runfailed ~= c.toString; |
75 } | 75 } |
76 else { | 76 else { |
77 if (cl == NORUN) | 77 if (cl == NORUN) |