I report here a simple solution to a problem that has been discussed here http://cmake.3232098.n2.nabble.com/Runn ... 95208.html.
The problem is: how to run ctest with multiple labels? At the moment this is surprisingly difficult. One needs to use regex. The aforementioned discussion actually contains a similar
script that I decided to create. The difference is that this new script allows to run tests with any number of labels.
So the usage is:
Code: Select all
$ ctestl [list of labels]
Code: Select all
$ ctestl label1 label2 label3
I hope you find this usefull: https://github.com/ettaka/ctestl
Cheers,
Eelis