Skip to content
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 publish in the README how to run tests #63

Closed
yurivict opened this issue Jul 17, 2023 · 3 comments
Closed

Please publish in the README how to run tests #63

yurivict opened this issue Jul 17, 2023 · 3 comments

Comments

@yurivict
Copy link

Configuring with -DBUILD_SHARED_LIBS=ON builds test executables, nut it isn't clear how to run tests.

@dpryan79
Copy link
Owner

You would just run the standard make test, which will also build the test executables and run them.

@yurivict
Copy link
Author

yurivict commented Jan 18, 2025

The test target doesn't exist:

ninja: error: unknown target 'test', did you mean 'help'?

cmake scripts should have add_test instructions but I can't find any in the sources.

@dpryan79
Copy link
Owner

Ah, sorry the cmake stuff was provided by someone else. I don't really support that and only use the Makefile, where make test does work.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants