Question-and-Answer Resource for the Building Energy Modeling Community
Get started with the Help page
Ask Your Question

Revision history [back]

click to hide/show revision 1
initial version

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.

  1. Set up your baseline
    1. Compile the version of EnergyPlus that you want to build against (baseline)
    2. Run the unit tests. This generates the necessary output
  2. Clone the tools necessary for running the regression from https://github.com/NREL/EnergyPlusDevSupport
  3. Set up the version of EnergyPlus you are testing
    1. Be sure to configure in a directory separate from the one you build your baseline in
    2. Set REGRESSION_SCRIPT_PATH to the folder you cloned https://github.com/NREL/EnergyPlusDevSupport into
    3. Set REGRESSION_BASELINE_PATH to the build folder you compiled the 'baseline' in
    4. Set ENABLE_REGRESSION_TESTING to TRUE
    5. Compile as normal
  4. Run regressions
    1. At this point make test should run all tests including the regression comparisons
    2. Or for parallelization ctest -j<numjobs>