From 6e0d2e41cccb9223b50212dfecf56e43f19df11e Mon Sep 17 00:00:00 2001 From: unknown Date: Wed, 1 Mar 2006 12:21:44 +0100 Subject: mysql-test/mysql-test-run.sh : Add a "--comment=" option, to get it logged when the test is run. mysql-test/mysql-test-run.sh: Add a "--comment=" option, to get it logged when the test is run. The purpose is to allow a better analysis when generating the status page ("gen-build-status-page"). See "Do-compile" for how it is used. --- mysql-test/mysql-test-run.sh | 7 +++++++ 1 file changed, 7 insertions(+) (limited to 'mysql-test/mysql-test-run.sh') diff --git a/mysql-test/mysql-test-run.sh b/mysql-test/mysql-test-run.sh index 3488c308536..5853ffa201c 100644 --- a/mysql-test/mysql-test-run.sh +++ b/mysql-test/mysql-test-run.sh @@ -410,6 +410,13 @@ while test $# -gt 0; do --fast) FAST_START=1 ;; + --comment=*) + TMP=`$ECHO "$1" | $SED -e "s;--comment=;;"` + echo + echo '############################################' + echo "# $TMP" + echo '############################################' + ;; -- ) shift; break ;; --* ) $ECHO "Unrecognized option: $1"; exit 1 ;; * ) break ;; -- cgit v1.2.1