summaryrefslogtreecommitdiff
path: root/build_test_img/build_snapshot.sh
blob: d7f048a40e666c4f1cf79d3cc998e96e3d01b38e (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
30
#!/bin/sh

if [ $# = 1 ]
then
SNAPSHOT=$1
VERSION=""
else
	if [ $# = 2 ]
	then
		SNAPSHOT=$1
		VERSION=$2
	else
        echo "Usage : build_snapshot.sh <snapshot ver> [platform ver]"
        echo "        snapshot ver : yyyymmdd.n"
        echo "        platform ver : 4.0 or omitted"
        exit 1
	fi
fi


TEST_SET_DIR=./test_set

TC_LIST=`ls $TEST_SET_DIR | cut -c1-6`

for TC in $TC_LIST
do
	./build.sh $SNAPSHOT $TC $VERSION
done