CASA/shsrc/lshsrc/mk-tstcases-dl
2005-10-11 19:51:00 +00:00

29 lines
781 B
Bash

#!/bin/bash
set -x
mk-dirs
cd ../../
PR=`pwd`
cd $PR/make
#MAJ_SSS_NO=`cat majver.txt`
#MIN_SSS_NO=`cat minver.txt`
#REV_SSS_NO=`cat revver.txt`
#export BLD_NO=$MAJ_SSS_NO.$MIN_SSS_NO.$REV_SSS_NO
export BLD_NO=4.0.1
#cd $PR/c_test/unx_cachetst
#COMMON_FILES=$(ls *.c)
#(ln -f $COMMON_FILES $PR/c_test/unx_testcases)
cd $PR/c_test/unx_testcases
#(make -I $PR/make -f Makefile ROOT=$PR PLAT=lux MIN_NUM=\"$MIN_SSS_NO\" PROD_NUM=\"$MAJ_SSS_NO\" BLD_VER=\"$BLD_NO\" XTRA=dbg XTRA_CFLAGS="-DDEBUG -DDEBUG_SSS -g" $2 $3 $4 $5 $6)
(make -I $PR/make -f Makefile ROOT=$PR PLAT=lux MIN_NUM=\"0\" PROD_NUM=\"4\" BLD_VER=\"$BLD_NO\" XTRA=dbg XTRA_CFLAGS="-DDEBUG -g" $2 $3 $4 $5)
RCODE=$?
rm -f $COMMON_FILES
if(test $RCODE != 0)
then
exit $RCODE
else
exit 0
fi