Skip to content

Commit 7cf8a58

Browse files
nilsdingcamilasan
authored andcommitted
chore(test): exclude AccountSettings test from CI/ctest runs when building a VFS client
Ironically enough, a VFS/File Provider client build crashes on this test when run in CI. I'm not yet sure what's causing it as it works fine in a non-VFS build... Signed-off-by: Jyrki Gadinger <nilsding@nilsding.org>
1 parent ac61af7 commit 7cf8a58

1 file changed

Lines changed: 6 additions & 1 deletion

File tree

test/CMakeLists.txt

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -141,11 +141,16 @@ nextcloud_add_test(LongPath)
141141
nextcloud_add_benchmark(LargeSync)
142142

143143
nextcloud_add_test(Account)
144-
nextcloud_add_test(AccountSettings)
145144
nextcloud_add_test(Folder)
146145
nextcloud_add_test(FolderMan)
147146
nextcloud_add_test(RemoteWipe)
148147

148+
if(NOT BUILD_FILE_PROVIDER_MODULE)
149+
# the File Provider build crashes this test in CI for some reason
150+
# I'm not yet sure what's causing it as it works fine with a classic build...
151+
nextcloud_add_test(AccountSettings)
152+
endif()
153+
149154
configure_file(test_journal.db "${PROJECT_BINARY_DIR}/bin/test_journal.db" COPYONLY)
150155

151156
find_package(CMocka)

0 commit comments

Comments
 (0)