Skip to content

Commit

Permalink
Extend fmt end2end test to use ctest and multiple test targets
Browse files Browse the repository at this point in the history
  • Loading branch information
AlexDenisov committed Dec 15, 2024
1 parent d0c680c commit 392006d
Showing 1 changed file with 13 additions and 4 deletions.
17 changes: 13 additions & 4 deletions tests/end2end/run_end2end_tests.sh
Original file line number Diff line number Diff line change
Expand Up @@ -43,10 +43,19 @@ function test_fmt() {
-DCMAKE_CXX_COMPILER=$MULL_CXX \
..

ninja core-test
./bin/core-test

mull-runner-$LLVM_VERSION --allow-surviving ./bin/core-test
ninja
for test_case in $(ctest --show-only | grep 'Test .*:' | awk ' { print $3} ');
do
if [ "$test_case" == "posix-mock-test" ]
then
echo "Skipping $test_case"
continue
fi
echo "Testing $test_case"
mull-runner-$LLVM_VERSION --allow-surviving --reporters SQLite --report-name fmt ./bin/$test_case
done

mull-reporter-$LLVM_VERSION --allow-surviving ./fmt.sqlite

popd # fmt.build.dir
popd # fmt
Expand Down

0 comments on commit 392006d

Please sign in to comment.