-
Notifications
You must be signed in to change notification settings - Fork 4
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
Official Testsuite Runner #112
Open
nerodesu017
wants to merge
4
commits into
main
Choose a base branch
from
nero/dev/testsuite-runner
base: main
Could not load branches
Branch not found: {{ refName }}
Loading
Could not load tags
Nothing to show
Loading
Are you sure you want to change the base?
Some commits from the old base branch may be removed from the timeline,
and old review comments may become outdated.
Open
+1,408
−182
Conversation
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
github-actions
bot
added
core
execution
validation
tests
priority-high
priority-medium
labels
Dec 16, 2024
nerodesu017
force-pushed
the
nero/dev/testsuite-runner
branch
5 times, most recently
from
December 17, 2024 13:24
14f2dd5
to
5d776f7
Compare
nerodesu017
force-pushed
the
nero/dev/testsuite-runner
branch
3 times, most recently
from
January 13, 2025 15:47
d8e21d6
to
750e5b6
Compare
nerodesu017
force-pushed
the
nero/dev/testsuite-runner
branch
4 times, most recently
from
January 20, 2025 14:02
8def0b8
to
42dda9b
Compare
nerodesu017
force-pushed
the
nero/dev/testsuite-runner
branch
from
January 27, 2025 13:22
6fd926c
to
b7f554e
Compare
nerodesu017
requested review from
george-cosma,
florianhartung,
wucke13 and
cemonem
and removed request for
george-cosma and
florianhartung
January 27, 2025 13:41
nerodesu017
force-pushed
the
nero/dev/testsuite-runner
branch
2 times, most recently
from
January 27, 2025 13:47
0cb7ed2
to
6b4f96d
Compare
nerodesu017
force-pushed
the
nero/dev/testsuite-runner
branch
5 times, most recently
from
January 27, 2025 15:17
1982d04
to
bb8e9f0
Compare
Can't use harness with [[test]] in Cargo.toml because nix action will whine about output. |
nerodesu017
force-pushed
the
nero/dev/testsuite-runner
branch
5 times, most recently
from
January 27, 2025 16:10
9f94765
to
50f647d
Compare
cemonem
previously approved these changes
Feb 3, 2025
george-cosma
previously approved these changes
Feb 3, 2025
github-merge-queue
bot
removed this pull request from the merge queue due to a conflict with the base branch
Feb 3, 2025
CHANGELOG - fixed testsuite runner panicking - fixed wrong Span length - fixed debug assertions on import (moved to using full name on function call) - removed invoke_dynamic_unchecked_return_ty from debug_assertions - added runtime error stringification to testsuite runner - assert_malformed implementation - fixed locals validation check - added the support for testing singular files in the wasm testsuite (for easier debugging) - added support for assert_invalid + lonely invoke - modified reports' output for unknown line number - added check for when there are multiple memories (along with the imported memories) - fixed memarg alignment - fixed check for memory instances - added copyright notice - implemented correct assert_eq for floats - catch_unwind instantiation (as it can panic) and impl Error for our Error types - fixed float operations - fixed memory.fill operation - moved more panics and asserts to errors - README for test runner - fixed memarg.align checks - removed the display of stacktraces from panics - added display of tests in a decreasing order based on the percentage of inner tests that pass - fixed MemArg::read so that we correctly read the offset (it can be a u64, and we have to be careful of overflowing) - made read_var_u32 depend on read_var_u64 so we catch all overflows - fixed float operations: ceil, floor, trunc, nearest, min, max - removed wrong tests in f32.rs and f64.rs - better test results display Signed-off-by: nerodesu017 <[email protected]>
Signed-off-by: nerodesu017 <[email protected]>
…utput to console Signed-off-by: nerodesu017 <[email protected]>
Signed-off-by: nerodesu017 <[email protected]>
nerodesu017
dismissed stale reviews from george-cosma and cemonem
via
February 3, 2025 13:00
f3cf3dc
nerodesu017
force-pushed
the
nero/dev/testsuite-runner
branch
from
February 3, 2025 13:00
50f647d
to
f3cf3dc
Compare
cemonem
approved these changes
Feb 3, 2025
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Pull Request Overview
This is an on-going PR focused on making the spec test runner work again + add more to it.
Additions:
proposals
folder, for example, or files related toSIMD
, which we do not implement (yet), and that give us a rough time)assert_trap
being implementeddebug
(withdebug_assertions
) related code for stringifying errors and other features for QoL when debuggingEND
instruction, but it is a problem when theEND
is EOF and we return +1 byte and we throw an error when doing a later check - see src/validation/read_constant_expression.rsSee commit message for more!
Testing Strategy
This pull request was tested by... N/A
TODO or Help Wanted
This pull request still needs... N/A
Formatting
cargo fmt
cargo check
cargo build
cargo doc
nix fmt
Github Issue
This pull request closes <GITHUB_ISSUE>