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 e0a65c9

Browse files
fix: use quotes for filepaths
1 parent 1bbe1d4 commit e0a65c9

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

‎Dockerfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -38,4 +38,4 @@ WORKDIR /app/syntest-javascript-benchmark
3838
COPY .syntest.json .
3939
RUN npm run local:install
4040

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

‎run_experiment.py

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -157,8 +157,8 @@
157157

158158
presets = [
159159
"random",
160-
"NSGAII",
161-
"MOSA",
160+
# "NSGAII",
161+
# "MOSA",
162162
"DynaMOSA"
163163
# "SPEAII",
164164
# "MOSASPEAII",
@@ -194,7 +194,7 @@
194194

195195
def call_script(args):
196196
(name, iteration, preset, project, analysis, filepath) = args
197-
command = "docker run -it --name {} -e target_root_directory={} -e target_include={} -e analysis_include={} -e preset={} -e time=180 syntest-{}".format(name, project, filepath, analysis, preset, config)
197+
command = "docker run -it --name {} -e target_root_directory='{}' -e target_include='{}' -e analysis_include='{}' -e preset='{}' -e time=180 syntest-{}".format(name, project, filepath, analysis, preset, config)
198198
print("Starting command with configuration: {} {} {} {} {}".format(name, iteration, preset, project, filepath))
199199
result = subprocess.call(command, shell=True)
200200
print("Completed command with configuration: {} {} {} {} {}".format(name, iteration, preset, project, filepath))

0 commit comments

Comments
(0)

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