-
Notifications
You must be signed in to change notification settings - Fork 5.6k
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
Path errors when running make test
#367
Comments
Did you cmake again after git pull? Please use ctest -V to print out the error message. |
Do you make install the paddle? You can use |
@yu239 Yes. That was what I did. I got the error messages. They are all path errors, like the following for
|
@skylian |
Maybe the problem of python path. You can use |
@hedaoyuan @luotao1 The problem is in I What is the purpose of the line? |
@skylian 如果简单的说,原因就是 复杂一点说,如果 这会导致,在运行单元测试的时候,使用了一个旧版本的python包,而没有测试到代码中实际修改的python包。 |
@luotao1 也许我们可以把这个事情放到FAQ里面。 |
@reyoung 我可以把这个整理下放到FAQ中,这个问题已经出现了很多次了 |
@reyoung got it! |
* add serial and depthwise_conv2d
* add stargan pretrain model * 1.add face enhancement. 2.fix edge problem * 1.add face enhancement. 2.fix edge problem * 1.add face enhancement. 2.fix edge problem * 1.add face enhancement. 2.fix edge problem * 1.add face enhancement. 2.fix edge problem * 1.add face enhancement. 2.fix edge problem
After
mkdir build && cd build
andcmake ..
, runningmake test
under the folderbuild
will fail on the following tests:The causes are all about path errors. For example, on line 39 of test_PyDataProvider.cpp , the required file is not under
build/paddle/gserver/tests
, but underpaddle/gserver/tests
.Copying all necessary files into
build
folder will solve the problems.The text was updated successfully, but these errors were encountered: