diff --git a/.hgignore b/.hgignore index 5cc7eb98..5134765e 100644 --- a/.hgignore +++ b/.hgignore @@ -14,4 +14,7 @@ idgen.make impcnvgen impcnvgen.make llvmdc.make - +dmd/impcnvtab.c +tests/runminitest +tests/findregressions +tests/mini/obj/* diff --git a/tests/runminitest.d b/tests/runminitest.d index 0f2f045a..47ee1bd6 100644 --- a/tests/runminitest.d +++ b/tests/runminitest.d @@ -11,10 +11,12 @@ int main(string[] args) { 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 @@ int main(string[] args) { if (system(cmd) != 0) { bad ~= c; } - else if (system(getName(c)) != 0) { + else if (system("obj/" ~ getName(c)) != 0) { badrun ~= c; } }