Changing test names
David Faure
faure at kde.org
Tue Oct 5 15:06:15 CEST 2010
On Tuesday 05 October 2010, David Faure wrote:
> http://my.cdash.org/viewTest.php?onlyfailed&buildid=102897 is a bit
> confusing because one can't see that e.g. indenttest is a kate unittest.
>
> I wanted to set different test names, without changing all the executable
> names. AFAIU, that's what the first argument of add_test is for,
> and what the "TESTNAME foo" of kde4_add_unit_test is for.
>
> But it doesn't work..
>
> I'm trying this in kdelibs/kate/tests/CMakeLists.txt
>
> -kde4_add_unit_test(indenttest ${indenttest_SRCS})
> +kde4_add_unit_test(indenttest TESTNAME kate-indenttest ${indenttest_SRCS})
>
> and make test fails, it can't find the executables.
Never mind, I was being stupid. It's working just fine.
--
David Faure, faure at kde.org, http://www.davidfaure.fr
Sponsored by Nokia to work on KDE, incl. Konqueror (http://www.konqueror.org).
More information about the Kde-buildsystem
mailing list