Revert "Reenable sanitize (#4365)"

This reverts commit d87be38401.
This commit is contained in:
rusefillc 2022-07-22 08:15:15 -04:00
parent cbef71e97c
commit f7f6f9d8eb
3 changed files with 8 additions and 10 deletions

View File

@ -31,8 +31,8 @@ jobs:
- name: Build Native Unit Tests as shared library
working-directory: ./unit_tests/
# we have a unit test of JNI thus we need to build shared library
run: make -j4 SANITIZE=no build/lib_rusefi_test
# we have a unit test of JNI thus we need to build shared library
run: make -j4
- name: Test console
# at the moment 'jar' task does not depend on tests?! maybe because tests take some time?

View File

@ -89,7 +89,7 @@ VPATH = $(SRCPATHS)
# Makefile rules
#
all: $(OBJS) $(BINARY_OUTPUT) MAKE_ALL_RULE_HOOK
all: $(OBJS) $(BINARY_OUTPUT) $(SHARED_OUTPUT) MAKE_ALL_RULE_HOOK
MAKE_ALL_RULE_HOOK:

View File

@ -14,13 +14,11 @@ PCHSUB = unit_tests
include $(PROJECT_DIR)/rusefi_rules.mk
# User may want to pass in a forced value for SANITIZE
ifeq ($(SANITIZE),)
ifneq ($(OS),Windows_NT)
SANITIZE = yes
else
SANITIZE = no
endif
ifneq ($(OS),Windows_NT)
# at the moment lib asan breaks JNI library
SANITIZE = no
else
SANITIZE = no
endif
IS_MAC = no