Change ld-preload to be a dependency of run_tests
@@ -32,7 +32,6 @@ endif
.PHONY : all
-all : ld-preload
all : run_tests
include ../../s2n.mk
@@ -52,7 +51,7 @@ ld-preload :
$(TESTS)::
@${CC} ${CFLAGS} $@.c -o $@ ${LDFLAGS} > /dev/null
-run_tests: $(TESTS)
+run_tests:: $(TESTS) ld-preload
@( for test_name in ${FUZZ_TESTS} ; do \
export LD_LIBRARY_PATH=${LD_LIBRARY_PATH}; \
export DYLD_LIBRARY_PATH=${DYLD_LIBRARY_PATH}; \
