<table border="1" cellspacing="0" cellpadding="8">
<tr>
<th>Issue</th>
<td>
<a href=https://github.com/llvm/llvm-project/issues/60471>60471</a>
</td>
</tr>
<tr>
<th>Summary</th>
<td>
Running lit for a single libcxx test doesn't work
</td>
</tr>
<tr>
<th>Labels</th>
<td>
libc++
</td>
</tr>
<tr>
<th>Assignees</th>
<td>
</td>
</tr>
<tr>
<th>Reporter</th>
<td>
asb
</td>
</tr>
</table>
<pre>
Noted by @tahonermann in [this thread](https://discourse.llvm.org/t/testing-libc-documentation-page-is-incorrect-or-incomplete/64200). and [confirmed](https://discourse.llvm.org/t/testing-libc-documentation-page-is-incorrect-or-incomplete/64200/4) as an issue by @ldionne in that same thread.
The reported reproducer was:
```
$ ../llvm-project-build/bin/llvm-lit -sv libcxx/test/std/depr/depr.c.headers/stdlib_h.pass.cpp
llvm-lit: /home/tom/projects/llvm-project/libcxx/test/lit.cfg.py:7: fatal: You seem to be running Lit directly -- you should be running Lit through <build>/bin/llvm-lit, which will ensure that the right Lit configuration file is used.
```
I'm seeing the same failure with a test I was trying to run individually. I wasn't able to find an existing issue, so creating this one to track it.
</pre>
<img width="1px" height="1px" alt="" src="http://email.email.llvm.org/o/eJy8VMGOpDYQ_Rr3pQSiTUN3HzjM7ARppSiHKJecIhsXuLLGRnYxPf33kYHdKLP3SMZguah69d6zVUo0ecRONK-ieTuplW2InUr6pIN5dr8FRgP6CeJSsbLBY5yV90AeRPPKlhKwjaiMaN6EvFnmJYn6RcheyN5QGsIaE5bOvc9liJOQPecHE5OfCkd6KEwY1hk9K6bgi0VNWFAqyA8hRhy4CHFbzItDRiH79iKrSsh7CcqbjGIIfqQ44_-Pob8IeQeVQHmglFY8mHKGgveYWWKrGJKa8eCpFNWbqF72-Q-LEHEJMZMccYnBrANGeKitgT2yrY6xL-UFylLIPrdTLDH8nfHplZwRstfkv285YijSO-T-Pj6OhoXsE-dAg0s8XuVQWlQGY9p3Hem_bLmolMphWfaq3zOK-gWE7G2YMwscZiH7A0P6hCkvP5V2xOUwTuXyFPXLNecaFSuXP_4MKyTEGTiARoir9-Qn-JUYDGUJ3BOKAp45zIbVmc9RbGNYJwui_rKTUf_yEx9CfoGHpcHCg5wD9GmNuCvEWQmaLG_JNkdNa9zsACM5BEqwJvwh3ydRtvmrkNc5d5Ex5YSb7KMil8s8iC0oyFTA16wwcHxukSE3AuQNvZNZlXPPco_wQl4ZlHaYg0byJhsNP2hz7u643FMKMERUvNelBMFvf3BUwzcgLk-mq829vqsTduf22tT1WTa3k-1a3cr2fFc3lLe7qtqmbnTbDOdaq_Gsx-uJOlnJupKVrO6Xa30rz5dWyzuetW5uehy0uFQ4K3I_jtdpg9W11eV6Pjml0aXtcpEy20HI123IfNnEblNGr1PKh4YSp3_TMLHD7vdD4uzmMURQkMhPDg9b73SagAdXjxC_ndbouv9eAhOxXXU5bH7NFX726oY6e3gD_k8AAAD__3PprpI">