OSDN Git Service

[lit] Implement "-r" option for builtin "diff" command + a test using that.
authorMax Moroz <mmoroz@chromium.org>
Tue, 9 Jan 2018 18:23:34 +0000 (18:23 +0000)
committerMax Moroz <mmoroz@chromium.org>
Tue, 9 Jan 2018 18:23:34 +0000 (18:23 +0000)
commit4d8dc918b403c2396bc231c5809c5311ebf4805b
tree7348f6b4aab2e981af6a0044fe74ccada7b70b91
parent7481a4cf21d75d9f00382717a3d056b6ec3d9fc0
[lit] Implement "-r" option for builtin "diff" command + a test using that.

Summary:
That would allow to recursively compare directories in tests using
"diff -r" on Windows in a similar way as it can be done on Linux or Mac.

Reviewers: zturner, morehouse, vsk

Reviewed By: zturner

Subscribers: kcc, llvm-commits

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

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@322102 91177308-0d34-0410-b5e6-96231b3b80d8
12 files changed:
test/tools/llvm-cov/multithreaded-report.test
utils/lit/lit/TestRunner.py
utils/lit/tests/Inputs/shtest-shell/diff-r-error-0.txt [new file with mode: 0644]
utils/lit/tests/Inputs/shtest-shell/diff-r-error-1.txt [new file with mode: 0644]
utils/lit/tests/Inputs/shtest-shell/diff-r-error-2.txt [new file with mode: 0644]
utils/lit/tests/Inputs/shtest-shell/diff-r-error-3.txt [new file with mode: 0644]
utils/lit/tests/Inputs/shtest-shell/diff-r-error-4.txt [new file with mode: 0644]
utils/lit/tests/Inputs/shtest-shell/diff-r-error-5.txt [new file with mode: 0644]
utils/lit/tests/Inputs/shtest-shell/diff-r-error-6.txt [new file with mode: 0644]
utils/lit/tests/Inputs/shtest-shell/diff-r.txt [new file with mode: 0644]
utils/lit/tests/max-failures.py
utils/lit/tests/shtest-shell.py