Skip to content

test: add a family of tests for build system env vars#1464

Open
novas0x2a wants to merge 2 commits intomainfrom
env-tests
Open

test: add a family of tests for build system env vars#1464
novas0x2a wants to merge 2 commits intomainfrom
env-tests

Conversation

@novas0x2a
Copy link
Collaborator

@novas0x2a novas0x2a commented Feb 20, 2026

These test functions are designed to:

  1. Actually execute the build systems in question; previously, there were no build system tests in the base repo (just in examples)
  2. Export various layers of variable (environment, cmake cache vars, etc) into files for testing.

AI disclosure: AI was used on this, largely to stamp out initial copies of the env_tests for each of the build systems and look for bugs. I stress that I (and not the bot) am ultimately responsible for the code.

We were previously only creating them for data_dirs / TreeArtifacts, but
being able to pull out individual files is helpful too.
These test functions are designed to:
1. Actually execute the build systems in question; previously, there
   were no build system tests in the base repo (just in examples)
2. Export various layers of variable (environment, cmake cache vars,
   etc) into files for testing.
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