Skip to content

Commit eeef37e

Browse files
committed
remove prints and adjust commands
1 parent 88ac6ce commit eeef37e

3 files changed

Lines changed: 3 additions & 2 deletions

File tree

utils/appverifier_launch_sample.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -52,7 +52,7 @@ def launchSample(sample_file, sample_region, sample_secret_endpoint, sample_secr
5252
for arg in sample_arguments_split:
5353
launch_arguments.append(arg)
5454

55-
print(f"Running sample... {launch_arguments}")
55+
print("Running sample...")
5656
exit_code = 0
5757
sample_return = subprocess.run(
5858
args=launch_arguments, executable=sample_file)

utils/run_in_ci.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -325,7 +325,7 @@ def launch_runnable(runnable_dir):
325325
runnable_file = os.path.join(runnable_dir, config_json['runnable_file'])
326326
# For cpp, argv[0] is the program name, so we need to add the runnable_file as the first argument
327327
config_json_arguments_list.insert(0, runnable_file)
328-
runnable_return = subprocess.run(args=config_json_arguments_list, input=subprocess_stdin, timeout=runnable_timeout, executable="")
328+
runnable_return = subprocess.run(args=config_json_arguments_list, input=subprocess_stdin, timeout=runnable_timeout, executable=runnable_file)
329329
exit_code = runnable_return.returncode
330330

331331
elif (config_json['language'] == "Python"):

utils/run_sample_ci.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -289,6 +289,7 @@ def launch_sample():
289289
# C++
290290
elif (config_json['language'] == "CPP"):
291291
try:
292+
# For cpp, argv[0] is the program name, so we need to add the runnable_file as the first argument
292293
config_json_arguments_list.insert(0, config_json['sample_file'])
293294
sample_return = subprocess.run(
294295
args=config_json_arguments_list, executable=config_json['sample_file'], timeout=600, capture_output=True, text=True)

0 commit comments

Comments
 (0)