-
Notifications
You must be signed in to change notification settings - Fork 0
/
all.bash
executable file
·72 lines (65 loc) · 1.02 KB
/
all.bash
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
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
#!/bin/bash
# Copyright (C) 2017, 2019, 2020 Yoshiki Shibata. All rights reserved.
export OAK_HOME="$PWD"
echo ""
rm -fr "$OAK_HOME/bin"
mkdir "$OAK_HOME/bin"
echo "building ... "
go build -o bin/oak
if [ $? != 0 ]
then
exit 1
fi
TOP_DIR="$PWD"
# JavaFX
# bugfixes/002 \
# issues/047 \
# Execute tests
for dir in simpleRun \
junit5 \
simpleTest1 \
simpleTest1_2 \
simpleTest2 \
simpleTest2_2 \
packageTest \
packageTest_2 \
packageTest_3 \
bugfixes/001 \
issues/008 \
issues/013 \
issues/019 \
issues/022 \
issues/024 \
issues/028 \
issues/033 \
issues/034 \
issues/036 \
issues/039 \
issues/040 \
issues/044 \
issues/049 \
issues/051 \
issues/053 \
issues/055 \
issues/056 \
issues/057 \
issues/060 \
issues/062 \
issues/064 \
issues/066 \
issues/068 \
issues/071 \
issues/074 \
issues/076;
do
cd "$TOP_DIR/tests/$dir"
echo ""
echo "Testing ... " $dir
./run.bash
if [ $? != 0 ]
then
echo "NG!"
exit 1
fi
echo "OK!"
done;