Comments - Question about testing

10 years ago David Favor

Hum... Still confused...

Looks like mysqltest expects to read some test file from STDIN or by passing --test-file=filename.

No clear indication where these files live or their relation.

Nor is there any clear indication about the difference between mysql-test-run.pl + mysqltest.

So, please update this question with a link to where test files to feed mysqltest are described.

Thanks.

 
10 years ago Elena Stepanova

mysqltest is a rather low-level technical tool which requires some background. If you simply want to test your build or installation without bothering yourself with reading documentation, then you just need to run make test or mysql-test-run.pl or both, and they will take care of finding the test files, establishing relationships between them and so on.

If you want to run the naked interpreter such as mysqltest, you will have to learn the basics first. Once again, you can find a very thorough manual for the whole framework here: MySQL Test Framework. Please read it.

 
10 years ago David Favor

Thanks.

I'll read through the Test Framework docs.

 
Content reproduced on this site is the property of its respective owners, and this content is not reviewed in advance by MariaDB. The views, information and opinions expressed by this content do not necessarily represent those of MariaDB or any other party.