Skip to content

Commit

Permalink
add skip in gtest & update gtest version (onnx#1473)
Browse files Browse the repository at this point in the history
  • Loading branch information
zrphercule authored Oct 3, 2018
1 parent c46d447 commit f71e163
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
4 changes: 2 additions & 2 deletions cmake/external/googletest.cmake
Original file line number Diff line number Diff line change
Expand Up @@ -3,8 +3,8 @@ include (ExternalProject)
set(googletest_INCLUDE_DIRS ${CMAKE_CURRENT_BINARY_DIR}/googletest/src/googletest/googletest/include)
set(googletest_URL https://github.com/google/googletest.git)
set(googletest_BUILD ${CMAKE_CURRENT_BINARY_DIR}/googletest/)
set(googletest_TAG 0fe96607d85cf3a25ac40da369db62bbee2939a5)
#718fd88d8f145c63b8cc134cf8fed92743cc112f
set(googletest_TAG e93da23920e5b6887d6a6a291c3a59f83f5b579e)
#0fe96607d85cf3a25ac40da369db62bbee2939a5

if(WIN32)
set(googletest_STATIC_LIBRARIES
Expand Down
1 change: 1 addition & 0 deletions onnx/backend/test/cpp/driver_test.cc
Original file line number Diff line number Diff line change
Expand Up @@ -196,6 +196,7 @@ class ONNXCppDriverTest
if (IsUnsupported(is_compatible, error_msg)) {
std::cout << "Warnning: " << error_msg
<< " This test case will be skipped." << std::endl;
GTEST_SKIP();
return;
}
ASSERT_EQ(is_compatible, ONNXIFI_STATUS_SUCCESS);
Expand Down

0 comments on commit f71e163

Please sign in to comment.