Mercurial > projects > ldc
comparison tests/runtest @ 274:9f228c1e5311 trunk
[svn r295] Added phobos aliases to string, wstring, dstring and Error to the object.di used for testing.
Test results for current revision added.
author | ChristianK |
---|---|
date | Thu, 19 Jun 2008 13:54:31 +0200 |
parents | fa9fef362a98 |
children | 1aaf6ff7f685 |
comparison
equal
deleted
inserted
replaced
273:25fa34e899e9 | 274:9f228c1e5311 |
---|---|
11 if ! [ -d dstress ] ; then | 11 if ! [ -d dstress ] ; then |
12 echo "Testing requires DStress to be checked out into dstress/" | 12 echo "Testing requires DStress to be checked out into dstress/" |
13 exit | 13 exit |
14 fi | 14 fi |
15 | 15 |
16 BASEPATH=`pwd` | |
16 cd dstress | 17 cd dstress |
17 | 18 |
18 # remove excessive tests | 19 # remove excessive tests |
19 sed -e 's/torture-//g' -i Makefile | 20 sed -e 's/torture-//g' -i Makefile |
20 | 21 |
35 echo "Remember to make sure you have an up to date runtime!" | 36 echo "Remember to make sure you have an up to date runtime!" |
36 echo | 37 echo |
37 | 38 |
38 if [ -z "$DMD" ] ; then | 39 if [ -z "$DMD" ] ; then |
39 echo "Testing with llvmdc. Set DMD environment variable to select compiler." | 40 echo "Testing with llvmdc. Set DMD environment variable to select compiler." |
40 DMD="llvmdc -O0" | 41 DMD="llvmdc -O0 -I$BASEPATH" |
42 echo "Default is $DMD" | |
41 else | 43 else |
42 echo "Using compiler given by DMD environment variable: $DMD" | 44 echo "Using compiler given by DMD environment variable: $DMD" |
43 fi | 45 fi |
44 | 46 |
45 echo | 47 echo |