1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19
|
From: Guido Berhoerster <guido+debian@berhoerster.name>
Subject: Disable broken test tst_perf
The problem intst_perf is that unless a populated database is passed in via
the SQLITESTORAGEDB environment variable, a temporary file is created which is
the passed to sqlite3_open() which creates an empty database. In this case
ExtendedStorage::Ptr::open() calls SqliteStorage::open() which expects
database tables to exist and tries to do a database schema migration which
fails because the database is still empty.
--- mkcal.orig/tests/CMakeLists.txt
+++ mkcal/tests/CMakeLists.txt
@@ -36,7 +36,7 @@ target_link_libraries(tst_perf
KF5::CalendarCore
mkcal-qt5)
-add_test(tst_perf tst_perf)
+# add_test(tst_perf tst_perf)
add_executable(tst_load tst_load.cpp)
|