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

Some integration tests not being run in CI #995

Closed
robdockins opened this issue Jan 8, 2021 · 7 comments
Closed

Some integration tests not being run in CI #995

robdockins opened this issue Jan 8, 2021 · 7 comments
Assignees
Labels
priority High-priority issues tooling: CI Issues involving CI/CD scripts or processes

Comments

@robdockins
Copy link
Contributor

It appears the integration test suite is not being run in CI jobs, which allows errors like #994 to occur.

@robdockins robdockins added priority High-priority issues tooling: test infrastructure Issues involving test infrastructure or test execution, or making SAW more testable labels Jan 8, 2021
@RyanGlScott
Copy link
Contributor

CI is running the integration tests—see here. The issue is that CI is excluding certain tests, including test_examples (the subject of #994) here.

@atomb atomb changed the title integration tests not being run in CI Some integration tests not being run in CI Jan 15, 2021
@kquick kquick self-assigned this Jan 15, 2021
@kquick
Copy link
Member

kquick commented Jan 15, 2021

If test suite invoked SAW directly instead of as a sub-process, this might enable better coverage reporting. Still probably need at least a couple of tests that invoke the executable to ensure that part works correctly.

brianhuffman pushed a commit that referenced this issue Jan 16, 2021
This should make the `test_examples` integration test work again.

See also #995.
@brianhuffman
Copy link
Contributor

brianhuffman commented Jan 18, 2021

I made this comment in #1013, but I thought I should repeat it here. This CI script contains this list of excluded tests:

for t in test0001 test0019_jss_switch_statement test_crucible_jvm test_ecdsa test_examples test_issue108 test_tutorial1 test_tutorial2 test_tutorial_w4; do echo $t >> disabled_tests.txt; done

It would be nice to add comments explaining why each of these tests is excluded, to make it easier to know if/when it is appropriate to add each one back in. And any test that is actually broken should have a ticket.

@brianhuffman
Copy link
Contributor

Just for historical context, here are the commits that introduced the lists of excluded tests: e905271, 4acafb3.

The file intTests/disabled_tests.txt actually does contain comments explaining why certain tests are excluded. It appears CI excludes the tests named in the CI scripts themselves in addition to the ones listed in this file.

@brianhuffman
Copy link
Contributor

As of #1070, .github/ci.sh no longer excludes any additional tests (besides those explicitly excluded in intTests/disabled_tests.txt). Is this sufficient to close this ticket?

@kquick
Copy link
Member

kquick commented Feb 15, 2021

I believe it can, if @rdockins and @RyanGlScott don't have any objections. Thanks @brianhuffman !

@RyanGlScott
Copy link
Contributor

Sounds good to me. I agree with this part of #1070:

If there is a specific reason for any integration test to be
excluded from CI, the rationale for exclusion should be given
in a comment inside disabled_tests.txt.

@sauclovian-g sauclovian-g added tooling: CI Issues involving CI/CD scripts or processes and removed tooling: test infrastructure Issues involving test infrastructure or test execution, or making SAW more testable labels Oct 24, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
priority High-priority issues tooling: CI Issues involving CI/CD scripts or processes
Projects
None yet
Development

No branches or pull requests

5 participants