Commit 0dbcfdfd authored by norvell's avatar norvell
Browse files

Fixes in smoke_test.sh for test argument and BUILD logic

parent c106560e
Loading
Loading
Loading
Loading
+7 −9
Original line number Diff line number Diff line
@@ -42,23 +42,21 @@ if [ ! -d "lib_com" ]; then
    exit 1
fi

if [ -z "$1" ]; then
if [ -z "$1" ] || [ "$1" == "test" ]; then
    WORKERS=""
	SKIP_BUILD=0
else
	if [ "$1" == "coverage" ]; then
	BUILD=1
elif [ "$1" == "coverage" ]; then
	WORKERS="-t 1"
		SKIP_BUILD=1
	BUILD=0
else
	usage
fi
fi


cfg=./scripts/config/ci_linux.json
dly_profile=./scripts/dly_error_profiles/dly_error_profile_10.dat

if [ $SKIP_BUILD -eq 0 ];then
if [ $BUILD -eq 1 ];then
	make clean
	make all -j 8
fi