#!/bin/bash

TESTS="\
       sync_simple\
       async_simple\
       sync_args\
       async_fds\
"

RES=""

for TST in $TESTS; do
	echo "Running $TST"
	make clean || exit 1
	make OBJ=$TST test || exit 1
	tail -n1 piggie.out | fgrep -q PASS && RES="$RES\n$TST: PASS" || RES="$RES\n$TST: FAIL"
done

./run_cli.sh && RES="$RES\nCLI: PASS" || RES="$RES\nCLI: FAIL"

echo -e "$RES"

#!/bin/bash

TESTS="\
       sync_simple\
       async_simple\
       sync_args\
       async_fds\
       async_shmem\
"

RES=""

for TST in $TESTS; do
	echo "Running $TST"
	make clean || exit 1
	make OBJ=$TST test || exit 1
	tail -n1 piggie.out | fgrep -q PASS && RES="$RES\n$TST: PASS" || RES="$RES\n$TST: FAIL"
done

./run_cli.sh && RES="$RES\nCLI: PASS" || RES="$RES\nCLI: FAIL"

echo -e "$RES"

Add shmem test into the list
test: Add shmem test into the list

Signed-off-by: Pavel Emelyanov <c9a32589e048e044184536f7ac71ef92fe82df3e@parallels.com>
