Skip to content

Commit 7ce6dda

Browse files
committed
Review
1 parent f4eb879 commit 7ce6dda

File tree

2 files changed

+6
-22
lines changed

2 files changed

+6
-22
lines changed

.github/workflows/ccpp.yml

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -236,7 +236,12 @@ jobs:
236236
- name: Ensure expected atexit registrations
237237
working-directory: ${{runner.workspace}}/build
238238
shell: bash
239-
run: $GITHUB_WORKSPACE/Scripts/CountInstancesOfAtExit.py ${{runner.workspace}}/build/Bin/FEX "__cxa_atexit@plt>$" 1 ; echo $?
239+
run: |
240+
COUNT = `llvm-objdump -D ${{runner.workspace}}/build/Bin/FEX | grep "__cxa_atexit@plt>$" | wc -l`
241+
if [ $COUNT -eq 1 ]
242+
echo "Expected 1 atexit handlers, found $COUNT"
243+
exit 1
244+
fi
240245
241246
- name: Truncate test results
242247
if: ${{ always() }}

Scripts/CountInstancesOfAtExit.py

Lines changed: 0 additions & 21 deletions
This file was deleted.

0 commit comments

Comments
 (0)