#!/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
# | Change | User | Description | Committed | |
---|---|---|---|---|---|
#1 | 6118 | Dimitry Andric | Integ from //public/revml to //guest/dimitry_andric/revml/main. | ||
//guest/perforce_software/revml/test_all_p4_versions.sh | |||||
#2 | 3104 | John Fetkovich |
Added handling of VCPP4LICENSE environment variable in Dest::p4.pm. If that's present and pointing to a readable file when a p4 daemon is started, a symlink will be created in the (possibly newly created) p4root directory to point to the p4 license file pointed to by VCPP4LICENSE. The 'make' target test_all_p4_versions will cycle through each version of p4 and p4d contained in the 'p4versions' directory, in both unlicensed and (if VCPP4LICENSE present) licensed mode. |
||
#1 | 3062 | John Fetkovich | Added capability to test all p4 versions |