echo
exit 0
}
-
+
# $1: deployment type
createRunScript () {
- # Basic launcher 'run.sh' will be created at deployment configuration:
+ # Basic launcher 'run.sh' will be created at deployment configuration:
[ "$1" = "b" ] && return
local other=
export LD_LIBRARY_PATH=\$PWD/dynlibs
./\$EXE --services services.xml --cntDir counters --tmDir test-reports $other &
echo \$! > .pid
+renice -n 5 -p \$(cat .pid)
EOF
chmod a+x run.sh
# Dynamic libs:
cp -r $LIB_DIR/dynamic/launcher $DPATH/dynlibs
+cp $LIB_DIR/libanna_testing_shared.so $DPATH/dynlibs
# Get stuff from leaf directories:
cd $LIB_DIR/dynamic/launcher
[ "$option" = "b" ] && cp $SERVICES/* $DPATH/services
cp $SCRIPTS/clone.sh $DPATH
cp $SCRIPTS/tinyTestcase.sh $DPATH
+cp $SCR_DIR/resources/HELP.md $DPATH
# Copy executables:
cp $ADML_EXEC $DPATH/ADML
if [ "$option" = "s" ]
then
cd $DPATH
- ln -s services_example services
+ #ln -s services_example services
mv run.sh .run-one.sh
mv run_all.sh run.sh
mv operation.sh .operation-one.sh