[Boost.UTF] --run_test doesn't match long names
Hi all, Is there any documentation on permissible test names? Some of my names don't work correctly with the --run_test parameter. I can put up to 15 characters and end with '*' and the tests will be run, but once I specify the 16th character (with a wildcard or without) it prints the error 'no test cases matching filter'. Is there a length limit on test names? I didn't see any mention of one in the docs and didn't get any compile warnings. If there is a limit, is there an easy way to extend it? Thanks, Adam.
Adam Nielsen
Hi all,
Is there any documentation on permissible test names? Some of my names don't work correctly with the --run_test parameter. I can put up to 15 characters and end with '*' and the tests will be run, but once I specify the 16th character (with a wildcard or without) it prints the error 'no test cases matching filter'.
Is there a length limit on test names? I didn't see any mention of one in the docs and didn't get any compile warnings. If there is a limit, is there an easy way to extend it?
No. There should not be any limits. Please post an example illustrating the issue Genandiy
Is there a length limit on test names? I didn't see any mention of one in the docs and didn't get any compile warnings. If there is a limit, is there an easy way to extend it?
No. There should not be any limits. Please post an example illustrating the issue
Ah, my fault. When doing up an example I realised you must put the test suite name in front of the test, my test and suite happened to have the same prefix which got me. Changing from --run_test=longname to --run_test=*/longname fixed the problem. Cheers, Adam.
participants (2)
-
Adam Nielsen
-
Gennadiy Rozental