File: test_all_p4_versions.sh

package info (click to toggle)
libvcp-perl 0.9-20041020-1
  • links: PTS
  • area: main
  • in suites: sarge
  • size: 1,608 kB
  • ctags: 833
  • sloc: perl: 18,190; sh: 11
file content (18 lines) | stat: -rwxr-xr-x 372 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
#!/bin/bash


export VCPP4LICENSE=$HOME/p4d_license/license

SAVE_PATH=$PATH
for VER in `./p4version -l`; do
  export PATH=$VER:$SAVE_PATH

  echo "using p4:`which p4` and p4d:`which p4d` in unlicensed mode"
  make test

  if [ ! -z "$VCPP4LICENSE" -a -r "$VCPP4LICENSE" ]; then
    echo "using p4:`which p4` and p4d:`which p4d` in licensed mode"
    make test
  fi

done