未验证 提交 d825e232 编写于 作者: X Xianduo Li 提交者: GitHub

test ci pattern_rewrite on mac_apple test=develop (#56586)

* test ci pattern_rewrite on mac_apple test=develop

* remove todo test=develop
上级 662df299
...@@ -1084,9 +1084,6 @@ void BuildProgram(ir::Builder &builder) { // NOLINT ...@@ -1084,9 +1084,6 @@ void BuildProgram(ir::Builder &builder) { // NOLINT
} }
// TODO(wilber): Add a normal test. // TODO(wilber): Add a normal test.
// TODO(wanghao107) fix this test on
// mac_py3 CI
#if !defined(__APPLE__)
TEST(pattern_rewrite, Patterns) { TEST(pattern_rewrite, Patterns) {
ir::IrContext *ctx = ir::IrContext::Instance(); ir::IrContext *ctx = ir::IrContext::Instance();
auto *test_dialect = ctx->GetOrRegisterDialect<Conv2dFusionTestDialect>(); auto *test_dialect = ctx->GetOrRegisterDialect<Conv2dFusionTestDialect>();
...@@ -1116,4 +1113,3 @@ TEST(pattern_rewrite, Patterns) { ...@@ -1116,4 +1113,3 @@ TEST(pattern_rewrite, Patterns) {
CHECK_EQ(pm.Run(&program), true); CHECK_EQ(pm.Run(&program), true);
} }
#endif
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册