Skip to content

Commit

Permalink
SerenityOS -> Ladybird
Browse files Browse the repository at this point in the history
  • Loading branch information
ADKaster committed Jun 3, 2024
1 parent ed5c11c commit b7e2587
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 7 deletions.
8 changes: 4 additions & 4 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# LibJS test262

> Run the [Official ECMAScript Conformance Test Suite](https://github.com/tc39/test262) with [SerenityOS](https://github.com/SerenityOS/serenity)'s [`LibJS`](https://github.com/SerenityOS/serenity/tree/master/Userland/Libraries/LibJS)
> Run the [Official ECMAScript Conformance Test Suite](https://github.com/tc39/test262) with [Ladybird](https://github.com/LadybirdWebBrowser/ladybird)'s [`LibJS`](https://github.com/LadybirdWebBrowser/ladybird/tree/master/Userland/Libraries/LibJS)
## Installation

Expand All @@ -18,14 +18,14 @@ Dependencies are:

## Usage

To clone test262, clone serenity and build Lagom run:
To clone test262, clone ladybird and build Lagom run:

```console
./setup.sh
```

The repositories will only be cloned if they don't exist yet locally.
If `SERENITY_SOURCE_DIR` is set, it will be used to compile the runner instead of cloning serenity.
If `SERENITY_SOURCE_DIR` is set, it will be used to compile the runner instead of cloning ladybird.

Once that's done, run:

Expand All @@ -38,7 +38,7 @@ python3 main.py --libjs-test262-runner ./Build/bin/test262-runner --test262-root
```text
usage: main.py [-h] -j PATH [-t PATH] [-p PATTERN] [-c CONCURRENCY] [--timeout TIMEOUT] [--memory-limit MEMORY_LIMIT] [--json] [--per-file PATH] [-s | -v] [-f] [--parse-only] [--ignore IGNORE] [--forward-stderr] [--summary] [--debug]
Run the test262 ECMAScript test suite with SerenityOS's LibJS
Run the test262 ECMAScript test suite with Ladybird's LibJS
options:
-h, --help show this help message and exit
Expand Down
4 changes: 2 additions & 2 deletions cmake/FetchLagom.cmake
Original file line number Diff line number Diff line change
Expand Up @@ -2,9 +2,9 @@
#
# SPDX-License-Identifier: MIT

# Fetch serenity, so that we can build Lagom from it
# Fetch ladybird, so that we can build Lagom from it
FetchContent_Declare(lagom
GIT_REPOSITORY https://github.com/SerenityOS/serenity.git
GIT_REPOSITORY https://github.com/LadybirdWebBrowser/ladybird.git
GIT_TAG origin/master
GIT_SHALLOW TRUE
SOURCE_DIR serenity
Expand Down
2 changes: 1 addition & 1 deletion main.py
Original file line number Diff line number Diff line change
Expand Up @@ -496,7 +496,7 @@ def write_output(message: Any):

def main() -> None:
parser = ArgumentParser(
description="Run the test262 ECMAScript test suite with SerenityOS's LibJS",
description="Run the test262 ECMAScript test suite with Ladybird's LibJS",
epilog=", ".join(f"{EMOJIS[result]} = {result.value}" for result in TestResult),
)
parser.add_argument(
Expand Down

0 comments on commit b7e2587

Please sign in to comment.