mirror of
https://github.com/RPCS3/llvm-mirror.git
synced 2024-11-23 19:23:23 +01:00
eaf7cad4eb
This patch extends lit's test suite to check that lit's internal shell doesn't accidentally execute internal commands as external commands. It does so by putting fake failing versions of those commands in `PATH` while the entire lit test suite is running. Without the fixes in D65697 but with its tests, this approach catches accidental external `env` calls. Reviewed By: probinson Differential Revision: https://reviews.llvm.org/D66293 llvm-svn: 369309
6 lines
77 B
Python
Executable File
6 lines
77 B
Python
Executable File
#!/usr/bin/env python
|
|
|
|
import fake_external
|
|
|
|
fake_external.execute(__file__)
|