Skip to content

Commit

Permalink
Test ZoneEquipment only
Browse files Browse the repository at this point in the history
  • Loading branch information
AntoineGautier committed Sep 20, 2023
1 parent 8976fc9 commit 5984d6a
Show file tree
Hide file tree
Showing 3 changed files with 11 additions and 12 deletions.
6 changes: 3 additions & 3 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -106,9 +106,9 @@ env:
# - TEST_ARG="make test-dymola PACKAGE=\"Buildings.Utilities\""
# - TEST_ARG="make test-openmodelica PACKAGE=\"Buildings.Utilities\""
# - TEST_ARG="make test-optimica PACKAGE=\"Buildings.Utilities\""
- TEST_ARG="make test-dymola PACKAGE=\"Buildings.Templates\""
- TEST_ARG="make test-openmodelica PACKAGE=\"Buildings.Templates\""
- TEST_ARG="make test-optimica PACKAGE=\"Buildings.Templates\""
# - TEST_ARG="make test-dymola PACKAGE=\"Buildings.Templates\""
# - TEST_ARG="make test-openmodelica PACKAGE=\"Buildings.Templates\""
# - TEST_ARG="make test-optimica PACKAGE=\"Buildings.Templates\""
- TEST_ARG="make test-templates-optimica"
- TEST_ARG="make test-templates-dymola"

Expand Down
9 changes: 4 additions & 5 deletions Buildings/Resources/Scripts/travis/templates/VAVBox.py
Original file line number Diff line number Diff line change
Expand Up @@ -94,11 +94,10 @@

print(f'Number of cases to be simulated: {len(combinations)}.\n')

# FIXME(AntoineGautier PR#????): Temporarily limit the number of simulations to be run (for testing purposes only).
with open('unitTestsCombinations.log', 'w') as FH:
for c in combinations:
FH.write("*********" + c[0] + "\n\n" + "\n".join(c[1]) + "\n\n")
# combinations = combinations[:2]
# # Log combinations for debugging.
# with open('unitTestsCombinations.log', 'w') as FH:
# for c in combinations:
# FH.write("*********" + c[0] + "\n\n" + "\n".join(c[1]) + "\n\n")

# Simulate cases.
results = simulate_cases(combinations, simulator=SIMULATOR, asy=False)
Expand Down
8 changes: 4 additions & 4 deletions Buildings/Resources/Scripts/travis/templates/VAVMultiZone.py
Original file line number Diff line number Diff line change
Expand Up @@ -234,10 +234,10 @@

print(f'Number of cases to be simulated: {len(combinations)}.\n')

# Lof combinations for debugging.
with open('unitTestsCombinations.log', 'w') as FH:
for c in combinations:
FH.write("*********" + c[0] + "\n\n" + "\n".join(c[1]) + "\n\n")
# # Log combinations for debugging.
# with open('unitTestsCombinations.log', 'w') as FH:
# for c in combinations:
# FH.write("*********" + c[0] + "\n\n" + "\n".join(c[1]) + "\n\n")

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

0 comments on commit 5984d6a

Please sign in to comment.