tests/docker: Added docker build support for TSan.
commitdf79fd5667fb99c6fdfa0d295cb020e9e3eef1e7
authorRobert Foley <robert.foley@linaro.org>
Fri, 12 Jun 2020 19:02:31 +0000 (12 20:02 +0100)
committerAlex Bennée <alex.bennee@linaro.org>
Tue, 16 Jun 2020 13:49:05 +0000 (16 14:49 +0100)
tree9c80818d4c759488e72fcfe007280b6f0ea9c6ac
parent45a9595a1b16666cdac1969469937b72cfb28129
tests/docker: Added docker build support for TSan.

Added a new docker for ubuntu 20.04.
This docker has support for Thread Sanitizer
including one patch we need in one of the header files.
https://github.com/llvm/llvm-project/commit/a72dc86cd

This command will build with tsan enabled:
make docker-test-tsan-ubuntu2004 V=1

Also added the TSAN suppresion file to disable certain
cases of TSAN warnings.

Cc: Fam Zheng <fam@euphon.net>
Cc: Philippe Mathieu-Daudé <philmd@redhat.com>
Signed-off-by: Robert Foley <robert.foley@linaro.org>
Reviewed-by: Alex Bennée <alex.bennee@linaro.org>
Signed-off-by: Alex Bennée <alex.bennee@linaro.org>
Message-Id: <20200609200738.445-10-robert.foley@linaro.org>
Message-Id: <20200612190237.30436-13-alex.bennee@linaro.org>
tests/docker/dockerfiles/ubuntu2004.docker [new file with mode: 0644]
tests/docker/test-tsan [new file with mode: 0755]
tests/tsan/blacklist.tsan [new file with mode: 0644]
tests/tsan/suppressions.tsan [new file with mode: 0644]