[Lldb-commits] [lldb] r348314 - Fix LLDB build script.
Zachary Turner via lldb-commits
lldb-commits at lists.llvm.org
Tue Dec 4 14:46:02 PST 2018
Author: zturner
Date: Tue Dec 4 14:46:01 2018
New Revision: 348314
URL: http://llvm.org/viewvc/llvm-project?rev=348314&view=rev
Log:
Fix LLDB build script.
A local patch was omitted from the original commit. This makes
the tests pass.
Modified:
lldb/trunk/lit/helper/build.py
Modified: lldb/trunk/lit/helper/build.py
URL: http://llvm.org/viewvc/llvm-project/lldb/trunk/lit/helper/build.py?rev=348314&r1=348313&r2=348314&view=diff
==============================================================================
--- lldb/trunk/lit/helper/build.py (original)
+++ lldb/trunk/lit/helper/build.py Tue Dec 4 14:46:01 2018
@@ -611,9 +611,8 @@ def build(commands):
global args
for (status, inputs, output, env, child_args) in commands:
print('\n\n')
- if not args.verbose:
- inputs = [os.path.basename(x) for x in inputs]
- output = os.path.basename(output)
+ inputs = [os.path.basename(x) for x in inputs]
+ output = os.path.basename(output)
print(status + ' {0} -> {1}'.format('+'.join(inputs), output))
if args.verbose:
@@ -641,6 +640,8 @@ def build(commands):
def clean(files):
global args
+ if not files:
+ return
for o in files:
file = o if args.verbose else os.path.basename(o)
print('Cleaning {0}'.format(file))
More information about the lldb-commits
mailing list