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

feature request: make excluding tests #1

Open
andres-erbsen opened this issue Feb 7, 2019 · 1 comment
Open

feature request: make excluding tests #1

andres-erbsen opened this issue Feb 7, 2019 · 1 comment

Comments

@andres-erbsen
Copy link
Contributor

map solver tests take a while compared to rest of the repo

@samuelgruetter
Copy link
Contributor

Here's how you can do that:

  • Move all test files into a separate folder (eg a sibling of src, or src/test).
  • In the Makefile, duplicate all rules and variable definitions containing all or ALL, replacing all/ALL by notest/NOTEST, and filter out the test files in the find command.
  • In the toplevel Makefile of bedrock2, invoke $(MAKE) -C $(DEPS_DIR)/coqutil notest for the coqutil target, but do include a separate target called test_coqutil and make sure it runs when you do a toplevel make all.

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