Add MINGW64 to define. Try to fix tsan test path error to suppressions.txt.

This commit is contained in:
siivonek 2021-02-16 15:44:18 +02:00
parent 9a65617a34
commit 6f455f29cc
2 changed files with 2 additions and 2 deletions

View file

@ -32,7 +32,7 @@ test-tsan:
variables:
CFLAGS: '-fsanitize=thread'
# Temporarily suppress known errors or false positives.
TSAN_OPTIONS: 'suppressions=/builds/TIE/ultravideo/kvazaar/tests/tsan_suppressions.txt'
TSAN_OPTIONS: 'suppressions=/builds/cs/ultravideo/kvazaar/tests/tsan_suppressions.txt'
test-ubsan:
<<: *test-template

View file

@ -268,7 +268,7 @@ done:
// This thread exit call causes problems with media auto-build suite
// The environment compiles with MINGW using a different pthreads lib
#ifndef __MINGW32__
#if !defined(__MINGW32__) || !defined(__MINGW64__)
pthread_exit(NULL);
#endif
return NULL;