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

'make test' fails due to missing test/test_all.sh #8

Closed
noloader opened this issue May 13, 2019 · 3 comments
Closed

'make test' fails due to missing test/test_all.sh #8

noloader opened this issue May 13, 2019 · 3 comments

Comments

@noloader
Copy link
Contributor

noloader commented May 13, 2019

Hi Everyone,

I'm testing ldns 1.7.0 from the release tarball. make builds the library OK. make test is failing after the build:

make test
...

if test -x "`which bash`"; then bash test/test_all.sh; else sh test/test_all.sh; fi
bash: test/test_all.sh: No such file or directory
gmake: *** [Makefile:461: test] Error 127

Maybe that test should be [ -f test/test_all.sh] or don't try the self tests.

@wtoorop
Copy link
Member

wtoorop commented May 15, 2019

Acknowledged @noloader ,

The release tarballs do intentionally not include the unit tests (and a lot of other stuff we do not ship with the release), but does still have the test target in the Makefile. I'll remove the test target and start unit tests from a .travis.yml file...

@noloader
Copy link
Contributor Author

noloader commented May 15, 2019

The release tarballs do intentionally not include the unit tests

Thanks.

Typically one tests the build with a make check.

How do I test the build? Specifically, I'm trying to perform Sanitizer testing using UBsan and Asan.

@noloader noloader mentioned this issue May 16, 2019
@wtoorop
Copy link
Member

wtoorop commented Jun 3, 2019

You can run the tests when checking out the source repository

@wtoorop wtoorop closed this as completed Jun 3, 2019
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