File tree Expand file tree Collapse file tree 4 files changed +7
-3
lines changed Expand file tree Collapse file tree 4 files changed +7
-3
lines changed Original file line number Diff line number Diff line change @@ -121,12 +121,12 @@ jobs:
121
121
shell : bash
122
122
run : |
123
123
cd build_release
124
- ${{matrix.memtracer}} ./bin /memtracer_performance_test
124
+ ${{matrix.memtracer}} ./benchmark /memtracer_performance_test
125
125
- name : memtracer-unittest
126
126
shell : bash
127
127
run : |
128
128
cd build_release
129
- LD_PRELOAD=./lib/libmemtracer.so ./bin /memtracer_test
129
+ LD_PRELOAD=./lib/libmemtracer.so ./unittest /memtracer_test
130
130
- name : memtracer-sysbench
131
131
shell : bash
132
132
run : |
Original file line number Diff line number Diff line change @@ -7,6 +7,8 @@ MESSAGE(STATUS "This is Project source dir " ${PROJECT_SOURCE_DIR})
7
7
MESSAGE (STATUS "This is PROJECT_BINARY_DIR dir " ${PROJECT_BINARY_DIR} )
8
8
9
9
SET (EXECUTABLE_OUTPUT_PATH ${PROJECT_BINARY_DIR} /bin )
10
+ SET (UNITTEST_OUTPUT_PATH ${PROJECT_BINARY_DIR} /unittest )
11
+
10
12
SET (CMAKE_PREFIX_PATH "${PROJECT_SOURCE_DIR} /deps/3rd/usr/local;/usr/local;${CMAKE_PREFIX_PATH} " )
11
13
SET (CMAKE_MODULE_PATH ${CMAKE_MODULE_PATH} ${CMAKE_SOURCE_DIR} /cmake )
12
14
Original file line number Diff line number Diff line change @@ -12,5 +12,5 @@ FOREACH (F ${ALL_SRC})
12
12
if (NOT ${prjName} STREQUAL "memtracer_performance_test" )
13
13
TARGET_LINK_LIBRARIES (${prjName} observer_static oblsm )
14
14
endif ()
15
-
15
+ SET_TARGET_PROPERTIES ( ${prjName} PROPERTIES RUNTIME_OUTPUT_DIRECTORY ${PROJECT_BINARY_DIR} /benchmark )
16
16
ENDFOREACH (F )
Original file line number Diff line number Diff line change @@ -5,6 +5,8 @@ find_package(GTest CONFIG REQUIRED)
5
5
6
6
include (GoogleTest )
7
7
8
+ SET (CMAKE_RUNTIME_OUTPUT_DIRECTORY ${UNITTEST_OUTPUT_PATH} )
9
+
8
10
ADD_SUBDIRECTORY (common )
9
11
ADD_SUBDIRECTORY (oblsm )
10
12
You can’t perform that action at this time.
0 commit comments