Commit ae944eb8 authored by Nagy Mostafa's avatar Nagy Mostafa Committed by Scott Cyphers

Disable debugger tests (#3451)

parent bb6132b7
...@@ -52,7 +52,7 @@ bool static is_codegen_mode() ...@@ -52,7 +52,7 @@ bool static is_codegen_mode()
} }
// These tests are for DEX mode only. // These tests are for DEX mode only.
TEST(debugger, add_breakpoint) TEST(debugger, MLIR_DISABLE_TEST(add_breakpoint))
{ {
if (is_codegen_mode()) if (is_codegen_mode())
{ {
...@@ -96,7 +96,7 @@ TEST(debugger, add_breakpoint) ...@@ -96,7 +96,7 @@ TEST(debugger, add_breakpoint)
ASSERT_EQ(*static_cast<int*>(dbg.inspect(neg)), -777); ASSERT_EQ(*static_cast<int*>(dbg.inspect(neg)), -777);
} }
TEST(debugger, stepping) TEST(debugger, MLIR_DISABLE_TEST(stepping))
{ {
if (is_codegen_mode()) if (is_codegen_mode())
{ {
...@@ -141,7 +141,7 @@ TEST(debugger, stepping) ...@@ -141,7 +141,7 @@ TEST(debugger, stepping)
ASSERT_EQ(*static_cast<int*>(dbg.inspect(neg)), -777); ASSERT_EQ(*static_cast<int*>(dbg.inspect(neg)), -777);
} }
TEST(debugger, delete_breakpoint) TEST(debugger, MLIR_DISABLE_TEST(delete_breakpoint))
{ {
if (is_codegen_mode()) if (is_codegen_mode())
{ {
...@@ -189,7 +189,7 @@ TEST(debugger, delete_breakpoint) ...@@ -189,7 +189,7 @@ TEST(debugger, delete_breakpoint)
ASSERT_EQ(*static_cast<int*>(dbg.inspect(neg)), -777); ASSERT_EQ(*static_cast<int*>(dbg.inspect(neg)), -777);
} }
TEST(debugger, while_stepping) TEST(debugger, MLIR_DISABLE_TEST(while_stepping))
{ {
if (is_codegen_mode()) if (is_codegen_mode())
{ {
...@@ -235,7 +235,7 @@ TEST(debugger, while_stepping) ...@@ -235,7 +235,7 @@ TEST(debugger, while_stepping)
ASSERT_EQ(*static_cast<int*>(dbg.inspect(neg)), -777); ASSERT_EQ(*static_cast<int*>(dbg.inspect(neg)), -777);
} }
TEST(debugger, resume) TEST(debugger, MLIR_DISABLE_TEST(resume))
{ {
if (is_codegen_mode()) if (is_codegen_mode())
{ {
...@@ -279,7 +279,7 @@ TEST(debugger, resume) ...@@ -279,7 +279,7 @@ TEST(debugger, resume)
ASSERT_EQ(*static_cast<int*>(dbg.inspect(neg)), -777); ASSERT_EQ(*static_cast<int*>(dbg.inspect(neg)), -777);
} }
TEST(tracer, basic) TEST(tracer, MLIR_DISABLE_TEST(basic))
{ {
Shape shape{}; Shape shape{};
auto A = make_shared<op::Parameter>(element::i32, shape); auto A = make_shared<op::Parameter>(element::i32, shape);
...@@ -319,7 +319,7 @@ TEST(tracer, basic) ...@@ -319,7 +319,7 @@ TEST(tracer, basic)
dbg.call({result}, {a, b}); dbg.call({result}, {a, b});
} }
TEST(tracer, count_tracepoint) TEST(tracer, MLIR_DISABLE_TEST(count_tracepoint))
{ {
Shape shape{}; Shape shape{};
auto A = make_shared<op::Parameter>(element::i32, shape); auto A = make_shared<op::Parameter>(element::i32, shape);
...@@ -360,7 +360,7 @@ TEST(tracer, count_tracepoint) ...@@ -360,7 +360,7 @@ TEST(tracer, count_tracepoint)
} }
} }
TEST(tracer, conditional_tracepoint) TEST(tracer, MLIR_DISABLE_TEST(conditional_tracepoint))
{ {
Shape shape{}; Shape shape{};
auto A = make_shared<op::Parameter>(element::i32, shape); auto A = make_shared<op::Parameter>(element::i32, shape);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment