← Back to team overview

unity-2d-team team mailing list archive

ctest merge request proposal

 

Hi guys,


I have a merge request[1] waiting for approval and since this cause some changes on current process to run the tests, Florian ask me to write some lines about this.

Basically the MR removes the current target called 'check' which is current used for us to run the unit tests. I did this because cmake already have a standard target called 'test' for that job.

Because of that you should use: 'make test' instead of 'make check' to run the test.

You can also use the 'ctest' command which in my opinion is very useful (this is already part of cmake suite you do not need install another package for use that). With 'ctest' you can run only one specific test (ctest -R <name of the test>), can have a more verbose output (ctest -V), and others. For more information try 'ctest --help'.

What do you think guys? Is this a valid proposal?

Thanks
Renato Araujo Oliveira Filho

[1]https://code.launchpad.net/~renatofilho/unity-2d/ctest/+merge/82674


Follow ups