diff --git a/test/tap/tests/unit/Makefile b/test/tap/tests/unit/Makefile index 71bc459ff..9e2b9f2c4 100644 --- a/test/tap/tests/unit/Makefile +++ b/test/tap/tests/unit/Makefile @@ -320,12 +320,12 @@ $(ODIR)/tap_noise_stubs.o: | $(ODIR) ezoption_parser_unit-t: ezoption_parser_unit-t.cpp $(ODIR)/tap.o $(ODIR)/tap_noise_stubs.o $(CXX) $< $(ODIR)/tap.o $(ODIR)/tap_noise_stubs.o \ -I$(TAP_IDIR) -I$(PROXYSQL_PATH)/include \ - $(STDCPP) -O0 -ggdb $(WGCOV) $(LWGCOV) -lpthread -o $@ + $(STDCPP) -O0 -ggdb $(WGCOV) $(LWGCOV) $(WASAN) -lpthread -o $@ mysql_resolution_unit-t: mysql_resolution_unit-t.cpp $(ODIR)/tap.o $(ODIR)/tap_noise_stubs.o $(CXX) $< $(ODIR)/tap.o $(ODIR)/tap_noise_stubs.o \ -I$(TAP_IDIR) -I$(PROXYSQL_PATH)/include \ - $(STDCPP) -O0 -ggdb $(WGCOV) $(LWGCOV) -lpthread -o $@ + $(STDCPP) -O0 -ggdb $(WGCOV) $(LWGCOV) $(WASAN) -lpthread -o $@ # Pattern rule: all unit tests use the same compile + link flags. # Each test binary is built from its .cpp source, linked against