[lit] Fix shtest-shell and max-failures lit tests on Windows
authorReid Kleckner <rnk@google.com>
Wed, 26 Jul 2017 22:21:25 +0000 (22:21 +0000)
committerReid Kleckner <rnk@google.com>
Wed, 26 Jul 2017 22:21:25 +0000 (22:21 +0000)
commit6dac9134f93b1e146153986cd030d3e808437afd
tree9bb6d27c52f5a507353af4233417182ad821df54
parent709fb2bb10310576860c8eda9e3d8ef4e7dc11a0
[lit] Fix shtest-shell and max-failures lit tests on Windows

Rewrite the write-to-stderr.sh and write-to-stdout-and-stderr.sh shell
scripts as python scripts and call python on them.

Fixes PR33940

llvm-svn: 309200
llvm/utils/lit/tests/Inputs/shtest-shell/redirects.txt
llvm/utils/lit/tests/Inputs/shtest-shell/write-to-stderr.py [new file with mode: 0644]
llvm/utils/lit/tests/Inputs/shtest-shell/write-to-stderr.sh [deleted file]
llvm/utils/lit/tests/Inputs/shtest-shell/write-to-stdout-and-stderr.py [new file with mode: 0644]
llvm/utils/lit/tests/Inputs/shtest-shell/write-to-stdout-and-stderr.sh [deleted file]
llvm/utils/lit/tests/max-failures.py
llvm/utils/lit/tests/shtest-shell.py