2 # Build the test executable
3 $B/test-posixx: LINKER := $(CXX)
4 $B/test-posixx: $(call find_objects,cpp)
6 # Run the test executable (though valgrind if $(VALGRIND) is non-empty)
8 test-posixx: LDFLAGS += -lboost_unit_test_framework-mt
9 test-posixx: VALGRIND_SUPP := $C/valgrind.suppressions
10 test-posixx: $B/test-posixx
11 $(call valgrind,$< --detect_memory_leak=1 --detect_fp_exceptions=1 \
12 --report_level=$(if $V,no,short))
14 # Run our unit tests when the "test" goal is built