This commit is contained in:
parent
57eb9797ca
commit
fc01fb6d6e
4 changed files with 8 additions and 6 deletions
|
@ -30,7 +30,7 @@ cmake .. \
|
||||||
-Wl,-rpath,/libcxx_lsan/lib" \
|
-Wl,-rpath,/libcxx_lsan/lib" \
|
||||||
&& cmake --build . -j`nproc`
|
&& cmake --build . -j`nproc`
|
||||||
|
|
||||||
for test in $(find ./build -type f -name '*_tests' -executable); do
|
for test in $(find ./ -type f -name '*_tests' -executable); do
|
||||||
echo "Running $test"
|
echo "Running $test"
|
||||||
"$test"
|
"$test"
|
||||||
done
|
done
|
||||||
|
|
|
@ -32,7 +32,7 @@ cmake .. \
|
||||||
-Wl,-rpath,/libcxx_msan/lib" \
|
-Wl,-rpath,/libcxx_msan/lib" \
|
||||||
&& cmake --build . -j`nproc`
|
&& cmake --build . -j`nproc`
|
||||||
|
|
||||||
for test in $(find ./build -type f -name '*_tests' -executable); do
|
for test in $(find ./ -type f -name '*_tests' -executable); do
|
||||||
echo "Running $test"
|
echo "Running $test"
|
||||||
"$test"
|
"$test"
|
||||||
done
|
done
|
||||||
|
|
|
@ -10,16 +10,17 @@ export CXX=$(which g++)
|
||||||
export CC=$(which gcc)
|
export CC=$(which gcc)
|
||||||
export DISPLAY=:99
|
export DISPLAY=:99
|
||||||
|
|
||||||
|
# gcc uses libstdc++ by default
|
||||||
cmake .. \
|
cmake .. \
|
||||||
-G Ninja \
|
-G Ninja \
|
||||||
-DCMAKE_LINKER_TYPE=MOLD \
|
-DCMAKE_LINKER_TYPE=MOLD \
|
||||||
-DENABLE_UNIT_TESTS=ON \
|
-DENABLE_UNIT_TESTS=ON \
|
||||||
-DENABLE_LLVM_COVERAGE=ON \
|
-DENABLE_LLVM_COVERAGE=ON \
|
||||||
-DCMAKE_BUILD_TYPE=Release \
|
-DCMAKE_BUILD_TYPE=Release \
|
||||||
-DCMAKE_CXX_FLAGS="-std=c++23 -stdlib=libstdc++ -g -fno-omit-frame-pointer" \
|
-DCMAKE_CXX_FLAGS="-std=c++23 -g -fno-omit-frame-pointer" \
|
||||||
&& cmake --build . -j `nproc`
|
&& cmake --build . -j `nproc`
|
||||||
|
|
||||||
for test in $(find ./build -type f -name '*_tests' -executable); do
|
for test in $(find ./ -type f -name '*_tests' -executable); do
|
||||||
echo "Running $test"
|
echo "Running $test"
|
||||||
"$test"
|
"$test"
|
||||||
done
|
done
|
||||||
|
|
|
@ -12,16 +12,17 @@ export CXX=$(which g++)
|
||||||
export CC=$(which gcc)
|
export CC=$(which gcc)
|
||||||
export DISPLAY=:99
|
export DISPLAY=:99
|
||||||
|
|
||||||
|
# gcc uses libstdc++ by default
|
||||||
cmake .. \
|
cmake .. \
|
||||||
-G Ninja \
|
-G Ninja \
|
||||||
-DCMAKE_LINKER_TYPE=MOLD \
|
-DCMAKE_LINKER_TYPE=MOLD \
|
||||||
-DENABLE_UNIT_TESTS=ON \
|
-DENABLE_UNIT_TESTS=ON \
|
||||||
-DENABLE_LLVM_COVERAGE=ON \
|
-DENABLE_LLVM_COVERAGE=ON \
|
||||||
-DCMAKE_BUILD_TYPE=Release \
|
-DCMAKE_BUILD_TYPE=Release \
|
||||||
-DCMAKE_CXX_FLAGS="-std=c++23 -stdlib=libstdc++ -g -fno-omit-frame-pointer" \
|
-DCMAKE_CXX_FLAGS="-std=c++23 -g -fno-omit-frame-pointer" \
|
||||||
&& cmake --build . -j `nproc`
|
&& cmake --build . -j `nproc`
|
||||||
|
|
||||||
for test in $(find ./build -type f -name '*_tests' -executable); do
|
for test in $(find ./ -type f -name '*_tests' -executable); do
|
||||||
echo "Running $test"
|
echo "Running $test"
|
||||||
|
|
||||||
valgrind \
|
valgrind \
|
||||||
|
|
Loading…
Add table
Reference in a new issue