1
0
mirror of https://github.com/RPCS3/llvm-mirror.git synced 2025-01-31 20:51:52 +01:00
Joel E. Denny 4878f8e5d6 [lit] Make internal diff work in pipelines
When using lit's internal shell, RUN lines like the following
accidentally execute an external `diff` instead of lit's internal
`diff`:

```
 # RUN: program | diff file -
 # RUN: not diff file1 file2 | FileCheck %s
```

Such cases exist now, in `clang/test/Analysis` for example.  We are
preparing patches to ensure lit's internal `diff` is called in such
cases, which will then fail because lit's internal `diff` cannot
currently be used in pipelines and doesn't recognize `-` as a
command-line option.

To enable pipelines, this patch moves lit's `diff` implementation into
an out-of-process script, similar to lit's `cat` implementation.  A
follow-up patch will implement `-` to mean stdin.

Reviewed By: probinson, stella.stamenova

Differential Revision: https://reviews.llvm.org/D66574

llvm-svn: 372035
2019-09-16 21:22:29 +00:00
..
2019-07-15 20:02:23 +00:00
2019-09-16 11:33:54 +00:00
2019-01-03 14:11:33 +00:00
2019-08-30 08:52:55 +00:00
2018-10-22 14:04:13 +00:00
2019-01-03 14:11:33 +00:00
2019-01-03 14:11:33 +00:00
2018-03-17 17:30:08 +00:00
2019-01-03 14:12:30 +00:00
2019-01-03 14:12:44 +00:00
2019-01-03 14:11:33 +00:00