-
Notifications
You must be signed in to change notification settings - Fork 1.2k
Open
Labels
area: infrastructureTesting, building, coordinating issuesTesting, building, coordinating issuesarea: testsImprovements or issues with our test suiteImprovements or issues with our test suitetype: enhancementNew feature or requestNew feature or request
Description
Currently to run cargo xtask test you need to compile twice. First for wgpu-info to generate .gpuinfo, second for the test suite. What we should do is write a test inside wgpu-info which internally calls the wgpu-info output-to-json function. In order to get rid of the race condition, we can make it only output if a given env var is set. The xtask can run this one exact test with the flag set, then run the whole suite. The test will still run, but not output anything.
Metadata
Metadata
Assignees
Labels
area: infrastructureTesting, building, coordinating issuesTesting, building, coordinating issuesarea: testsImprovements or issues with our test suiteImprovements or issues with our test suitetype: enhancementNew feature or requestNew feature or request
Type
Projects
Status
Todo