Skip to content

Commit

Permalink
Merge pull request #392 from matoro/master
Browse files Browse the repository at this point in the history
Ignore "*get_pc_thunk.*" symbols in exported symbols test
  • Loading branch information
Jovasa committed Feb 2, 2024
2 parents c6f2ba4 + b10fc25 commit a909ddd
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tests/test_external_symbols.sh
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@

set -eu${BASH+o pipefail}

if nm -go --defined-only ../src/.libs/libkvazaar.a | grep -v ' kvz_'; then
if nm -go --defined-only ../src/.libs/libkvazaar.a | grep -Ev ' (kvz_|__[a-z0-9]+(_|\.)get_pc_thunk\.)'; then
printf '%s\n' 'Only symbols prefixed with "kvz_" should be exported from libkvazaar.'
false
fi

0 comments on commit a909ddd

Please sign in to comment.