Ignore the tray template when checking for the SDL revision

This commit is contained in:
Sam Lantinga
2025-12-31 17:10:09 -08:00
parent 65da64b0eb
commit f5e5f65889

View File

@@ -102,9 +102,8 @@ jobs:
- name: 'Verify SDL_REVISION contains SDL-'
run: |
set -e
if test "x$(strings /tmp/build/libSDL3.so.0 | grep SDL- | wc -l)" != x1; then
if test "x$(strings /tmp/build/libSDL3.so.0 | grep SDL- | grep -v SDL-tray | wc -l)" != x1; then
echo "SDL- string not found: must be present in SDL_REVISION"
strings /tmp/build/libSDL3.so.0 | grep SDL-
exit 1
fi