]> granicus.if.org Git - check/commit
test_xml_output: remove check for -1 in durations
authorbrarcher <brarcher@64e312b2-a51f-0410-8e61-82d0ca0eb02a>
Fri, 27 Sep 2013 01:38:37 +0000 (01:38 +0000)
committerbrarcher <brarcher@64e312b2-a51f-0410-8e61-82d0ca0eb02a>
Fri, 27 Sep 2013 01:38:37 +0000 (01:38 +0000)
commitaa8d442a7f404cad22583c6a53b9713dbb4f7c1d
treeaf37b5593fb9cb00778ce16417bafdc6ef44f219
parente55249b0899cb9c92601cb28001a6df82f1e9602
test_xml_output: remove check for -1 in durations

This test is only valid on platforms that have a functional
clock_gettime() and do not have a good replacement in libcompat.
If there is no good replacement, then all durations will be 0,
even during failures. Instead of forcing the duration to be
negative during a failure artificially, we remove the requirement.

git-svn-id: svn+ssh://svn.code.sf.net/p/check/code/trunk@801 64e312b2-a51f-0410-8e61-82d0ca0eb02a
tests/test_xml_output.sh