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

ROOT=../..
. $ROOT/run.source 

clean
make_constant_objects

init scaffold; make_both scaffold; output_check; 
std_test plus
std_test minus
std_test times
std_test div
std_test mod
std_test lshift
std_test rshift
std_test less
std_test less2
std_test lesseq
std_test lesseq2
std_test greater
std_test greater2
std_test greatereq
std_test greatereq2
gct -B$GCTLIB eq+neq.c > eq+neq.OUT 2>&1 ; diff eq+neq.OUT eq+neq.ref

if [ -f MASTER_LOG ]
then
	breport -test-map ${GCTLIB}btool_map MASTER_LOG > REPORT
fi

exit 0
