Skip to content

Commit

Permalink
Update CMakeLists.
Browse files Browse the repository at this point in the history
  • Loading branch information
spahrenk committed Dec 2, 2024
1 parent cdd1285 commit a818642
Showing 1 changed file with 3 additions and 6 deletions.
9 changes: 3 additions & 6 deletions test/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -360,9 +360,6 @@ foreach (test ${stateOfChargeTests})
endforeach (model)
endforeach (test)

## Plot test
add_plot_test(SPEC_TYPE "Preset" MODEL_NAME "AquaThermAire" TEST_NAME "Villara/AquaThermAire/villara_24hr67" )

## Regression tests
#Add general 24-h tests
foreach (test ${testNames})
Expand All @@ -376,23 +373,20 @@ endforeach (test)
foreach (test ${maxTempTests})
foreach (model ${maxTempModels})
add_regression_test(TEST_NAME "${test}" MODEL_NAME "${model}" SPEC_TYPE "Preset")
add_regression_test(TEST_NAME "${test}" MODEL_NAME "${model}" SPEC_TYPE "File" COMPARE_SPEC_TYPE "Preset")
endforeach (model)
endforeach (test)

#Add large compressor tests to the regression list
foreach (test ${largeCompressorTests})
foreach (model ${largeCompressorNames})
add_regression_test(TEST_NAME "${test}" MODEL_NAME "${model}" SPEC_TYPE "Preset")
add_regression_test(TEST_NAME "${test}" MODEL_NAME "${model}" SPEC_TYPE "File" COMPARE_SPEC_TYPE "Preset")
endforeach (model)
endforeach (test)

#Add State of Charge tests to the list
foreach (test ${stateOfChargeTests})
foreach (model ${stateOfChargeCompressorNames})
add_regression_test(TEST_NAME "${test}" MODEL_NAME "${model}" SPEC_TYPE "Preset")
add_regression_test(TEST_NAME "${test}" MODEL_NAME "${model}" SPEC_TYPE "File" COMPARE_SPEC_TYPE "Preset")
endforeach (model)
endforeach (test)

Expand Down Expand Up @@ -441,5 +435,8 @@ endforeach (test)
#Add regression test for yearly file
add_test(NAME "RegressionTest.YearRuns" COMMAND ${CMAKE_COMMAND} -E compare_files "${CMAKE_CURRENT_BINARY_DIR}/output/DHW_YRLY.csv" "${CMAKE_CURRENT_SOURCE_DIR}/ref/DHW_YRLY.csv")

## Plot test
add_plot_test(SPEC_TYPE "Preset" MODEL_NAME "AquaThermAire" TEST_NAME "Villara/AquaThermAire/villara_24hr67" )

# Add unit tests
add_subdirectory(unit_tests)

0 comments on commit a818642

Please sign in to comment.