-
Notifications
You must be signed in to change notification settings - Fork 217
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
feat(ava-xs): handle most zoe tests #2573
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
The changes to Zoe tests look good to me. I didn't review the xsnap changes. Let me know if you want me to look at that.
@@ -168,17 +168,29 @@ function createHarness(send) { | |||
/** | |||
* @param {*} exc | |||
* @param {Expectation} expectation | |||
* @returns {boolean} | |||
* @returns {null | { expected: unknown, actual: unknown }} |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@erights has advised pretending null
doesn’t exist and favoring | void
generally.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
pointer to said advice? I'd like to add it to /~https://github.com/Agoric/agoric-sdk/wiki/Code-Review-Checklist , along with rationale.
I find it odd that we'd prefer undefined
over null
, since JSON groks null
.
9852e8f
to
f727b83
Compare
What the #$%!#@ does this mean? Why did it exit with code 1?
-- /~https://github.com/Agoric/agoric-sdk/pull/2573/checks?check_run_id=2044135404 |
yarn test:node && yarn test:xs-unit && yarn test:xs-worker
Maybe one of the latter commands is failing without printing any output?
…On Fri, Mar 5, 2021 at 9:16 PM Dan Connolly ***@***.***> wrote:
What the #$%!#@ does this mean? Why did it exit with code 1?
312 tests passed
3 known failures
9 tests skipped
15 tests todo
error Command failed with exit code 1.
--
/~https://github.com/Agoric/agoric-sdk/pull/2573/checks?check_run_id=2044135404
—
You are receiving this because your review was requested.
Reply to this email directly, view it on GitHub
<#2573 (comment)>,
or unsubscribe
</~https://github.com/notifications/unsubscribe-auth/AAAOXBR5FXZQUHA6IN3COHLTCG3DDANCNFSM4YSI3PAQ>
.
|
0a329e6
to
f3f9aec
Compare
- support -v / --verbose - xsnap: add glob, @agoric/assert dependencies. hm... having ava-xs in the xsnap package is increasingly awkward
- add a separate test:xs-unit-debug script, since `ava-xs --verbose --debug` isn't yet supported
- clean up some lint
- elaborate diagnostics for checkExpectation
The code running inside xsnap can't see crank boundaries, so don't bother to count planned assertions there. Count on the node parent side.
due to intermittent SEGV
Co-authored-by: Kris Kowal <kris@agoric.com>
Co-authored-by: Kris Kowal <kris@agoric.com>
Yay! all the robots are finally happy! I suppose I should have double-checked with the people but I lost patience. |
fixes #370
modulo a handful of explicitly exclude tests
fixes #2572
Each test runs its own crank.
This is a draft to see if it works reasonably well under ci.