PR10867: Analogue of r169441 for when using external 'sh'. And actually run the test!

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@169446 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
Richard Smith
2012-12-05 23:15:33 +00:00
parent 22af4bc07b
commit c15e5b0a0d
2 changed files with 2 additions and 1 deletions

View File

@@ -0,0 +1 @@
config.suffixes = ['.c']

View File

@@ -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()