-
Notifications
You must be signed in to change notification settings - Fork 33
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
docs(contributing): Add test runner example (#464)
- Loading branch information
1 parent
2e614b7
commit fceca78
Showing
1 changed file
with
12 additions
and
1 deletion.
There are no files selected for viewing
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
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -8,7 +8,7 @@ said, before you being, you'll want to know a few things. | |
evil or anything, he's just an idiot. | ||
2. Nova's code follows the ECMAScript specification. When in doubt, read, copy, | ||
implement the specification. | ||
3. Testing is mainly based upon the test262 conformance suit. Updating | ||
3. Testing is mainly based upon the test262 conformance suite. Updating | ||
conformance results needs to be done. | ||
|
||
More information is found below. | ||
|
@@ -456,3 +456,14 @@ Some more long-term prospects and/or wild ideas: | |
Nightly features). But it would mean that returning a (sort of) | ||
`Result<Value>` would fit in a register. | ||
- Consider a register based VM instead of going stack based | ||
|
||
# Running the test262 suite | ||
1. Clone this repository with submodules: | ||
|
||
`git clone --recurse-submodules [email protected]:trynova/nova.git` | ||
|
||
2. Execute the test262 runner: | ||
|
||
`cargo build -p nova_cli && cargo run --bin test262` | ||
|
||
**Important:** The test runner executes the compiled `nova_cli` directly. If you have made changes to CLI or VM, ensure that the `nova_cli` target is rebuilt before executing the test runner. |