-
Notifications
You must be signed in to change notification settings - Fork 2
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
Add release checklist test: "Rackunit tests" #33
Comments
@rmculpepper what would we need to do to be able to run the release tests automatically? Can we fix rackunit not to expect any to fail? |
I think it would make sense to just remove the running of the |
How does drdr not count that as a failure? |
For reference, here's a recent DrDr run: http://drdr.racket-lang.org/43651/racket/share/pkgs/rackunit-test/tests/rackunit/run-tests.rkt |
Because the Anyway, that means the code in
So if the expected failures all start passing then DrDr will notice the stderr output and fail. I don't know how this works if only one of the expected failure tests starts passing all of a sudden, but the other ones keep failing. I think DrDr will notice a change in what's printed to stdout but won't consider it a failure. I really ought to finish racket/rackunit#59 already and use that for racket/rackunit#79, that would make all of this much simpler.
Mentioned this a bit in #27 but it's painful when some tests are run in some setups and not others in ways that aren't documented or discoverable. I'd much rather just fix those tests to not do sneaky things with stdout, stderr, or the test log in the first place. |
So does that mean that checking the exit code is sufficient here, and so Docker is all good? |
I think so, yes. |
Owned by Ryan Culpepper. Command:
racket -l tests/rackunit/run-tests
. Some tests are expected to fail which is a blocker for automation in the Docker script.This is different from how rackunit's tests are run in Travis CI and DrDr. Perhaps this could be replaced with
raco test -p --drdr racket-lib rackunit-test
instead? That takes care of the expected failures problem.The text was updated successfully, but these errors were encountered: