Skip to content

Commit

Permalink
Test with fewer combinations
Browse files Browse the repository at this point in the history
  • Loading branch information
AntoineGautier committed Sep 20, 2023
1 parent 5984d6a commit 7d32c63
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 6 deletions.
3 changes: 3 additions & 0 deletions Buildings/Resources/Scripts/travis/templates/VAVBox.py
Original file line number Diff line number Diff line change
Expand Up @@ -99,6 +99,9 @@
# for c in combinations:
# FH.write("*********" + c[0] + "\n\n" + "\n".join(c[1]) + "\n\n")

# FIXME(AntoineGautier PR#3528): Temporarily limit the number of simulations to be run (for testing purposes only).
combinations = combinations[:2]

# Simulate cases.
results = simulate_cases(combinations, simulator=SIMULATOR, asy=False)

Expand Down
6 changes: 0 additions & 6 deletions Buildings/Resources/Scripts/travis/templates/core.py
Original file line number Diff line number Diff line change
Expand Up @@ -120,12 +120,6 @@ def simulate_case(arg, simulator):
finally:
if toreturn == 0:
shutil.rmtree(output_dir_path, ignore_errors=True)
else:
print(
f'Simulation failed in {output_dir_path} with the following class modifications:\n'
+ ',\n'.join(arg[1])
+ '\n'
)

return toreturn, log

Expand Down

0 comments on commit 7d32c63

Please sign in to comment.