Skip to content

Commit 8b54d73

Browse files
committed
's/SERENITY_SOURCE_DIR/LADYBIRD_SOURCE_DIR/g'
1 parent b7e2587 commit 8b54d73

File tree

4 files changed

+6
-6
lines changed

4 files changed

+6
-6
lines changed

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@ To clone test262, clone ladybird and build Lagom run:
2525
```
2626

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

3030
Once that's done, run:
3131

cmake/FetchLagom.cmake

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -11,9 +11,9 @@ FetchContent_Declare(lagom
1111
)
1212

1313
# Allow developers to skip download/update steps with local checkout
14-
if (SERENITY_SOURCE_DIR)
15-
set(FETCHCONTENT_SOURCE_DIR_LAGOM ${SERENITY_SOURCE_DIR} CACHE PATH "Developer's pre-existing serenity source directory" FORCE)
16-
message(STATUS "Using pre-existing SERENITY_SOURCE_DIR: ${SERENITY_SOURCE_DIR}")
14+
if (LADYBIRD_SOURCE_DIR)
15+
set(FETCHCONTENT_SOURCE_DIR_LAGOM ${LADYBIRD_SOURCE_DIR} CACHE PATH "Developer's pre-existing serenity source directory" FORCE)
16+
message(STATUS "Using pre-existing LADYBIRD_SOURCE_DIR: ${LADYBIRD_SOURCE_DIR}")
1717
endif()
1818

1919
# Can't use FetchContent_MakeAvailable b/c we want to use the Lagom build, not the main build

run_all_and_update_results.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -139,7 +139,7 @@ def main() -> None:
139139
test_js_output = json.loads(
140140
run_command(
141141
f"{serenity_test_js} --test262-parser-tests {test262_parser_tests} --json",
142-
env={"SERENITY_SOURCE_DIR": str(serenity)},
142+
env={"LADYBIRD_SOURCE_DIR": str(serenity)},
143143
)
144144
)
145145
test_js_results = test_js_output["results"]["tests"]

setup.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ fi
1414
mkdir -p "${LIBJS_TEST262_BUILD_DIR}"
1515
pushd "${LIBJS_TEST262_BUILD_DIR}"
1616
log libjs-test262-runner "Running CMake..."
17-
cmake -GNinja .. -DSERENITY_SOURCE_DIR="${SERENITY_SOURCE_DIR}"
17+
cmake -GNinja .. -DLADYBIRD_SOURCE_DIR="${LADYBIRD_SOURCE_DIR}"
1818

1919
log libjs-test262-runner "Building..."
2020
cmake --build . --target test262-runner test-js

0 commit comments

Comments
 (0)