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

Ensure make test runs all the tests #92

Merged
merged 1 commit into from Mar 12, 2016
Merged

Conversation

djs55
Copy link
Member

@djs55 djs55 commented Mar 12, 2016

Before this patch there were 2 distinct test suites:

  • make test: runs the tests from the _oasis file
  • test.sh: runs a set of shell script based tests

The opam file only mentioned test.sh, so some of the tests were
effectively hidden from travis (.. and initially from me too)

Since the discussion on #54 says that we're phasing out test.sh,
this patch extends make test to call test.sh internally, and
makes the opam file run make test. This ensures that travis (and
developers) run all the tests rather than a subset. No-one need
know about the details of test.sh, and we can take our time to
refactor them.

Fixes #58

Signed-off-by: David Scott dave.scott@docker.com

Before this patch there were 2 distinct test suites:

- `make test`: runs the tests from the _oasis file
- `test.sh`: runs a set of shell script based tests

The `opam` file only mentioned `test.sh`, so some of the tests were
effectively hidden from travis (.. and initially from me too)

Since the discussion on mirage#54 says that we're phasing out `test.sh`,
this patch extends `make test` to call `test.sh` internally, and
makes the `opam` file run `make test`. This ensures that travis (and
developers) run all the tests rather than a subset. No-one need
know about the details of `test.sh`, and we can take our time to
refactor them.

Fixes mirage#58

Signed-off-by: David Scott <dave.scott@docker.com>
djs55 added a commit that referenced this pull request Mar 12, 2016
Ensure `make test` runs all the tests
@djs55 djs55 merged commit d95e5a9 into mirage:master Mar 12, 2016
@djs55 djs55 deleted the fix-make-test branch March 12, 2016 15:37
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.

None yet

1 participant