#!/bin/sh
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.
make_constant_objects

/bin/rm -f M*.c
cp point.c Mpoint.c
cp rest.c Mrest.c
cp switch.c Mswitch.c
cp whole1.c Mwhole1.c
cp whole2.c Mwhole2.c
cp func.c Mfunc.c
cp mult.c Mmult.c

std_test point
std_test point2
std_test Mpoint

std_test rest
std_test Mrest

std_test switch
std_test switch2
std_test Mswitch

std_test whole1
std_test Mwhole1

std_test whole2
std_test Mwhole2

std_test func
std_test Mfunc

std_test mult
std_test Mmult


std_test return
std_test relational
std_test boolean
std_test assign
std_test coverage
std_test double

exit 0
