================
@@ -444,6 +444,176 @@ TEST(SerializationTest, NoCrashOnBadStringTableSize) {
testing::HasSubstr("bytes is implausible"));
}
+// Verify path remapping is applied to all URI fields during load/store.
+// An index is generated at /home/project. A second client at /workarea/project
+// loads and re-stores the shards. On-disk content always contains the
+// /home/project paths so the index remains portable.
+TEST(SerializationTest, PathTransformRoundTrip) {
----------------
ArcsinX wrote:
I think that for serialization test we should not focus on paths, but on
strings transformation. I.e. just check that path transformation is applied to
each(?) string in strings table. I hope this can reduce the test size
https://github.com/llvm/llvm-project/pull/180285
_______________________________________________
cfe-commits mailing list
[email protected]
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits