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

Fix 152 make tests #156

Merged
merged 3 commits into from
Dec 22, 2017

Conversation

giovannipizzi
Copy link
Member

This fixes #152.
Now there is a make tests that runs both serial and parallel tests, and make test-serial and make test-parallel for the two options.

For ./clean_tests, I tried with git archive --format=tar.gz --prefix=wannier90/ HEAD >wannier90.tar.gz and I think it only exports things that are committed. Since it exports also .gitignore files, the clean_tests should work - note that make clean only remove things that are safe, you need to pass the -i flag to clean also files that are generated. This list is obtained from the ignored files by git, and it's triggered by make veryclean.
The issue is probably that make clean also needs the make.inc file that is not there by default, maybe this is the reason why it crashes? But in this case I think it is not a problem, the archive should be 'clean' by default and one does not need to do make clean on a new archive. So I think this PR solves all points of #152.

@jryates jryates merged commit 40adf82 into wannier-developers:develop Dec 22, 2017
@giovannipizzi giovannipizzi deleted the fix_152_make_tests branch June 23, 2018 14:28
@jimustafa jimustafa mentioned this pull request Jun 28, 2018
manxkim pushed a commit to manxkim/wannier90 that referenced this pull request Jan 10, 2021
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

Successfully merging this pull request may close these issues.

Tests and Makefile
2 participants