[lit] Fix shtest-format external_shell failures
authorReid Kleckner <rnk@google.com>
Fri, 28 Jul 2017 16:13:02 +0000 (16:13 +0000)
committerReid Kleckner <rnk@google.com>
Fri, 28 Jul 2017 16:13:02 +0000 (16:13 +0000)
commit432914bba001c2d381734b1017eeb0bae2d850e5
treecd83b0a4f51db496dcf51269a79556e29af0a6f4
parent9166ce86e83900d2671b66707461d05e7bf9739a
[lit] Fix shtest-format external_shell failures

When using win32 cmd.exe, turn off command echoing at the beginning of
the script (@echo off).

Replace a bash shell script with a python script for the
fail_with_bad_encoding test.

llvm-svn: 309399
llvm/utils/lit/lit/TestRunner.py
llvm/utils/lit/tests/Inputs/shtest-format/external_shell/fail_with_bad_encoding.txt
llvm/utils/lit/tests/Inputs/shtest-format/external_shell/write-bad-encoding.py [new file with mode: 0644]
llvm/utils/lit/tests/Inputs/shtest-format/external_shell/write-bad-encoding.sh [deleted file]