-
Notifications
You must be signed in to change notification settings - Fork 2
Expand file tree
/
Copy pathrun.sh
More file actions
39 lines (32 loc) · 743 Bytes
/
run.sh
File metadata and controls
39 lines (32 loc) · 743 Bytes
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
echo "Running all example test harnesses..."
(
printf "\nHELLO, WORLD (Python example)...\n\n"
cd example_hello_world_python
sh run.sh
if [ $? -ne 0 ]; then
echo "Hello World Python example failed."
exit 1
fi
cd ..
)
(
printf "\nHELLO, WORLD (Go lang example)...\n\n"
cd example_hello_world_golang
sh run.sh
if [ $? -ne 0 ]; then
echo "Hello World Golang example failed."
exit 1
fi
cd ..
)
(
printf "\nHELLO, WORLD (React example)...\n\n"
cd example_hello_world_react
sh run.sh
if [ $? -ne 0 ]; then
echo "Hello World React example failed."
exit 1
fi
cd ..
)
echo "All example test harnesses completed successfully!"