Description:
Trying to skip a test when using the embedded server results in extraneous error messages being produced rather than a graceful skip of the test:
This is similar behavior to Bug #39213: Could not find reason for skipping test, but not limited to Windows, and seems isolated to 6.0
Running this command:
./mtr --embedded-server view_grant
Produces this output:
mysql-test-run: WARNING: Could not find reason for skipping test in /Users/pcrews/usr/local/bin/data1/work/5129-merge/mysql-6.0-5.1.29-rc/mysql-test/var/log/mysqltest-time
[ skipped ] Detected by testcase(reason unknown)
This does NOT happen on 5.1
How to repeat:
Run any test that uses include/not_embedded.inc with mysql-test-run's embedded server option.
./mtr --embedded-server view_grant
Suggested fix:
Ensure that tests skipped with the embedded server exit gracefully as with the other trees.
I'm not sure if this is an issue with mysqltest-embedded, mysql-test-run, etc.