File: Test_vc.sh

package info (click to toggle)
vc 1.4.5-1
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid, trixie
  • size: 4,552 kB
  • sloc: cpp: 19,220; ansic: 15,669; sh: 453; xml: 186; makefile: 30
file content (22 lines) | stat: -rwxr-xr-x 559 bytes parent folder | download | duplicates (3)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
#!/bin/bash

case "$1" in
   Experimental|Nightly|Continuous)
      export dashboard_model=$1
      case "$2" in
        None|Debug|Release|RelWithDebug|RelWithDebInfo|MinSizeRel)
        export build_type=$2
        ;;
      esac
      ;;
   *)
      echo "Usage: $0 <model> [<build type>]"
      echo
      echo "Possible arguments for model are Nightly, Continuous, or Experimental."
      echo "Build type may be one of: None Debug Release RelWithDebug RelWithDebInfo MinSizeRel."
      echo
      exit 1
      ;;
esac

ctest -S "`dirname $0`/test.cmake"