I'd like to see some mechanism for skipping & noting
platform-specific tests, like Perl's Test::More's
"skip" function. The number of skipped tests is
included in the final output, along with the reason
tests are skipped.
Specific example where this would be helpful: I've got
a StackOnly base class for stuff that should only be
instantiated on the stack. As a debugging aid, it can
ensure it is never put on the heap. The dmalloc_examine
function I need for this only exists when it's compiled
with dmalloc. When WITH_DMALLOC is not defined, I don't
want this test to succeed or fail. I want it to be
noted as skipped.
Log in to post a comment.