-
Notifications
You must be signed in to change notification settings - Fork 214
Expand file tree
/
Copy pathtest.sh
More file actions
executable file
·41 lines (31 loc) · 857 Bytes
/
test.sh
File metadata and controls
executable file
·41 lines (31 loc) · 857 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
40
41
#!/usr/bin/env bash
set -eux
# Test script to run all the tests except of e2e tests for continuous integration
go test -coverprofile cover.out $(go list ./... | grep -v 'test/e2e')
cd core
# Be more strict with load balancer tests: run with race detector enabled
go test -run LB_ -race
# Be more strict with nvidia tests: run with race detector enabled
go test -run Nvidia_ -race
go test -run Capabilities_ -race
cd ..
# Be more strict with discovery tests: run with race detector enabled
cd discovery
go test -race
cd ..
# Be more strict with HTTP push tests: run with race detector enabled
cd server
go test -run TestSelectSession_ -race
go test -run RegisterConnection -race
cd ..
cd media
go test -race
cd ..
cd trickle
go test -race -timeout 10s
cd ..
cd byoc
go test -race -timeout 10s
cd ..
./test_args.sh
printf "\n\nAll Tests Passed\n\n"