changeset 383:c028fd91b3b0

.hgignore updates. runminitest stores object files separately.
author Christian Kamm <kamm incasoftware de>
date Wed, 23 Jul 2008 18:53:44 +0200
parents 26e0a50c1902
children 3f98d46e05a4 c4e7003136ab
files .hgignore tests/runminitest.d
diffstat 2 files changed, 8 insertions(+), 3 deletions(-) [+]
line wrap: on
line diff
--- a/.hgignore	Wed Jul 23 18:04:06 2008 +0200
+++ b/.hgignore	Wed Jul 23 18:53:44 2008 +0200
@@ -14,4 +14,7 @@
 impcnvgen
 impcnvgen.make
 llvmdc.make
-
+dmd/impcnvtab.c
+tests/runminitest
+tests/findregressions
+tests/mini/obj/*
--- a/tests/runminitest.d	Wed Jul 23 18:04:06 2008 +0200
+++ b/tests/runminitest.d	Wed Jul 23 18:53:44 2008 +0200
@@ -11,10 +11,12 @@
     string[] badrun;
 
     chdir("mini");
+    if(!exists("obj"))
+        mkdir("obj");
 
     auto contents = listdir(".", "*.d");
     foreach(c; contents) {
-        string cmd = format("llvmdc %s -quiet -of%s", c, getName(c));
+        string cmd = format("llvmdc %s -quiet -ofobj/%s", c, getName(c));
         foreach(v; args[1..$]) {
             cmd ~= ' ';
             cmd ~= v;
@@ -23,7 +25,7 @@
         if (system(cmd) != 0) {
             bad ~= c;
         }
-        else if (system(getName(c)) != 0) {
+        else if (system("obj/" ~ getName(c)) != 0) {
             badrun ~= c;
         }
     }