Skip to content

Commit e0b34c4

Browse files
authored
test with tsan (#30)
motivation: better testing, safer code changes: run 5.1 tests with tsan on
1 parent 6c27af2 commit e0b34c4

File tree

2 files changed

+3
-1
lines changed

2 files changed

+3
-1
lines changed

docker/docker-compose.1604.51.yaml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,8 @@ services:
1111

1212
test:
1313
image: swift-aws-lambda:16.04-5.1
14+
environment:
15+
- SANITIZER_ARG=--sanitize=thread
1416

1517
shell:
1618
image: swift-aws-lambda:16.04-5.1

docker/docker-compose.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@ services:
2828

2929
test:
3030
<<: *common
31-
command: /bin/bash -cl "swift test -Xswiftc -warnings-as-errors"
31+
command: /bin/bash -cl "swift test -Xswiftc -warnings-as-errors $${SANITIZER_ARG-}"
3232

3333
# util
3434

0 commit comments

Comments
 (0)