mirror of
https://github.com/xomboverlord/ldc.git
synced 2026-01-20 23:03:14 +01:00
.hgignore updates. runminitest stores object files separately.
This commit is contained in:
@@ -14,4 +14,7 @@ idgen.make
|
||||
impcnvgen
|
||||
impcnvgen.make
|
||||
llvmdc.make
|
||||
|
||||
dmd/impcnvtab.c
|
||||
tests/runminitest
|
||||
tests/findregressions
|
||||
tests/mini/obj/*
|
||||
|
||||
@@ -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;
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user