Add short-term validation test workflow (#1974)

Add short-term validation test workflow
This commit is contained in:
Joseph Henry
2023-05-01 09:07:03 -07:00
committed by GitHub
parent 595e033776
commit e6802690b8
3 changed files with 473 additions and 0 deletions

15
.github/workflows/report.sh vendored Executable file
View File

@@ -0,0 +1,15 @@
#!/bin/bash
################################################################################
# Set exit code depending on tool reports #
################################################################################
DEFINITELY_LOST=$(cat *test-results/*summary.json | jq .num_definite_bytes_lost)
cat *test-results/*summary.json
echo -e "\nBytes of memory definitely lost: $DEFINITELY_LOST"
if [[ "$DEFINITELY_LOST" -gt 0 ]]; then
exit 1
fi