Skip to content
Projects
Groups
Snippets
Help
Loading...
Sign in / Register
Toggle navigation
O
opencv
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Packages
Packages
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
submodule
opencv
Commits
5b2dc26f
Commit
5b2dc26f
authored
Jul 09, 2013
by
Roman Donchenko
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Made the crude ability less crude.
parent
215b3e74
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
13 additions
and
6 deletions
+13
-6
ts.hpp
modules/ts/include/opencv2/ts/ts.hpp
+7
-0
testlog_parser.py
modules/ts/misc/testlog_parser.py
+6
-6
No files found.
modules/ts/include/opencv2/ts/ts.hpp
View file @
5b2dc26f
...
...
@@ -578,6 +578,13 @@ int main(int argc, char **argv) \
return RUN_ALL_TESTS(); \
}
// This usually only makes sense in perf tests with several implementations,
// some of which are not available.
#define CV_TEST_FAIL_NO_IMPL() do { \
::testing::Test::RecordProperty("custom_status", "noimpl"); \
FAIL() << "No equivalent implementation."; \
} while (0)
#endif
#include "ts_perf.hpp"
modules/ts/misc/testlog_parser.py
View file @
5b2dc26f
...
...
@@ -14,13 +14,13 @@ class TestInfo(object):
self
.
value_param
=
xmlnode
.
getAttribute
(
"value_param"
)
self
.
type_param
=
xmlnode
.
getAttribute
(
"type_param"
)
custom_status
=
xmlnode
.
getAttribute
(
"custom_status"
)
failures
=
xmlnode
.
getElementsByTagName
(
"failure"
)
if
len
(
failures
)
>
0
:
if
any
(
"No equivalent implementation"
in
f
.
getAttribute
(
"message"
)
for
f
in
failures
):
self
.
status
=
"notimpl"
else
:
self
.
status
=
"failed"
if
len
(
custom_status
)
>
0
:
self
.
status
=
custom_status
elif
len
(
failures
)
>
0
:
self
.
status
=
"failed"
else
:
self
.
status
=
xmlnode
.
getAttribute
(
"status"
)
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment