Skip to content

Commit

Permalink
PR10867: Analogue of r169441 for when using external 'sh'. And actual…
Browse files Browse the repository at this point in the history
…ly run the test!

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@169446 91177308-0d34-0410-b5e6-96231b3b80d8
  • Loading branch information
zygoloid committed Dec 5, 2012
1 parent 22af4bc commit c15e5b0
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
1 change: 1 addition & 0 deletions test/tools/llvm-lit/lit.local.cfg
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
config.suffixes = ['.c']
2 changes: 1 addition & 1 deletion utils/lit/lit/TestRunner.py
Original file line number Diff line number Diff line change
Expand Up @@ -357,7 +357,7 @@ def executeScript(test, litConfig, tmpBase, commands, cwd):
if isWin32CMDEXE:
f.write('\nif %ERRORLEVEL% NEQ 0 EXIT\n'.join(commands))
else:
f.write(' &&\n'.join(commands))
f.write('{ ' + '; } &&\n{ '.join(commands) + '; }')
f.write('\n')
f.close()

Expand Down

0 comments on commit c15e5b0

Please sign in to comment.