Revision history [back]
COMMIT_SHA
and REGRESSION_BASELINE_SHA
are mostly not necessary - you can set them to anything you want to, for the purposes of running the regression tests locally.
- Set up your baseline
- Compile the version of EnergyPlus that you want to build against (baseline)
- Run the unit tests. This generates the necessary output
- Clone the tools necessary for running the regression from https://github.com/NREL/EnergyPlusDevSupport
- Set up the version of EnergyPlus you are testing
- Be sure to configure in a directory separate from the one you build your baseline in
- Set
REGRESSION_SCRIPT_PATH
to the folder you cloned https://github.com/NREL/EnergyPlusDevSupport into - Set
REGRESSION_BASELINE_PATH
to the build folder you compiled the 'baseline' in - Set
ENABLE_REGRESSION_TESTING
toTRUE
- Compile as normal
- Run regressions
- At this point
make test
should run all tests including the regression comparisons - Or for parallelization
ctest -j<numjobs>
- At this point