Skip to content

Commit

Permalink
update testing scripts
Browse files Browse the repository at this point in the history
  • Loading branch information
peco0x00 committed Jan 23, 2024
1 parent 58c6df4 commit c44a2ee
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion scripts/gen_tests.py
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,8 @@ def preprocess():

def build():
os.chdir(TEST_REPO)
subprocess.run(f"npm install; node --experimental-specifier-resolution=node {os.path.join('src', 'index.js')}", shell=True)
subprocess.run(["npm", "install"])
subprocess.run(["node", "--experimental-specifier-resolution", "node", os.path.join("src", "index.js")])
os.chdir(ENRE_REPO)
for file in os.listdir(test_paths["suites"]):
if not file.endswith(".java"):
Expand Down

0 comments on commit c44a2ee

Please sign in to comment.