[libc-commits] [libc] [libc] pipe(2) linux syscall wrapper and unittest (PR #85514)

via libc-commits libc-commits at lists.llvm.org
Mon Mar 18 09:09:51 PDT 2024


muffpy wrote:

> Thanks for the patch!

Thank you for the suggestions! May I ask your help in fixing my local dev setup because right now, the following command is not creating and running the tests necessary for pipe2:

```
$ cmake ../llvm -G Ninja -DLLVM_ENABLE_PROJECTS="libc"  -DCMAKE_C_COMPILER=clang -DCMAKE_CXX_COMPILER=clang++
$ ninja libc_unistd_unittests
```

In fact, when I look inside llvm-project/build/projects/libc/test/src/unistd after running the above `cmake` command, I do not see a `libc.test.src.unistd.pipe2.* or something like that.

But, my patch seems to work generate and run the necessary tests for pipe2 in buildkite so it's defo a problem with my local setup.

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


More information about the libc-commits mailing list