message: configuring the rajaperf suite runs
diff: @@ -129,3 +129,36 @@ then
  cmake --build . -j ${core_counts[$truehostname]}
  date
  fi
  +
  +echo "~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~"
  +echo "~~~~~ RUNNING RAJAPERF SUITE"
  +echo "~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~"
  +
  +if [[ ! -d ${build_dir} ]]
  +then
  + echo "ERROR: Build directory not found : ${build_dir}" && exit 1
  +fi
  +
  +cd ${build_dir}
  +if [[grep -q -i "CMAKE_BUILD_TYPE.*Release" ${hostconfig_path} ]]
  +then
  + ./bin/raja-perf.exe -sp
  +else
  + ./bin/raja-perf.exe --checkrun -sp
  +fi
  +
  +echo "Copying Testing xml reports for export"
  +tree Testing
  +xsltproc -o junit.xml ${project_dir}/blt/tests/ctest-to-junit.xsl Testing/*/Test.xml
  +mv junit.xml ${project_dir}/junit.xml
  +
  +if grep -q "Errors while running CTest" ./tests_output.txt
  +then
  + echo "ERROR: failure(s) while running CTest" && exit 1
  +fi
  +
  +echo "~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~"
  +echo "~~~~~ CLEAN UP"
  +echo "~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~"
  +make clean
  +
  