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

lefticus's profile - activity

2015-07-28 07:50:02 -0500 received badge  Necromancer (source)
2015-07-24 14:39:20 -0500 received badge  Teacher (source)
2015-07-24 14:39:08 -0500 answered a question Regression testing scripts

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/EnergyPlusDev...
  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_PATHto the folder you cloned https://github.com/NREL/EnergyPlusDev... 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>