if [ "x$GCTLIB" = "x" ]
then
  GCTLIB=`pwd`/../../../
  PATH=.:`pwd`/../../..:$PATH
fi

ROOT=..
. $ROOT/run.source

clean
gct-init $GCTLIB	# So we can initially compile the test-driver.
sed 's/#define GCT_THREAD.*>>>/#define GCT_THREAD Thread/' gct-defs.h > /tmp/G$$
/bin/rm -f gct-defs.h ; 
sed '/<<<TAG>>>/d' /tmp/G$$ > gct-defs.h

make_constant_objects
std_test $1

exit 0
