Test_vc.sh 559 B

1234567891011121314151617181920212223
  1. #!/bin/bash
  2. case "$1" in
  3. Experimental|Nightly|Continuous)
  4. export dashboard_model=$1
  5. case "$2" in
  6. None|Debug|Release|RelWithDebug|RelWithDebInfo|MinSizeRel)
  7. export build_type=$2
  8. ;;
  9. esac
  10. ;;
  11. *)
  12. echo "Usage: $0 <model> [<build type>]"
  13. echo
  14. echo "Possible arguments for model are Nightly, Continuous, or Experimental."
  15. echo "Build type may be one of: None Debug Release RelWithDebug RelWithDebInfo MinSizeRel."
  16. echo
  17. exit 1
  18. ;;
  19. esac
  20. ctest -S "`dirname $0`/test.cmake"