Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

chore: add tests to reproduce libquil-sys compilation failure #404

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

jselig-rigetti
Copy link
Contributor

@jselig-rigetti jselig-rigetti commented Nov 29, 2023

I expect the error in crates/lib/src/compiler/libquil.rs to fail, or at least it does for me locally.

EDIT: running multiple tests seems to work, but running the individual test alone gives the error:

# passes
cargo test --package qcs --lib --features otel-tracing,libquil -- compiler::libquil::test::get_version_info_from_quilc compiler::libquil::test::test_parametric_compilation --nocapture

# fails
cargo test --package qcs --lib --features otel-tracing,libquil -- compiler::libquil::test::test_parametric_compilation --nocapture 

the error:

program should compile: QuilcCompilation(Libquil(Quilc(CompileProtoquil("arithmetic error DIVISION-BY-ZERO signalled"))))

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