Menu

[r3]: / MainTest / Build / TestRTpkg  Maximize  Restore  History

Download this file

44 lines (33 with data), 792 Bytes

#!/bin/ksh -u
#!/bin/ksh -uvx
#§
#§  Compiler2 - TestRTpkg
#§
#§  (C) IPN - Ingenieurbuero fuer Praezisionsnumerik
#§
#§  Dipl.-Ing. Andreas Otto
#§  Ulmenstrasse 3
#§  D-34289 Zierenberg
#§  mailto:aotto@t-online.de
#§
#§  Alle Rechte vorbehalten
#§
#§

##
## ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
##

. $STDLIB

##
## ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
##

(( $# != 3 )) && Error "usage: TestSource \"plugin\" \"cmd\" \"ext\" "

##
Head TestRTpkg \"$1\" ------------------------------------------
##

TGT=$1$3

[[ ! -d build/$TGT ]] && Error "dir \"build/$TGT\" not available"

( cd build/$TGT ; PkgAdd $1 linuxi386 ; )       || Error "PkgAdd $1"

[[ -n $2 ]] && {
    CctCheckCmd "$2"                    || Error "CctCheckCmd $2"
}

exit 0
Want the latest updates on software, tech news, and AI?
Get latest updates about software, tech news, and AI from SourceForge directly in your inbox once a month.