# HG changeset patch # User Robert Clipsham # Date 1258291322 0 # Node ID 42fc0d955a0d72794c797b35e9f49bb2d2b2cadb # Parent 628433c343b43ec16b57d72cdd7e81425332e585 Updated runtest to always rebuild libtangobos-partial.a in case of updates. Changed std.stdarg to import ldc.vararg so it has the correct implementation. diff -r 628433c343b4 -r 42fc0d955a0d tests/runtest --- a/tests/runtest Sun Nov 08 16:16:17 2009 +0000 +++ b/tests/runtest Sun Nov 15 13:22:02 2009 +0000 @@ -7,13 +7,11 @@ fi TARGETFILE=$1 -# check for libtangobos-partial -if ! [ -f testincludes/libtangobos-partial.a ] ; then - echo "Could not find libtangobos-partial.a, attempting to build." - cd testincludes - make - cd .. -fi +# build libtangobos-partial +echo "Building libtangobos-partial.a" +cd testincludes +make +cd .. # check for dstress if ! [ -d dstress ] ; then diff -r 628433c343b4 -r 42fc0d955a0d tests/testincludes/std/stdarg.d --- a/tests/testincludes/std/stdarg.d Sun Nov 08 16:16:17 2009 +0000 +++ b/tests/testincludes/std/stdarg.d Sun Nov 15 13:22:02 2009 +0000 @@ -8,6 +8,13 @@ module std.stdarg; +version(LDC) +{ + public import ldc.vararg; +} +else +{ + alias void* va_list; template va_arg(T) @@ -20,3 +27,4 @@ } } +}