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

Are runtime tests actually required in CI?? #1485

Open
wants to merge 2 commits into
base: main
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions runtime/tests/Test_NullQubit.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -28,6 +28,7 @@ TEST_CASE("Test success of loading a device", "[NullQubit]")
{
std::unique_ptr<ExecutionContext> driver = std::make_unique<ExecutionContext>();
CHECK(loadDevice("NullQubit", "librtd_null_qubit" + get_dylib_ext()));
CHECK(1 == 0);
}

TEST_CASE("Test __catalyst__rt__device_init registering device=null.qubit", "[NullQubit]")
Expand Down
1 change: 1 addition & 0 deletions runtime/tests/Test_OpenQasmBuilder.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -27,6 +27,7 @@ using namespace Catalyst::Runtime::Device::OpenQasm;
TEST_CASE("Test lookup openqasm gate names from QIR -> OpenQasm map", "[openqasm]")
{
// Check lookup supported gates
CHECK(1 == 0);
CHECK(lookup_qasm_gate_name("PauliX") == "x");
CHECK(lookup_qasm_gate_name("Hadamard") == "h");
CHECK(lookup_qasm_gate_name("CNOT") == "cnot");
Expand Down
1 change: 1 addition & 0 deletions runtime/tests/Test_OpenQasmDevice.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -86,6 +86,7 @@ TEST_CASE("Test BraketRunner", "[openqasm]")
{
auto &&results = runner.runCircuit(circuit, "default", 100);
CHECK(results.find("GateModelQuantumTaskResult") != std::string::npos);
CHECK(1 == 0);
}

SECTION("Test BraketRunner::Probs()")
Expand Down
Loading