Welcome to mirror list, hosted at ThFree Co, Russian Federation.

app-emu.sh « others « test - github.com/checkpoint-restore/criu.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
blob: 4432b90f93450cf93174de2d16fc090cb4e69aba (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
#!/bin/sh

TEST_LIST="
vnc
java/HelloWorld
screen
tarbz
make
"

[ -n "$1" ] && TEST_LIST="$1"

BASE_DIR=`pwd`/`dirname $0`

for t in $TEST_LIST; do
	dir=$BASE_DIR/app-emu/$t
	log=$dir/run.log
	(
		cd $dir
		bash ./run.sh
	) 2>&1 | tee $log
	grep PASS $log || {
		echo "Test: $t"
		echo "====================== ERROR ======================"
		echo "Run log   : $log"
		echo "$t "
		exit 1
	}
done