Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Use CMake variables to enable/disable test apps #1987

Merged

Conversation

bradgrantham-lunarg
Copy link
Contributor

No description provided.

* Don't use environment variable GFXRECON_NO_TEST_APPS at the level of tests/
* Instead use CMake variable GFXRECON_INCLUDE_TEST_APPS, default ON

To turn off test apps, provide "-DGFXRECON_INCLUDE_TEST_APPS=OFF" to
CMake.
@ci-tester-lunarg
Copy link

CI gfxreconstruct build queued with queue ID 355712.

@ci-tester-lunarg
Copy link

CI gfxreconstruct build # 5926 running.

@ci-tester-lunarg
Copy link

CI gfxreconstruct build # 5926 passed.

@ci-tester-lunarg
Copy link

CI gfxreconstruct build queued with queue ID 355769.

@ci-tester-lunarg
Copy link

CI gfxreconstruct build # 5928 running.

@ci-tester-lunarg
Copy link

CI gfxreconstruct build # 5928 passed.

@beau-lunarg
Copy link
Contributor

We should modify the Github CI to use the new env variable so we're making sure the test apps keep compiling correctly.

@bradgrantham-lunarg
Copy link
Contributor Author

We should modify the Github CI to use the new env variable so we're making sure the test apps keep compiling correctly.

The default should be "ON" and my testing seems to verify that - default build on my Linux machine built the tests. Could you checkout and build this branch just to verify it does what you think it should do?

@bradgrantham-lunarg bradgrantham-lunarg merged commit 51284d2 into LunarG:dev Jan 28, 2025
9 checks passed
bradgrantham-lunarg added a commit that referenced this pull request Jan 28, 2025
* use CMake GFXRECON_INCLUDE_TEST_APPS instead of GFXRECON_NO_TEST_APPS

* Don't use environment variable GFXRECON_NO_TEST_APPS at the level of tests/
* Instead use CMake variable GFXRECON_INCLUDE_TEST_APPS, default ON

To turn off test apps, provide "-DGFXRECON_INCLUDE_TEST_APPS=OFF" to
CMake.

* document change of variable and meaning for test app build
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.

4 participants