#!/bin/bash Version=1.0.2 Script=FakeAstyleScript echo "TEST: Simulated astyle-new v$Version: Pretending to do style adjustments on file $1" grep 'Making It Stylish' $1 > /dev/null 2>&1 if [[ $? -ne 0 ]]; then echo Making It Stylish >> $1 fi
# | Change | User | Description | Committed | |
---|---|---|---|---|---|
#2 | 18718 | C. Thomas Tyler | Updated to P4BBI/MultiArch/2016.3/18716 (2016/03/20). | ||
#1 | 18412 | C. Thomas Tyler | Released P4BBI. | ||
//guest/perforce_software/p4bbi/dev/test/bin/astyle-new | |||||
#2 | 18390 | C. Thomas Tyler | Enhanced simulated astyle tool. | ||
#1 | 18388 | C. Thomas Tyler |
Re-added ASTYLE testing into default test suite. Added P4BBI_TEST_BIN setting (e.g. /p4/p4bbi/test/bin), which is appended to the PATH. A fake astyle-new executable is included there for testing astyle, but is only detected if a 'real' astyle-new executable isn't found on the PATH. |