diff options
| author | Ewann <dev.lechacal@gmail.com> | 2026-11-22 00:35:00 +0100 |
|---|---|---|
| committer | Ewann <dev.lechacal@gmail.com> | 2026-11-22 00:35:00 +0100 |
| commit | 714531412f906a6ccdad60b80e63855dbb68c2b8 (patch) | |
| tree | 16cf594f4a29578f4646516a7a10f91db55722d1 /runtime/shims/process.cpp | |
| parent | d937b7f092dbc188b59754e5c73c1a9dac553cf9 (diff) | |
check.py: find the Visual Studio build folders too; say which one was used (TEST-38 follow-up)
Follow-up to #337, from the review points there:
- resolve_build_dir, CONFIG_DIRS and the "not found" message move from
scripts/run_gpu_tests.py into runtime/test/shaders/check.py, which
run_gpu_tests.py already imports from. check.py main() now finds the
programs in build/RelWithDebInfo, Release, Debug or MinSizeRel as well,
so `check.py <out>` (docs/design.md, "Reproduce the shader tests") works
with the Visual Studio generator.
- When the programs come from a configuration subfolder, one line says
which: `test programs: <folder> (newest of A, B)`, so a #166 report can
name the build it ran and a stale pick is visible.
- The "Test programs not found" message says the configuration subfolders
were searched too (and gets a space after the colon in run_gpu_tests.py).
- tests/test_gpu_build_dir.py: the printed line, the message, and two
main()-level tests (run_gpu_tests.main hands the resolved folder to
run_suite, check.main hands it to the first test) with the programs faked.
No GPU used. AI-assisted.
Diffstat (limited to 'runtime/shims/process.cpp')
0 files changed, 0 insertions, 0 deletions