We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 2c446fa commit 968d8cdCopy full SHA for 968d8cd
1 file changed
test/Makefile
@@ -304,7 +304,11 @@ ifeq (,$(wildcard $(BUILD_DIR)/$(BIN).elf))
304
$(error $(BUILD_DIR)/$(BIN).elf not found. Try: make)
305
else
306
ifeq ($(TSAN),1)
307
- TSAN_OPTIONS="suppressions=$(PROJECT_DIR)/tsan.supp" $(BUILD_DIR)/$(BIN).elf
+ # TSAN options:
308
+ # - fail fast on first data race detected
309
+ # - non-zero exit code if races are detected to ensure CI fails
310
+ # - use our custom suppressions file to ignore wolfCrypt and SHM transport
311
+ TSAN_OPTIONS="halt_on_error=1:exitcode=66:suppressions=$(PROJECT_DIR)/tsan.supp" $(BUILD_DIR)/$(BIN).elf
312
313
$(BUILD_DIR)/$(BIN).elf
314
endif
0 commit comments