facebook / facebook/zstd

[tests] test-license.py exclusion fails on Windows

Open
#4,777 0 comments 0 reactions 0 assignees View on GitHub
Dominant language
C
Stars
27.9k
Forks
2.6k
Avg merge
1d 3h
Merged PRs (30d)
8

Description

tests/test-license.py builds absolute directory strings with a hard-coded slash suffix. On Windows, glob returns backslash paths, so the intended contrib/linux-kernel/test/include exclusion does not match and the license test reports xxhash.h and unaligned.h as failures. Reproduced on the dev branch with Python 3.13; using os.sep for the suffix makes the same test pass while preserving POSIX behavior. The focused fix is in PR branch codex/fix-license-test-windows.

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.