[llvm] [CAS] Add OnDiskGraphDB and OnDiskKeyValueDB (PR #114102)

Steven Wu via llvm-commits llvm-commits at lists.llvm.org
Wed Oct 22 11:56:33 PDT 2025


================
@@ -1,3 +1,19 @@
+set(ONDISK_CAS_TEST_SOURCES
+  OnDiskGraphDBTest.cpp
+  OnDiskDataAllocatorTest.cpp
+  OnDiskKeyValueDBTest.cpp
+  OnDiskTrieRawHashMapTest.cpp
+  ProgramTest.cpp
+  )
----------------
cachemeifyoucan wrote:

I think it is cleaner this way than `#ifdef` the entire file out for those files. I can switch back to old ways if that is preferred.

I guess the other solution is put all of those under one test fixture and `GTEST_SKIP()` in `Setup()` if the build configuration is different.

https://github.com/llvm/llvm-project/pull/114102


More information about the llvm-commits mailing list