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.
This commit is contained in:
Robert Clipsham
2009-11-15 13:22:02 +00:00
parent 98e869c7ec
commit 10e1768c37
2 changed files with 13 additions and 7 deletions

View File

@@ -7,13 +7,11 @@ if [ -z "$1" ] ; then
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

View File

@@ -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 @@ template va_arg(T)
}
}
}