OverviewFilesCommitsIssuesDocsReleasesPeers

opencog-atomspace-cog / tests / persist / cog-simple / CMakeLists.txt

38 lines · txt ref:

LINK_LIBRARIES(
	persist-cog-simple
	${COGSERVER_LIBRARIES}
	${ATOMSPACE_LIBRARIES}
)

# The nine unit tests, ported over from the
# atomspace/persist/sql/multi-driver unit tests.
# Same as the atomspace/persist/cog-storage unit tests.
# (But with a different name to avoid CMake collisions)
ADD_CXXTEST(SimpleBasicSaveUTest)
ADD_CXXTEST(SimpleValueSaveUTest)
ADD_CXXTEST(SimplePersistUTest)
ADD_CXXTEST(SimpleFetchUTest)
TARGET_LINK_LIBRARIES(SimpleFetchUTest execution)
ADD_CXXTEST(SimpleBasicDeleteUTest)
ADD_CXXTEST(SimpleDeleteUTest)
ADD_CXXTEST(SimpleAlphaEquivUTest)
ADD_CXXTEST(SimpleMultiPersistUTest)
ADD_CXXTEST(SimpleMultiUserUTest)
ADD_CXXTEST(SimpleMultiDeleteUTest)
ADD_CXXTEST(SimpleQueryPersistUTest)
#
# At this time, the multi-space tests are guaranteed to fail,
# so don't bother.
# ADD_GUILE_TEST(SpaceFrame space-frame-test.scm)
# ADD_GUILE_TEST(SpaceDiamond space-diamond-test.scm)
# ADD_GUILE_TEST(SpaceWye space-wye-test.scm)
# ADD_GUILE_TEST(FrameDelete frame-delete-test.scm)
#
ADD_CXXTEST(SimpleLargeFlatUTest)
ADD_CXXTEST(SimpleLargeZipfUTest)

# Test demonstrating server hang when client doesn't close connection.
# This test is expected to hang until the fix is applied!
ADD_CXXTEST(SimpleServerHangUTest)