-
Notifications
You must be signed in to change notification settings - Fork 12
/
Copy pathtest-all.sh
78 lines (62 loc) · 1.84 KB
/
test-all.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
72
73
74
75
76
77
78
#!/bin/sh
set -e
STOREDIR=$(pwd)/dist-newstyle/store
if [ "$1" = "build" ]; then
OPERATION="cabal --store-dir=$STOREDIR build --disable-tests"
elif [ "$1" = "buildtest" ]; then
OPERATION="cabal --store-dir=$STOREDIR build --enable-tests"
else
OPERATION="cabal --store-dir=$STOREDIR test --enable-tests"
fi
echo "===================================================================="
echo "== $OPERATION"
echo "===================================================================="
testbuild() {
echo "===================================================================="
echo "== ghc-$1 time-$2"
echo "===================================================================="
echo "$OPERATION" --builddir="dist-newstyle/ghc-$1-time-$2" --with-compiler="ghc-$1" --constraint="time == $2"
$OPERATION --builddir="dist-newstyle/ghc-$1-time-$2" --with-compiler="ghc-$1" --constraint="time == $2"
}
testbuild 9.12.1 1.14
testbuild 9.8.2 1.14
testbuild 9.6.6 1.14
testbuild 9.4.8 1.14
testbuild 9.2.8 1.14
testbuild 9.0.2 1.14
testbuild 9.10.1 1.12.2
testbuild 9.8.2 1.12.2
testbuild 9.6.6 1.12.2
testbuild 9.4.8 1.12.2
testbuild 9.2.8 1.12.2
testbuild 9.0.2 1.12.2
testbuild 8.10.7 1.12.2
testbuild 9.2.8 1.12.1
testbuild 9.0.2 1.12.1
testbuild 8.10.7 1.12.1
testbuild 8.8.4 1.12.1
testbuild 9.2.8 1.12
testbuild 9.0.2 1.12
testbuild 8.10.7 1.12
testbuild 8.8.4 1.12
testbuild 9.2.8 1.11.1
testbuild 9.0.2 1.11.1
testbuild 8.10.7 1.11.1
testbuild 8.8.4 1.11.1
testbuild 8.6.5 1.11.1
testbuild 9.0.2 1.11
testbuild 8.10.7 1.11
testbuild 8.8.4 1.11
testbuild 8.6.5 1.11
testbuild 9.0.2 1.10
testbuild 8.10.7 1.10
testbuild 8.8.4 1.10
testbuild 8.6.5 1.10
testbuild 9.0.2 1.9.3
testbuild 8.10.7 1.9.3
testbuild 8.8.4 1.9.3
testbuild 8.6.5 1.9.3
testbuild 8.10.7 1.9.2
testbuild 8.8.4 1.9.2
testbuild 8.6.5 1.9.2
testbuild 8.6.5 1.8.0.3