# HG changeset patch # User Christian Kamm # Date 1216832024 -7200 # Node ID c028fd91b3b0f09d8dbb408e9f318a7e2966a3de # Parent 26e0a50c1902adb24a24b01764f72483d5f1f372 .hgignore updates. runminitest stores object files separately. diff -r 26e0a50c1902 -r c028fd91b3b0 .hgignore --- 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/* diff -r 26e0a50c1902 -r c028fd91b3b0 tests/runminitest.d --- 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; } }