Skip to content

Commit cee1c26

Browse files
author
Kirill Kornyakov
committed
Workaround issue with perf tests of Travis
1 parent d654de5 commit cee1c26

File tree

2 files changed

+1
-1
lines changed

2 files changed

+1
-1
lines changed

.travis.yml

-1
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,6 @@ script:
2525
# Run regression tests
2626
- ./bin/test_skeleton
2727
# Run performance tests
28-
- ./bin/perf_skeleton --help
2928
- ./bin/perf_skeleton --gtest_output=xml:perf_report.xml
3029
# Print performance metrics
3130
- ../itseez-ws-2016-practice/3rdparty/opencv_ptest/misc/summary.py ./perf_report.xml

3rdparty/opencv_ptest/src/ts_perf.cpp

+1
Original file line numberDiff line numberDiff line change
@@ -678,6 +678,7 @@ void TestBase::Init(const std::vector<std::string> & availableImpls,
678678
::testing::AddGlobalTestEnvironment(new PerfEnvironment);
679679

680680
param_impl = args.get<bool>("perf_run_cpu") ? "plain" : args.get<std::string>("perf_impl");
681+
//TODO(Kornyakov): for some reason default parameter doesn't match on Travis
681682
std::string perf_strategy = "default"; //args.get<std::string>("perf_strategy");
682683
if (perf_strategy == "default")
683684
{

0 commit comments

Comments
 (0)