From: Thomas Huth Date: Thu, 9 Nov 2023 17:47:20 +0000 (+0100) Subject: tests/tsan: Rename the file with the entries that should be ignored X-Git-Url: http://git.maquefel.me/?a=commitdiff_plain;h=f9a19bd8d23f0048315a60d695857c705988dc05;p=qemu.git tests/tsan: Rename the file with the entries that should be ignored Let's use a better file name here. Message-ID: <20231109174720.375873-1-thuth@redhat.com> Reviewed-by: Philippe Mathieu-Daudé Signed-off-by: Thomas Huth --- diff --git a/docs/devel/testing.rst b/docs/devel/testing.rst index b0680cbb22..fef64accc1 100644 --- a/docs/devel/testing.rst +++ b/docs/devel/testing.rst @@ -668,11 +668,11 @@ suppressing it. More information on the file format can be found here: https://github.com/google/sanitizers/wiki/ThreadSanitizerSuppressions -tests/tsan/blacklist.tsan - Has TSan warnings we wish to disable +tests/tsan/ignore.tsan - Has TSan warnings we wish to disable at compile time for test or debug. Add flags to configure to enable: -"--extra-cflags=-fsanitize-blacklist=/tests/tsan/blacklist.tsan" +"--extra-cflags=-fsanitize-blacklist=/tests/tsan/ignore.tsan" More information on the file format can be found here under "Blacklist Format": diff --git a/tests/tsan/blacklist.tsan b/tests/tsan/blacklist.tsan deleted file mode 100644 index 75e444f5dc..0000000000 --- a/tests/tsan/blacklist.tsan +++ /dev/null @@ -1,10 +0,0 @@ -# This is an example blacklist. -# To enable use of the blacklist add this to configure: -# "--extra-cflags=-fsanitize-blacklist=/tests/tsan/blacklist.tsan" -# The eventual goal would be to fix these warnings. - -# TSan is not happy about setting/getting of dirty bits, -# for example, cpu_physical_memory_set_dirty_range, -# and cpu_physical_memory_get_dirty. -src:bitops.c -src:bitmap.c diff --git a/tests/tsan/ignore.tsan b/tests/tsan/ignore.tsan new file mode 100644 index 0000000000..423e482d2f --- /dev/null +++ b/tests/tsan/ignore.tsan @@ -0,0 +1,10 @@ +# This is an example ignore list. +# To enable use of the ignore list add this to configure: +# "--extra-cflags=-fsanitize-blacklist=/tests/tsan/ignore.tsan" +# The eventual goal would be to fix these warnings. + +# TSan is not happy about setting/getting of dirty bits, +# for example, cpu_physical_memory_set_dirty_range, +# and cpu_physical_memory_get_dirty. +src:bitops.c +src:bitmap.c