Skip to content

tests: add count-min C++ serialization compatibility tests#92

Draft
PsiACE wants to merge 2 commits into
apache:mainfrom
PsiACE:countmin-xlang-serde-tests
Draft

tests: add count-min C++ serialization compatibility tests#92
PsiACE wants to merge 2 commits into
apache:mainfrom
PsiACE:countmin-xlang-serde-tests

Conversation

@PsiACE

@PsiACE PsiACE commented Feb 13, 2026

Copy link
Copy Markdown
Member

No description provided.

@tisonkun

This comment was marked as outdated.

@tisonkun

Copy link
Copy Markdown
Member

Failed on Windows. Perhaps related to line separator?

@tisonkun

Copy link
Copy Markdown
Member

Looks like when generating the cpp snapshot, it prints CRLF on windows.

Should work with their people like @proost

@leerho

leerho commented Jun 18, 2026

Copy link
Copy Markdown
Member

WRT Windows and CRLF issues. I noticed that there is no .gitattributes file in ds-cpp. I ran into similar issues recently when refactoring ds-memory. It turns out all the major modern OSs can correctly process text files with just LF "\n" line endings. So structuring the .gitattributes file to force LF endings for all text type files fixed the problem and it works for Ubuntu, MacOS, and Windows. See this .gitattributes.

@tisonkun

Copy link
Copy Markdown
Member

@PsiACE the corresponding cpp patch has been merged.

You may rebase this patch and pin the cpp checkout to the latest commit and retry.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants