[Dart] Custom error strings?

Joey Mukherjee joey at swri.edu
Mon May 15 15:28:17 EDT 2006


Two things:

1) Can we still use this if we are not using cmake?  Is this something 
I can place in the DartConfiguration.tcl?
2) The help command in cmake I think has an error:

        FAIL_REGULAR_EXPRESSION: If set, if the output will match to one 
of
        specified regular expressions, the test will fail.

          Example: PASS_REGULAR_EXPRESSION "[^a-z]Error;ERROR;Failed"

I believe the PASS should be a FAIL.

This was in the 2.4.1 beta.

Thanks!

On May 11, 2006, at 11:49 AM, Andy Cedilnik wrote:

> In CTest 2.2 and newer you can set PASS_REGULAR_EXPRESSION and 
> FAIL_REGULAR_EXPRESSION.
>
> Please run:
>
> cmake --help-command SET_TESTS_PROPERTIES
>

> Joey Mukherjee wrote:
>
>> Is there a way to make ctest have a custom string indicate an error 
>> which can then be reported by Dart?
>>
>> My problem is our build tool has a couple strings it prints out which 
>> indicate a file is missing; however, ctest/dart do not see this as an 
>> error so it looks like everything is fine.

Joey



More information about the Dart mailing list