comparison tester.d @ 132:1700239cab2e trunk

[svn r136] MAJOR UNSTABLE UPDATE!!! Initial commit after moving to Tango instead of Phobos. Lots of bugfixes... This build is not suitable for most things.
author lindquist
date Fri, 11 Jan 2008 17:57:40 +0100
parents 6fcc08a4d406
children
comparison
equal deleted inserted replaced
131:5825d48b27d1 132:1700239cab2e
21 writefln(" the rest of the command line options are passed directly to llvmdc"); 21 writefln(" the rest of the command line options are passed directly to llvmdc");
22 } 22 }
23 23
24 string testFileName(string test, string ext="") 24 string testFileName(string test, string ext="")
25 { 25 {
26 return "test/"~test~ext; 26 return "tangotests/"~test~ext;
27 } 27 }
28 28
29 // couldnt get execvp to work 29 // couldnt get execvp to work
30 int execute(string cmd) 30 int execute(string cmd)
31 { 31 {
93 } 93 }
94 94
95 string test = args[1]; 95 string test = args[1];
96 string kind = args[2]; 96 string kind = args[2];
97 97
98 string[] compilelink = ["-Itest","-odtest"]; 98 string[] compilelink = ["-Itangotests","-odtangotests"];
99 compilelink ~= args[3..$]; 99 compilelink ~= args[3..$];
100 string[] compileonly = compilelink.dup; 100 string[] compileonly = compilelink.dup;
101 101
102 compileonly ~= "-c"; 102 compileonly ~= "-c";
103 compilelink ~= "-of"~testFileName(test); 103 compilelink ~= "-of"~testFileName(test);