#!/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 | |
---|---|---|---|---|---|
#3 | 18650 | C. Thomas Tyler | Tweaked astyle and beautify simulators to actually modify content. | ||
#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. |