#!/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; lintit scaffold; output_check; 
std_test and
std_test and2
std_test and3
std_test or
std_test or2
std_test or3
std_test bitand
std_test bitand2
std_test bitand3
std_test bitor
std_test bitor2
std_test bitxor
std_test bitxor2

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

exit 0
