From c15e5b0a0dbdaf8612bdcbba1deedcb77bed1045 Mon Sep 17 00:00:00 2001 From: Richard Smith Date: Wed, 5 Dec 2012 23:15:33 +0000 Subject: 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 --- utils/lit/lit/TestRunner.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'utils/lit') diff --git a/utils/lit/lit/TestRunner.py b/utils/lit/lit/TestRunner.py index fa4880a..652e8b4 100644 --- a/utils/lit/lit/TestRunner.py +++ b/utils/lit/lit/TestRunner.py @@ -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() -- cgit v1.1