Bug 1928619 - test262-export: include the test262-local sm/non262.js harness file; r=dminor

Differential Revision: https://phabricator.services.mozilla.com/D227653
This commit is contained in:
Ms2ger 2024-12-02 15:58:08 +00:00
parent e7a72809c5
commit 1592877e00

View file

@ -33,7 +33,7 @@ SUPPORT_FILES = set(
# Run once per subdirectory
def findAndCopyIncludes(dirPath: str, baseDir: str, includeDir: str) -> "list[str]":
relPath = os.path.relpath(dirPath, baseDir)
includes: list[str] = []
includes: list[str] = ["sm/non262.js"]
os.makedirs(os.path.join(includeDir, "sm"), exist_ok=True)
# Recurse down all folders in the relative path until