diff --git a/script/ci-build-libsass b/script/ci-build-libsass index 40ea22ff7..5dc54187d 100755 --- a/script/ci-build-libsass +++ b/script/ci-build-libsass @@ -92,6 +92,9 @@ else make $MAKE_OPTS clean + # Run C++ unit tests + make -C test clean + make -C test test fi # install to prefix directory diff --git a/test/Makefile b/test/Makefile index f76cefce7..8fecbb746 100644 --- a/test/Makefile +++ b/test/Makefile @@ -1,6 +1,8 @@ CXX ?= c++ CXXFLAGS := -I ../include/ -std=c++11 -fsanitize=address -g -O1 -fno-omit-frame-pointer +test: test_shared_ptr + test_shared_ptr: build/test_shared_ptr @ASAN_OPTIONS="symbolize=1" build/test_shared_ptr @@ -13,4 +15,4 @@ build/test_shared_ptr: | build clean: | build rm -rf build -.PHONY: test_shared_ptr clean +.PHONY: test test_shared_ptr clean