# !/bin/sh
# 
#	This shell script will run all test in test/uil/Syntax directory.
#
#
#	extended gadget syntax tests
#
displayUid GSyntax1
displayUid GSyntax2
#
#
#	names for all objects test
#
displayUid Names
displayUid NamesU
#
#	Minimal files test
#
echo ""
echo "Now running Minimal Uil test"
echo ""
Minimal
#
#	Case Sensitive/Insensitive Test
#
echo ""
echo "Now running Case Uil test"
echo ""
Case

echo ""
echo "Running ProcDef..."
echo ""
echo "This Test should not give a segmentation violation"

../../.././clients/uil/uil -o ProcDef.uid ProcDef.uil  -I../.././clients/uil

set makestatus = $status

if ($makestatus == 1) then
   echo "ProcDef test PASSES" 
endif
if (($makestatus == 0) || (($makestatus <= 4) && ($makestatus > 1))) then
        echo "ProcDef test FAILS" 
endif

#
# End of Test Script
