Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit a81e7bd

Browse files
fix: update docker container
1 parent cfb3224 commit a81e7bd

File tree

2 files changed

+3
-2
lines changed

2 files changed

+3
-2
lines changed

‎Dockerfile

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,7 @@ FROM node:lts
33
# set environment variables for run time
44
ENV target_root_directory=
55
ENV target_include=
6+
ENV analysis_include=
67
ENV preset=
78
ENV time=
89

@@ -37,4 +38,4 @@ WORKDIR /app/syntest-javascript-benchmark
3738
COPY .syntest.json .
3839
RUN npm run local:install
3940

40-
CMD timeout -k 25m 25m npx syntest javascript test --target-root-directory=${target_root_directory} --include=${include} --preset=${preset} --total-time=${time}
41+
CMD timeout -k 25m 25m npx syntest javascript test --target-root-directory=${target_root_directory} --target-include=${include} --analysis-include=${analysis_include} --preset=${preset} --total-time=${time}

‎run_experiment.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -168,7 +168,7 @@
168168

169169
def call_script(args):
170170
(name, iteration, preset, project, filepath) = args
171-
command = "docker run -it --name {} -e target_root_directory={} -e target_include={} -e analysis-include={}/**/*.js -e preset={} -e time=180 syntest-brp-2023-{}".format(name, project, filepath, project, preset, config)
171+
command = "docker run -it --name {} -e target_root_directory={} -e target_include={} -e analysis_include={}/**/*.js -e preset={} -e time=180 syntest-brp-2023-{}".format(name, project, filepath, project, preset, config)
172172
print("Starting command with configuration: {} {} {} {} {}".format(name, iteration, preset, project, filepath))
173173
result = subprocess.call(command, shell=True)
174174
print("Completed command with configuration: {} {} {} {} {}".format(name, iteration, preset, project, filepath))

0 commit comments

Comments
(0)

AltStyle によって変換されたページ (->オリジナル) /