-
Notifications
You must be signed in to change notification settings - Fork 406
Expand file tree
/
Copy pathAgentHwSaiStoreTest.cmake
More file actions
54 lines (49 loc) · 2.13 KB
/
Copy pathAgentHwSaiStoreTest.cmake
File metadata and controls
54 lines (49 loc) · 2.13 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
# CMake to build libraries and binaries in fboss/agent/hw/sai/store/tests
# In general, libraries and binaries in fboss/foo/bar are built by
# cmake/FooBar.cmake
if(BUILD_SAI_FAKE)
add_executable(store_test
fboss/util/oss/TestMain.cpp
fboss/agent/hw/sai/store/tests/AclTableGroupStoreTest.cpp
fboss/agent/hw/sai/store/tests/AclTableStoreTest.cpp
fboss/agent/hw/sai/store/tests/BridgeStoreTest.cpp
fboss/agent/hw/sai/store/tests/BufferStoreTest.cpp
fboss/agent/hw/sai/store/tests/CounterStoreTest.cpp
fboss/agent/hw/sai/store/tests/DebugCounterStoreTest.cpp
fboss/agent/hw/sai/store/tests/FdbStoreTest.cpp
fboss/agent/hw/sai/store/tests/HashStoreTest.cpp
fboss/agent/hw/sai/store/tests/HostifTrapStoreTest.cpp
fboss/agent/hw/sai/store/tests/InSegStoreTest.cpp
fboss/agent/hw/sai/store/tests/LagStoreTest.cpp
fboss/agent/hw/sai/store/tests/MirrorStoreTest.cpp
fboss/agent/hw/sai/store/tests/NeighborStoreTest.cpp
fboss/agent/hw/sai/store/tests/NextHopStoreTest.cpp
fboss/agent/hw/sai/store/tests/NextHopGroupStoreTest.cpp
fboss/agent/hw/sai/store/tests/PortStoreTest.cpp
fboss/agent/hw/sai/store/tests/QosMapStoreTest.cpp
fboss/agent/hw/sai/store/tests/QueueStoreTest.cpp
fboss/agent/hw/sai/store/tests/RouteStoreTest.cpp
fboss/agent/hw/sai/store/tests/RouterInterfaceStoreTest.cpp
fboss/agent/hw/sai/store/tests/SaiEmptyStoreTest.cpp
fboss/agent/hw/sai/store/tests/SamplePacketStoreTest.cpp
fboss/agent/hw/sai/store/tests/SchedulerStoreTest.cpp
fboss/agent/hw/sai/store/tests/TamStoreTest.cpp
fboss/agent/hw/sai/store/tests/Srv6StoreTest.cpp
fboss/agent/hw/sai/store/tests/TunnelStoreTest.cpp
fboss/agent/hw/sai/store/tests/UdfStoreTest.cpp
fboss/agent/hw/sai/store/tests/VlanStoreTest.cpp
fboss/agent/hw/sai/store/tests/WredStoreTest.cpp
)
target_link_libraries(store_test
sai_store
fake_sai
${GTEST}
${LIBGMOCK_LIBRARIES}
)
set_target_properties(store_test PROPERTIES COMPILE_FLAGS
"-DSAI_VER_MAJOR=${SAI_VER_MAJOR} \
-DSAI_VER_MINOR=${SAI_VER_MINOR} \
-DSAI_VER_RELEASE=${SAI_VER_RELEASE}"
)
gtest_discover_tests(store_test)
endif()