-
Notifications
You must be signed in to change notification settings - Fork 11
/
run_test.sh
executable file
·71 lines (61 loc) · 1.32 KB
/
run_test.sh
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
#!/bin/bash
if (haxe test_full.hxml); then
chmod +x ./build/debug/java/Test-Debug.jar
chmod +x ./build/java/Test.jar
echo
echo
echo "===> CPP"
echo "[Debug]"
time ./build/debug/cpp/Test-debug
echo "[Release]"
time ./build/cpp/Test
echo
echo
echo "===> JS"
echo "[Debug]"
time node build/debug/test.js
echo "[Release]"
time node build/test.js
echo
echo
echo "===> JAVA"
echo "[Debug]"
time java -jar ./build/debug/java/Test-Debug.jar
echo "[Release]"
time java -jar ./build/java/Test.jar
echo
echo
echo "===> C#"
echo "[Debug]"
time mono ./build/debug/cs/bin/Test-Debug.exe
echo "[Release]"
time mono ./build/cs/bin/Test.exe
echo
echo
echo "===> PYTHON"
echo "[Debug]"
time python3 build/debug/test.py
echo "[Release]"
time python3 build/test.py
echo
echo
echo "===> PHP"
echo "[Debug]"
time php build/debug/php/index.php
echo "[Release]"
time php build/php/index.php
echo
echo
echo "===> PHP7"
echo "[Debug]"
time php build/debug/php7/index.php
echo "[Release]"
time php build/php7/index.php
echo
echo
echo "===> NEKO"
echo "[Debug]"
time neko build/debug/test.n
echo "[Release]"
time neko build/test.n
fi