comparison tests/runminitest.d @ 663:6aaa3d3c1183

First part of rename to LDC.
author Christian Kamm <kamm incasoftware de>
date Mon, 06 Oct 2008 22:46:55 +0200
parents 45a67b6f1310
children 28d9cbcd7580
comparison
equal deleted inserted replaced
662:88e23f8c2354 663:6aaa3d3c1183
47 auto contents = listdir(".", "*.d"); 47 auto contents = listdir(".", "*.d");
48 foreach(c; contents) { 48 foreach(c; contents) {
49 auto testname = getName(getBaseName(c)); 49 auto testname = getName(getBaseName(c));
50 writefln("TEST NAME: ", testname); 50 writefln("TEST NAME: ", testname);
51 51
52 string cmd = format("llvmdc %s -quiet -ofobj" ~ std.path.sep ~ "%s -odobj", c, testname); 52 string cmd = format("ldc %s -quiet -ofobj" ~ std.path.sep ~ "%s -odobj", c, testname);
53 foreach(v; args[1..$]) { 53 foreach(v; args[1..$]) {
54 cmd ~= ' '; 54 cmd ~= ' ';
55 cmd ~= v; 55 cmd ~= v;
56 } 56 }
57 int cl = classify(testname); 57 int cl = classify(testname);