On 7 Sep 2007, at 10:07, David Favor wrote:
> Chad MILLER wrote:
>> On 7 Sep 2007, at 00:01, David Favor wrote:
>>> I've been wrestling with this all day... tracing scripts...
>>> and have yet to figure out the problem.
>>>
>>> I suspect 'make test' is just broken and requires additional
>>> parameters passed to mysql-test-run.
>>>
>>> Suggestions appreciated.
>> Hi David. I don't know of any problems. The first thing I'd do
>> is check the log files in directory "mysql-test/var/log/".
>> There's bound to be some useful information there. Tell us what
>> you discover the problem is, in any case. We could possibly
>> improve something, at least in giving better reasons why it failed
>> or anticipating problems.
>> - chad
>
> First I notice that even specifying --with-plugins=max-no-ndb and
> mysql-test-run --skip-ndb still seems to try running the ndb tests
> which is why I recompiled with NDB.
Hrm, you shouldn't need to change compilation options, ever. The
suite /should/ test relevant features and skip tests that are
irrelevant. If you find a case that doesn't then please give details
or submit a bug report.
> The primary log file feature is in master.err which says:
>
> atal error: Please read "Security" section of the manual \
> to find out how to run mysqld as root!
Are you running the mysql test suite as user root? We discourage
running anything as root, so it's probably not tested very well. I
would expect a better error message, though, if it always fails.
> You can access all the log file here:
>
> http://coolsurf.com/mysql-test-log/
http://coolsurf.com/mysql-test-log/bootstrap.log
gives HTTP error 500, fwiw.
> Also let me know if there is an environment variable I can set to pass
> arguments to mysql-test-run (like --mem and --skip-ndb) or if I
> have to
> manually run mysql-test-run with other options.
"./mtr" is how I usually run it. I add "--mem" if I'm in a hurry and
have plenty of free RAM.
- chad
--
Chad Miller, Software Developer chad@stripped
MySQL Inc., www.mysql.com
Orlando, Florida, USA 13-20z, UTC-0400
Office: +1 408 213 6740 sip:6740@stripped
(If it's not cryptographically signed, it's not from Chad)
Attachment: [application/pgp-signature] This is a digitally signed message part PGP.sig