First part of rename to LDC.

This commit is contained in:
Christian Kamm
2008-10-06 22:46:55 +02:00
parent 1fe1354a8a
commit 6eeeafdba6
47 changed files with 350 additions and 350 deletions

View File

@@ -1,6 +1,6 @@
After making sure llvmdc and its runtime are up to date, use
After making sure LDC and its runtime are up to date, use
./runtest tmp-sensible-name
to run tests for llvmdc.
to run tests for LDC.
Move into reference/ subfolder and add to svn if desired.
Use
@@ -8,4 +8,4 @@ Use
to find changes.
Recommended for comparing to DMD:
./findregressions reference/dmd-version llvmdc-something | grep -v "PASS -> XFAIL" | sort > tmp-new-regressions
./findregressions reference/dmd-version ldc-something | grep -v "PASS -> XFAIL" | sort > tmp-new-regressions

View File

@@ -337,7 +337,7 @@ int main(char[][] args){
if(args.length < 3 || (args[1] == "--regenerate" && args.length < 4)){
fwritefln(stderr, "%s [--regenerate] <reference-log> <log> <log> ...", args[0]);
fwritefln(stderr, "bash example: %s reference/dmd-something $(ls reference/llvmdc*)", args[0]);
fwritefln(stderr, "bash example: %s reference/dmd-something $(ls reference/ldc*)", args[0]);
return 1;
}
@@ -377,119 +377,119 @@ int main(char[][] args){
BufferedFile index = new BufferedFile(std.path.join(basedir, "index.html"), FileMode.OutNew);
scope(exit) index.close();
index.writefln(`
<!DOCTYPE html>
<html>
<head>
<title>DStress results for x86-32 Linux</title>
<style type="text/css">
body {
font-family: Arial, Helvetica, sans-serif;
font-size: 0.8em;
}
a {
text-decoration: none;
}
a:hover {
border-bottom: 1px dotted blue;
}
table {
border-collapse: collapse;
}
tr {
border-bottom: 1px solid #CCC;
}
tr.odd {
background: #e0e0e0;
}
tr.head {
border-bottom: none;
}
td,th {
padding: 2px 10px 2px 10px;
}
.result:hover {
background: #C3DFFF;
}
.pass,.xfail,.xpass,.fail,.xpass,.error,.generic {
text-align: center;
}
.generic {
background: #EEE;
color: gray;
}
.pass {
background: #98FF90;
color: green;
}
tr:hover .pass {
background: #83E67B;
}
.xfail {
background: #BDFFB8;
color: #0CAE00;
}
tr:hover .xfail {
background: #98FF90;
}
.fail {
background: #FF6E7A;
color: maroon;
}
.xpass {
background: #FF949D;
color: maroon;
}
.error {
background: #FFB3B9;
color: maroon;
}
.borderleft {
border-left: 1px solid #CCC;
}
</style>
</head>
<body>
<h1>DStress results for x86-32 Linux</h1>
<h2>Legend</h2>
<table id="legend">
<tr>
<th>Color</th>
<th>Description</th>
</tr>
<tr class="result">
<td class="pass">PASS</td>
<td>Test passed and was expected to pass</td>
</tr>
<tr class="result">
<td class="xfail">XFAIL</td>
<td>Test failed and expected to fail</td>
</tr>
<tr class="result">
<td class="fail">FAIL</td>
<td>Test failed but was expected to pass</td>
</tr>
<tr class="result">
<td class="xpass">XPASS</td>
<td>Test passed but was expected to fail</td>
</tr>
<tr class="result">
<td class="error">ERROR</td>
<td>The compiler, linker or the test segfaulted</td>
</tr>
<tr class="result">
<td class="generic">+</td>
<td>Changes from FAIL, XPASS or ERROR to PASS or XFAIL</td>
</tr>
<tr class="result">
<td class="generic">-</td>
<td>Changes from PASS or XFAIL to FAIL, XPASS or ERROR</td>
</tr>
<tr class="result">
<td class="generic">chg</td>
<td>Changed within the good or bad group without crossing over</td>
</tr>
<!DOCTYPE html>
<html>
<head>
<title>DStress results for x86-32 Linux</title>
<style type="text/css">
body {
font-family: Arial, Helvetica, sans-serif;
font-size: 0.8em;
}
a {
text-decoration: none;
}
a:hover {
border-bottom: 1px dotted blue;
}
table {
border-collapse: collapse;
}
tr {
border-bottom: 1px solid #CCC;
}
tr.odd {
background: #e0e0e0;
}
tr.head {
border-bottom: none;
}
td,th {
padding: 2px 10px 2px 10px;
}
.result:hover {
background: #C3DFFF;
}
.pass,.xfail,.xpass,.fail,.xpass,.error,.generic {
text-align: center;
}
.generic {
background: #EEE;
color: gray;
}
.pass {
background: #98FF90;
color: green;
}
tr:hover .pass {
background: #83E67B;
}
.xfail {
background: #BDFFB8;
color: #0CAE00;
}
tr:hover .xfail {
background: #98FF90;
}
.fail {
background: #FF6E7A;
color: maroon;
}
.xpass {
background: #FF949D;
color: maroon;
}
.error {
background: #FFB3B9;
color: maroon;
}
.borderleft {
border-left: 1px solid #CCC;
}
</style>
</head>
<body>
<h1>DStress results for x86-32 Linux</h1>
<h2>Legend</h2>
<table id="legend">
<tr>
<th>Color</th>
<th>Description</th>
</tr>
<tr class="result">
<td class="pass">PASS</td>
<td>Test passed and was expected to pass</td>
</tr>
<tr class="result">
<td class="xfail">XFAIL</td>
<td>Test failed and expected to fail</td>
</tr>
<tr class="result">
<td class="fail">FAIL</td>
<td>Test failed but was expected to pass</td>
</tr>
<tr class="result">
<td class="xpass">XPASS</td>
<td>Test passed but was expected to fail</td>
</tr>
<tr class="result">
<td class="error">ERROR</td>
<td>The compiler, linker or the test segfaulted</td>
</tr>
<tr class="result">
<td class="generic">+</td>
<td>Changes from FAIL, XPASS or ERROR to PASS or XFAIL</td>
</tr>
<tr class="result">
<td class="generic">-</td>
<td>Changes from PASS or XFAIL to FAIL, XPASS or ERROR</td>
</tr>
<tr class="result">
<td class="generic">chg</td>
<td>Changed within the good or bad group without crossing over</td>
</tr>
</table>
<h2>Results</h2>

View File

@@ -24,7 +24,7 @@ extern(C)
int rand();
}
import llvmdc.intrinsics;
import ldc.intrinsics;
void main()
{

View File

@@ -1,4 +1,4 @@
import llvmdc.intrinsics;
import ldc.intrinsics;
extern(C) int printf(char*,...);
extern(C) int scanf(char*,...);

View File

@@ -49,7 +49,7 @@ int main(string[] args)
auto testname = getName(getBaseName(c));
writefln("TEST NAME: ", testname);
string cmd = format("llvmdc %s -quiet -ofobj" ~ std.path.sep ~ "%s -odobj", c, testname);
string cmd = format("ldc %s -quiet -ofobj" ~ std.path.sep ~ "%s -odobj", c, testname);
foreach(v; args[1..$]) {
cmd ~= ' ';
cmd ~= v;

View File

@@ -37,8 +37,8 @@ echo "Remember to make sure you have an up to date runtime!"
echo
if [ -z "$DMD" ] ; then
echo "Testing with llvmdc. Set DMD environment variable to select compiler."
DMD="llvmdc -I$BASEPATH/testincludes -L$BASEPATH/testincludes/libtangobos-partial.a"
echo "Testing with LDC. Set DMD environment variable to select compiler."
DMD="ldc -I$BASEPATH/testincludes -L$BASEPATH/testincludes/libtangobos-partial.a"
echo "Default is $DMD"
else
echo "Using compiler given by DMD environment variable: $DMD"

View File

@@ -34,7 +34,7 @@ DOCFLAGS=-version=DDoc
CC=gcc
LC=llvm-ar rsv
CLC=ar rsv
DC=llvmdc
DC=ldc
LLC=llvm-as
LLVMLINK=llvm-link
LLC=llc