1
0
mirror of https://github.com/MariaDB/server.git synced 2025-07-30 16:24:05 +03:00

Ensure that the tests with '--ps-protocol' and '--embedded-server' are taken even

after the previous run had some failures, provided it did not totally crash.


Build-tools/Do-compile:
  Change the search string for a test run from "tests were successful" to just
  "were successful", which is written by the test run even after some failures.
  This is necessary to start the next test suite ('--ps-protocol', '--embedded-server')
  even after the previous one had some test failures.
mysql-test/mysql-test-run.sh:
  Change the message even after test failures so that it is fairly safe to identify
  the end of the run from it (as opposed to a crash of the script).
  It is essential that both a run without any and with some test failures
  write "were successful" so that it can be grepped.
This commit is contained in:
unknown
2005-03-03 13:04:44 +01:00
parent d6c9c19412
commit ae2542b632
2 changed files with 4 additions and 4 deletions

View File

@ -833,7 +833,7 @@ report_stats () {
whole=`$PRINTF %.2s $raw`
xwhole=`$EXPR $whole \* 100`
deci=`$EXPR $raw - $xwhole`
$ECHO "Failed ${TOT_FAIL}/${TOT_TEST} tests, ${whole}.${deci}% successful."
$ECHO "Failed ${TOT_FAIL}/${TOT_TEST} tests, ${whole}.${deci}% were successful."
$ECHO ""
$ECHO "The log files in $MY_LOG_DIR may give you some hint"
$ECHO "of what when wrong."