Skip to content

Add GL smoke tests with CI headless fixes - #8557

Merged
danoli3 merged 2 commits into
openframeworks:masterfrom
danoli3:gl-smoke-tests
Sep 12, 2026
Merged

danoli3 merged 2 commits into
openframeworks:masterfrom
danoli3:gl-smoke-tests

Conversation

@danoli3

@danoli3 danoli3 commented Sep 11, 2026

Copy link
Copy Markdown
Member

Add tests/gl/glRenderSmokeTest (desktop GLFW) with shared GLSmokeTestCore.h exercising indexed VBO, instanced draw, tessellated ofPath, FBO readback.

  • Add tests/emscripten/glRenderSmokeTest and tests/ios/glRenderSmokeTest (symlinked core)
  • Fix GLES CI: keep CC as C under ccache (was CXX), skip foreign tests (android/ios/emscripten/tvOS) on desktop runners, run linux tests under xvfb when headless, skip GLFW smoke test if window never came up

Split from #8533 OpenGLES 3.1 to land tests on master before main GLES merge, so CI can validate them independently.

- Add tests/gl/glRenderSmokeTest (desktop GLFW) with
  shared GLSmokeTestCore.h exercising indexed VBO, instanced
  draw, tessellated ofPath, FBO readback
- Add tests/emscripten/glRenderSmokeTest and
  tests/ios/glRenderSmokeTest (symlinked core)
- Fix GLES CI: keep CC as C under ccache (was CXX), skip
  foreign tests (android/ios/emscripten/tvOS) on desktop
  runners, run linux tests under xvfb when headless, skip
  GLFW smoke test if window never came up
…nframeworks#8557 cameras.c)

Same fix as openframeworks#8556, needed for gl-smoke-tests to pass clang64.
C files (audio.c, cameras.c) fail with 'invalid argument -std=gnu++17 not allowed with C'.

@danoli3 danoli3 left a comment

Copy link
Copy Markdown
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Isolated to test cases. fixed some mk file issues

Copy link
Copy Markdown
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Virtual Frame buffer - allows for headless linux to run GPU tests

@danoli3
danoli3 merged commit f3774c5 into openframeworks:master Sep 12, 2026
20 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant