mirror of
https://github.com/percona/percona-toolkit.git
synced 2025-08-29 09:30:51 +00:00

* Remove trailing spaces * PR-665 - Remove trailing spaces - Updated not stable test t/pt-online-schema-change/preserve_triggers.t - Updated utilities in bin directory * PR-665 - Remove trailing spaces - Fixed typos * PR-665 - Remove trailing spaces - Fixed typos --------- Co-authored-by: Sveta Smirnova <sveta.smirnova@percona.com>
16 lines
353 B
Bash
Executable File
16 lines
353 B
Bash
Executable File
#!/bin/bash
|
|
|
|
BRANCH=$(git rev-parse --abbrev-ref HEAD)
|
|
MYSQL_VERSION=$(mysql -ss -e "SHOW VARIABLES LIKE 'version'" | cut -f2)
|
|
LOG_FILE=~/${BRANCH}-${MYSQL_VERSION}.log
|
|
|
|
truncate --size=0 ${LOG_FILE}
|
|
echo "Logging to $LOG_FILE"
|
|
|
|
for dir in t/*
|
|
do
|
|
echo "$dir"
|
|
sandbox/test-env restart
|
|
prove -vw --trap --timer "$dir" | tee -a $LOG_FILE
|
|
done
|