提交 b3361194 编写于 作者: Q qingqing01

Add WITH_TESTING=ON for cmake in the operators writing guide doc.

上级 c19eae4c
......@@ -312,7 +312,7 @@ class TestMulOp(unittest.TestCase):
py_test(test_mul_op SRCS test_mul_op.py)
```
编译完成之后即可执行单测
编译时需要打开`WITH_TESTING`, 即 `cmake paddle_dir -DWITH_TESTING=ON`,编译成功之后执行单测命令为
```
make test ARGS="-R test_mul_op -V"
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册