summaryrefslogtreecommitdiff
path: root/mysql-test/mysql-test-run.sh
diff options
context:
space:
mode:
authorunknown <joerg@mysql.com>2006-03-01 12:21:44 +0100
committerunknown <joerg@mysql.com>2006-03-01 12:21:44 +0100
commit6e0d2e41cccb9223b50212dfecf56e43f19df11e (patch)
tree1595a143d36b17bf368a32f2ce7bdb733bad73f7 /mysql-test/mysql-test-run.sh
parenta73b7dc2439879e36ee522d29f76f229f70213d2 (diff)
downloadmariadb-git-6e0d2e41cccb9223b50212dfecf56e43f19df11e.tar.gz
mysql-test/mysql-test-run.sh : Add a "--comment=<string>" option, to get it logged when the test is run.
mysql-test/mysql-test-run.sh: Add a "--comment=<string>" 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.
Diffstat (limited to 'mysql-test/mysql-test-run.sh')
-rw-r--r--mysql-test/mysql-test-run.sh7
1 files changed, 7 insertions, 0 deletions
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 ;;