openqasm / qe-compiler

An MLIR based compiler dynamic circuit compiler for real-time control systems supporting OpenQASM 3
Other
46 stars 15 forks source link

Configure build mode for LIT tests. #190

Closed kitbarton closed 9 months ago

kitbarton commented 10 months ago

This change allows us to query the build mode used to build the compiler in LIT tests. This will enable the REQUIRES constraint to disable tests when the compiler is not built with asserts or in debug mode. See https://llvm.org/docs/TestingGuide.html\#constraining-test-execution for more details on constraining test execution.

github-actions[bot] commented 10 months ago

clang-tidy review says "All clean, LGTM! :+1:"