changeset 342:d8b165faae9b trunk

[svn r363] Fixed a problem with the mini-test-driver.
author lindquist
date Sun, 13 Jul 2008 02:55:41 +0200
parents 1bb99290e03a
children 15eb8f5f2441
files tests/runminitest.d
diffstat 1 files changed, 2 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/tests/runminitest.d	Sun Jul 13 02:51:19 2008 +0200
+++ b/tests/runminitest.d	Sun Jul 13 02:55:41 2008 +0200
@@ -4,6 +4,7 @@
 import std.path;
 import std.process;
 import std.stdio;
+import std.string;
 
 int main(string[] args) {
     string[] bad;
@@ -13,7 +14,7 @@
 
     auto contents = listdir(".", "*.d");
     foreach(c; contents) {
-        string cmd = "llvmdc -quiet "~c;
+        string cmd = format("llvmdc %s -quiet -of%s", c, getName(c));
         foreach(v; args[1..$]) {
             cmd ~= ' ';
             cmd ~= v;