Mercurial > projects > ldc
comparison tester.sh @ 16:860524276608 trunk
[svn r20] * Added a simple compiletime std.stdio by downs
* Added a simple lphobos of std.stdio (so far)
* 'tester.sh run' now links to lphobos
author | lindquist |
---|---|
date | Wed, 03 Oct 2007 05:41:15 +0200 |
parents | d3ee9efe20e2 |
children | 3cfcb944304e |
comparison
equal
deleted
inserted
replaced
15:37a4fdab33fc | 16:860524276608 |
---|---|
15 opt -f -o=$1.bc -std-compile-opts $1.bc && | 15 opt -f -o=$1.bc -std-compile-opts $1.bc && |
16 llvm-dis -f $1.bc && | 16 llvm-dis -f $1.bc && |
17 cat $1.ll | 17 cat $1.ll |
18 exit $? | 18 exit $? |
19 elif [ "$2" = "run" ]; then | 19 elif [ "$2" = "run" ]; then |
20 llvmdc $1 -Itest -odtest -of$1 && | 20 llvmdc $1 lib/lphobos.bc -Itest -odtest -of$1 && |
21 $1 | 21 $1 |
22 exit $? | 22 exit $? |
23 elif [ "$2" = "c" ]; then | 23 elif [ "$2" = "c" ]; then |
24 llvmdc $1 -Itest -odtest -c | 24 llvmdc $1 -Itest -odtest -c |
25 exit $? | 25 exit $? |