Added matrix test timings
All checks were successful
Merge-Checker / build_and_test (pull_request) Successful in 24s
All checks were successful
Merge-Checker / build_and_test (pull_request) Successful in 24s
This commit is contained in:
@@ -38,11 +38,9 @@ jobs:
|
|||||||
run: |
|
run: |
|
||||||
if [ -x build/unit-tests/matrix-timing-tests ]; then
|
if [ -x build/unit-tests/matrix-timing-tests ]; then
|
||||||
echo "Running matrix-timing-tests with timing"
|
echo "Running matrix-timing-tests with timing"
|
||||||
# Run the test executable and capture timing info
|
# Enable Catch2 timing output via command-line flag -d yes
|
||||||
# Assuming the executable prints timings per test internally
|
# Wrap with /usr/bin/time for overall runtime measurement and resource usage
|
||||||
# If not, you might want to wrap each subtest with 'time' or
|
/usr/bin/time -v build/unit-tests/matrix-timing-tests -d yes
|
||||||
# run the entire executable with time:
|
|
||||||
/usr/bin/time -v build/unit-tests/matrix-timing-tests
|
|
||||||
else
|
else
|
||||||
echo "matrix-timing-tests executable not found or not executable"
|
echo "matrix-timing-tests executable not found or not executable"
|
||||||
fi
|
fi
|
||||||
|
|||||||
Reference in New Issue
Block a user