mirror of
https://github.com/facebook/sapling.git
synced 2024-10-09 16:31:02 +03:00
store test: do not compile LocalStoreTest on Windows
Summary: The test doesn't compile on Windows, let's just ifdef it. Reviewed By: genevievehelsel Differential Revision: D25033804 fbshipit-source-id: 4f312f010f9d0db42cc9ae19df3f668e8e1c4665
This commit is contained in:
parent
9eca0f83a7
commit
78fc38e27b
@ -4,17 +4,6 @@
|
||||
# GNU General Public License version 2.
|
||||
|
||||
file(GLOB STORE_TEST_SRCS "*.cpp")
|
||||
if (WIN32)
|
||||
# TODO: T66530055
|
||||
# Adding the RocksDb test causes the test binary to not load properly.
|
||||
# The LocalStore test fails to compile on Windows.
|
||||
list(
|
||||
REMOVE_ITEM STORE_TEST_SRCS
|
||||
${CMAKE_CURRENT_SOURCE_DIR}/RocksDbLocalStoreTest.cpp
|
||||
${CMAKE_CURRENT_SOURCE_DIR}/LocalStoreTest.cpp
|
||||
)
|
||||
endif()
|
||||
|
||||
add_executable(
|
||||
eden_store_test
|
||||
${STORE_TEST_SRCS}
|
||||
|
@ -5,6 +5,8 @@
|
||||
* GNU General Public License version 2.
|
||||
*/
|
||||
|
||||
#ifndef _WIN32
|
||||
|
||||
#include "eden/fs/store/test/LocalStoreTest.h"
|
||||
#include "eden/fs/store/MemoryLocalStore.h"
|
||||
#include "eden/fs/store/SqliteLocalStore.h"
|
||||
@ -199,3 +201,5 @@ INSTANTIATE_TEST_CASE_P(
|
||||
::testing::Values(makeSqliteLocalStore));
|
||||
|
||||
} // namespace
|
||||
|
||||
#endif
|
||||
|
Loading…
Reference in New Issue
Block a user