diff options
author | Tor Arne Vestbø <tor.arne.vestbo@qt.io> | 2020-07-21 12:10:32 +0200 |
---|---|---|
committer | Tor Arne Vestbø <tor.arne.vestbo@qt.io> | 2020-07-24 00:52:01 +0200 |
commit | af7a3430edfc4deff494c9ec88b803f468b5cf2a (patch) | |
tree | 2ff7efa23349f7aea53a5525f45b0e6b8444b8d7 /tests/auto/testlib/selftests/expected_float.junitxml | |
parent | 67c877562b18ea5c591d2884d2b14f7bf3a39149 (diff) |
testlib: Add start time and test duration to JUnit XML
As defined by https://llg.cubic.org/docs/junit/
Change-Id: Ic7683f3d49c529674f8467d591528d4a65d3add8
Reviewed-by: Friedemann Kleint <Friedemann.Kleint@qt.io>
Diffstat (limited to 'tests/auto/testlib/selftests/expected_float.junitxml')
-rw-r--r-- | tests/auto/testlib/selftests/expected_float.junitxml | 14 |
1 files changed, 7 insertions, 7 deletions
diff --git a/tests/auto/testlib/selftests/expected_float.junitxml b/tests/auto/testlib/selftests/expected_float.junitxml index fa361d96d1..831f8fefd8 100644 --- a/tests/auto/testlib/selftests/expected_float.junitxml +++ b/tests/auto/testlib/selftests/expected_float.junitxml @@ -1,12 +1,12 @@ <?xml version="1.0" encoding="UTF-8" ?> -<testsuite name="tst_float" tests="6" failures="96" errors="0"> +<testsuite name="tst_float" timestamp="@TEST_START_TIME@" tests="6" failures="96" errors="0" time="@TEST_DURATION@"> <properties> <property name="QTestVersion" value="@INSERT_QT_VERSION_HERE@"/> <property name="QtVersion" value="@INSERT_QT_VERSION_HERE@"/> <property name="QtBuild" value=""/> </properties> - <testcase name="initTestCase" result="pass"/> - <testcase name="doubleComparisons" result="fail"> + <testcase name="initTestCase" result="pass" time="@TEST_DURATION@"/> + <testcase name="doubleComparisons" result="fail" time="@TEST_DURATION@"> <failure result="fail" message="Compared doubles are not the same (fuzzy compare) Actual (operandLeft) : 1 Expected (operandRight): 3" tag="should FAIL 1"/> @@ -101,7 +101,7 @@ Actual (operandLeft) : -1.79769313486e+308 Expected (operandRight): -inf" tag="should FAIL: -max != -inf"/> </testcase> - <testcase name="floatComparisons" result="fail"> + <testcase name="floatComparisons" result="fail" time="@TEST_DURATION@"> <failure result="fail" message="Compared floats are not the same (fuzzy compare) Actual (operandLeft) : 1 Expected (operandRight): 3" tag="should FAIL 1"/> @@ -196,7 +196,7 @@ Actual (operandLeft) : -3.40282e+38 Expected (operandRight): -inf" tag="should FAIL: -max != -inf"/> </testcase> - <testcase name="float16Comparisons" result="fail"> + <testcase name="float16Comparisons" result="fail" time="@TEST_DURATION@"> <failure result="fail" message="Compared qfloat16s are not the same (fuzzy compare) Actual (operandLeft) : 1 Expected (operandRight): 3" tag="should FAIL 1"/> @@ -291,7 +291,7 @@ Actual (operandLeft) : -6.55e+04 Expected (operandRight): -inf" tag="should FAIL: -max != -inf"/> </testcase> - <testcase name="compareFloatTests" result="fail"> + <testcase name="compareFloatTests" result="fail" time="@TEST_DURATION@"> <failure result="fail" message="Compared floats are not the same (fuzzy compare) Actual (t1): 1 Expected (t3): 3" tag="1e0"/> @@ -302,6 +302,6 @@ Actual (t1): 1e+07 Expected (t3): 3e+07" tag="1e+7"/> </testcase> - <testcase name="cleanupTestCase" result="pass"/> + <testcase name="cleanupTestCase" result="pass" time="@TEST_DURATION@"/> <system-err/> </testsuite> |