.hgignore updates. runminitest stores object files separately.

This commit is contained in:
Christian Kamm
2008-07-23 18:53:44 +02:00
parent a51342ca94
commit c26f33f0bf
2 changed files with 8 additions and 3 deletions

View File

@@ -14,4 +14,7 @@ idgen.make
impcnvgen
impcnvgen.make
llvmdc.make
dmd/impcnvtab.c
tests/runminitest
tests/findregressions
tests/mini/obj/*

View File

@@ -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;
}
}