-
Notifications
You must be signed in to change notification settings - Fork 83
/
Copy pathtest_coverage.sh
executable file
·110 lines (108 loc) · 3.11 KB
/
test_coverage.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
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
#!/usr/bin/env bash
echo "" > coverage.txt
set -e
go test -coverprofile=profile.out -covermode=atomic ./alg
if [ -f profile.out ]; then
cat profile.out >> coverage.txt
rm profile.out
fi
go test -coverprofile=profile.out -covermode=atomic ./alg/intgeom
if [ -f profile.out ]; then
cat profile.out >> coverage.txt
rm profile.out
fi
go test -coverprofile=profile.out -covermode=atomic ./alg/floatgeom
if [ -f profile.out ]; then
cat profile.out >> coverage.txt
rm profile.out
fi
go test -coverprofile=profile.out -covermode=atomic ./alg/span
if [ -f profile.out ]; then
cat profile.out >> coverage.txt
rm profile.out
fi
go test -coverprofile=profile.out -covermode=atomic ./collision
if [ -f profile.out ]; then
cat profile.out >> coverage.txt
rm profile.out
fi
go test -coverprofile=profile.out -covermode=atomic ./collision/ray
if [ -f profile.out ]; then
cat profile.out >> coverage.txt
rm profile.out
fi
go test -coverprofile=profile.out -covermode=atomic ./debugstream
if [ -f profile.out ]; then
cat profile.out >> coverage.txt
rm profile.out
fi
go test -coverprofile=profile.out -covermode=atomic ./dlog
if [ -f profile.out ]; then
cat profile.out >> coverage.txt
rm profile.out
fi
go test -coverprofile=profile.out -covermode=atomic ./event
if [ -f profile.out ]; then
cat profile.out >> coverage.txt
rm profile.out
fi
go test -coverprofile=profile.out -covermode=atomic ./fileutil
if [ -f profile.out ]; then
cat profile.out >> coverage.txt
rm profile.out
fi
go test -coverprofile=profile.out -covermode=atomic ./mouse
if [ -f profile.out ]; then
cat profile.out >> coverage.txt
rm profile.out
fi
go test -coverprofile=profile.out -covermode=atomic --tags=nooswindow .
if [ -f profile.out ]; then
cat profile.out >> coverage.txt
rm profile.out
fi
go test -coverprofile=profile.out -covermode=atomic ./oakerr
if [ -f profile.out ]; then
cat profile.out >> coverage.txt
rm profile.out
fi
go test -coverprofile=profile.out -covermode=atomic ./physics
if [ -f profile.out ]; then
cat profile.out >> coverage.txt
rm profile.out
fi
go test -coverprofile=profile.out -covermode=atomic ./render
if [ -f profile.out ]; then
cat profile.out >> coverage.txt
rm profile.out
fi
go test -coverprofile=profile.out -covermode=atomic ./render/mod
if [ -f profile.out ]; then
cat profile.out >> coverage.txt
rm profile.out
fi
go test -coverprofile=profile.out -covermode=atomic ./render/particle
if [ -f profile.out ]; then
cat profile.out >> coverage.txt
rm profile.out
fi
go test -coverprofile=profile.out -covermode=atomic ./scene
if [ -f profile.out ]; then
cat profile.out >> coverage.txt
rm profile.out
fi
go test -coverprofile=profile.out -covermode=atomic ./shape
if [ -f profile.out ]; then
cat profile.out >> coverage.txt
rm profile.out
fi
go test -coverprofile=profile.out -covermode=atomic ./dlog
if [ -f profile.out ]; then
cat profile.out >> coverage.txt
rm profile.out
fi
go test -coverprofile=profile.out -covermode=atomic ./timing
if [ -f profile.out ]; then
cat profile.out >> coverage.txt
rm profile.out
fi