iree icon indicating copy to clipboard operation
iree copied to clipboard

Test 'console' provider in 'tracing' job.

Open ScottTodd opened this issue 1 year ago • 1 comments

This also refactors the job to use a GitHub-managed runner with less random GitHub Actions boilerplate for caching, env vars, etc. since the 'tracing' job is only building the runtime (as of https://github.com/openxla/iree/pull/6709, from 2021).

Fixes https://github.com/openxla/iree/issues/16405

ScottTodd avatar Feb 16 '24 23:02 ScottTodd

This just tests that it compiles, or does it test anything else?

jpienaar avatar May 24 '24 15:05 jpienaar

This just tests that it compiles, or does it test anything else?

Just testing for compilation, yeah. Could add a lit test too 🤔

ScottTodd avatar May 28 '24 15:05 ScottTodd

Tried adding a lit test, but that ended up being tricky: https://github.com/iree-org/iree/actions/runs/9273552641/job/25513953669?pr=16454

  • The tracing job just builds the runtime, but to run a lit test we need the compiler too
  • Some other tests failed with console tracing enabled (random segfaults, didn't seem worth digging into)

ScottTodd avatar May 28 '24 17:05 ScottTodd