fix artifact names, allow to run quick test with a given input list

This commit is contained in:
Trung Nguyen
2024-10-14 09:43:08 -05:00
parent 383ae086e5
commit 3e7642bc8c
2 changed files with 10 additions and 1 deletions

View File

@ -1370,6 +1370,14 @@ if __name__ == "__main__":
example_inputs.append(input)
num_inputscripts += 1
# allow to select randomly some input scripts at this point if quick is set to be True
if quick:
if len(example_inputs) > quick_max:
example_inputs = random.sample(example_inputs, quick_max)
msg = "\nTesting " + str(quick_max) + " randomly selected inputs"
print(msg)
logger.info(msg)
example_subfolders = folder_list
msg = f"\nThere are {num_inputscripts} input scripts listed in {list_input}."
print(msg)