-
Notifications
You must be signed in to change notification settings - Fork 42
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
Please explain in README how to run tests #257
Comments
Are you on Windows or on a UNIX os? |
I am on UNIX (FreeBSD). |
Hi @yurivict mkdir build
cd build
cmake . .. -DBUILD_TESTS=ON
make
cd test
./ezc3d_test That said, the tests you pointed that failed are some reading tests which necessitate actual c3d files. Do you see these files in the test folder? They should have been downloaded by CMake and moved to the build/test folder. If they haven't I suspect that the move command failed... For the python tests, it goes the same. The tests must be ran from the build folder. So either you should copy the python test file or run pytest as suggested in the .appveyor.yml file: Please confirm that this helps, if so, I will add this to the ReadMe :) |
Tests weren't run from the test subdirectory. Now they run fine. Thank you for your help! |
When BUILD_TESTS=ON it only builds the test executable but there is no test target.
When I run the
ezc3d_test
executable many tests fail:The text was updated successfully, but these errors were encountered: