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

Bug #48806 mysql-test-run.pl --help should work even in the absence of binaries

Searches for my_safe_process binary too early
Put this into a sub() and call it after examining options (incl. --help)
This commit is contained in:
Bjorn Munch
2009-11-17 12:13:22 +01:00
parent 052688855e
commit 242f3f8cdd
2 changed files with 22 additions and 15 deletions

View File

@ -266,6 +266,9 @@ sub main {
command_line_setup();
# --help will not reach here, so now it's safe to assume we have binaries
My::SafeProcess::find_bin();
if ( $opt_gcov ) {
gcov_prepare($basedir);
}