On 01/04/2012 03:35 PM, Peter Rosin wrote:
> Peter Rosin skrev 2012-01-04 15:17:
>>    mkdir "./$test_string" || {
>>      skip_ -r "mkdir failed" "$test_name in builddir"
>>      skip_ -r "mkdir failed" "$test_name in destdir"
> 
> BTW, what's with the -r in the above "skip_"s?
> 
It is to give the reason of the SKIP (the other argument being the name
of the test); note that this makes sense only for TAP based tests.  For
example, on a system that cannot handle a `|' in a test name, the above
will give lines like this in the "make check" output:

  ...
  SKIP: instspc.tap 31 - pipe in builddir # SKIP mkdir failed
  SKIP: instspc.tap 32 - pipe in destdir # SKIP mkdir failed
  ...

The exact details are only in the code and comments in
`tests/tap-functions.sh'; sorry.

Regards,
  Stefano



Reply via email to