uvg266/tests/test_external_symbols.sh

11 lines
265 B
Bash
Raw Normal View History

#!/bin/sh
# Check for external symbols without uvg_ prefix.
set -eu${BASH+o pipefail}
if nm -go --defined-only ../src/.libs/libuvg266.a | grep -v ' uvg_'; then
printf '%s\n' 'Only symbols prefixed with "uvg_" should be exported from libuvg266.'
false
fi