[libc-commits] [libc] [RFC][libc] shut up passing tests (PR #117253)

Joseph Huber via libc-commits libc-commits at lists.llvm.org
Wed Dec 4 09:14:55 PST 2024


jhuber6 wrote:

> https://libcxx.llvm.org/TestingLibcxx.html#usage as an example.

I remember bringing this up *way* back, at the time the assertions was the external users wanted to use it so having a depedency on `lit` would be annoying. But I think we're the only test suite that doesn't use `lit` primarily, (Other tests have unit tests which is basically what all of ours are, but they're still handed through `lit`).

The desired interface (for me) would be something like
```console
> ninja check-libc-amdgcn-amd-amdhsa
# Runs all tests
> ./bin/llvm-lit runttimes/runtimes-amdgcn-amd-amdhsa-bins/libc/test
# Also runs all tests
> ./bin/llvm-lit runttimes/runtimes-amdgcn-amd-amdhsa-bins/libc/test/src/stdio
# Runs all stdio tests
``` 

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


More information about the libc-commits mailing list