Am Donnerstag, 5. November 2015 um 07:34:47, schrieb Guenter Milde 
<mi...@users.sf.net>
...
> > It is suspended _only_ if you select testcases with the '-L' parameter.
> 
> OK. My idea was that suspended testcases are skipped by default.

Let me sketch our use of '-L' parameter.
This should answer also your remark in a previous post (
        > So what do you propose for such tests (84% of export tests)?
        > ctest -L export -N | wc => 3719
        > ctest -L export -N |egrep '/(doc|examples)/'| wc => 3153
        > 3153 / 3719 => 84.78%

        I don't have any clue which tests are hidden behind these commands. The
        general recipe is:
)

We have a number of lyx-files under lib/doc, lib/examples etc directories.
There are export types like lyx16, xhtml, pdf, dvi etc
TeX or non TeX fonts.
For each combination we create a testname containing a hint to
        a.) the relative path of the lyx file (without extension)
        b.) export type (restricted to the specified output format(in 
lyx-file), if not 'default')
        c.) TeX or non TeX font (texF, systemF)
Then:
        If the name
                i. matches regex in ignoreTests, the testcase is discarded. 
Handle to next testname.
                ii. Not matching revertedTests, the test gets the label 
"export". Handle next testname.
        (from here on it matches revertedTests)
                iii. Prepend INVERTED... to testname. Revert test verification.
                iv.  Not matching suspendedTests, the test gets the label 
"reverted". Handle next testname.
        (test matches suspendedTests)
                v. test gets the label "suspended".

Now calling ctest with '-L export' selects tests with label 'export', thus 
skipping suspended tests.
The same is valid for '-L reverted'.

The other possibilities, e.g. using '-R' parameter, does only check for 
testnames. But the suspended tests
must also have a name, so we cannot skip them automatically.

        Kornel

Attachment: signature.asc
Description: This is a digitally signed message part.

Reply via email to