Skip to content

Commit

Permalink
Updated stress_tests for using shared library
Browse files Browse the repository at this point in the history
  • Loading branch information
ishariko committed Jul 15, 2021
1 parent 95d018d commit dad8b52
Show file tree
Hide file tree
Showing 7 changed files with 6 additions and 177 deletions.
3 changes: 2 additions & 1 deletion tests/stress_tests/common/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -11,10 +11,11 @@ add_library(${TARGET_NAME} STATIC ${SRC} ${HDR})

target_include_directories(${TARGET_NAME} PUBLIC ${CMAKE_CURRENT_SOURCE_DIR})

add_subdirectory("${OpenVINO_SOURCE_DIR}/tests/lib" common)
target_link_libraries(${TARGET_NAME}
PUBLIC
IE::gtest
IE::pugixml
${InferenceEngine_LIBRARIES}
common
PRIVATE
IE::gtest_main)
2 changes: 1 addition & 1 deletion tests/stress_tests/common/ie_pipelines/pipelines.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@

#include "pipelines.h"
#include "../utils.h"
#include "../ie_utils.h"
#include "common.h"

#include <iostream>
#include <string>
Expand Down
58 changes: 0 additions & 58 deletions tests/stress_tests/common/ie_utils.cpp

This file was deleted.

114 changes: 0 additions & 114 deletions tests/stress_tests/common/ie_utils.h

This file was deleted.

2 changes: 1 addition & 1 deletion tests/stress_tests/memcheck_tests/tests.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@

#include "tests_utils.h"
#include "../common/tests_utils.h"
#include "../common/ie_utils.h"
#include "common.h"
#include "../common/managers/thread_manager.h"
#include "tests_pipelines/tests_pipelines.h"

Expand Down
2 changes: 1 addition & 1 deletion tests/stress_tests/memleaks_tests/tests.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
//

#include "../common/tests_utils.h"
#include "../common/ie_utils.h"
#include "common.h"
#include "../common/managers/thread_manager.h"
#include "tests_pipelines/tests_pipelines.h"

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
//

#include "tests_pipelines.h"
#include "../common/ie_utils.h"
#include "common.h"

#include <string>

Expand Down

0 comments on commit dad8b52

Please sign in to comment.