Skip to content

Commit 082a77c

Browse files
author
Mike Ferris
committed
Merge pull request #37 from modocache/xcode-better-lit-output
[xcodeproj] Better lit output
2 parents e5cf2f4 + f1a2129 commit 082a77c

File tree

2 files changed

+7
-3
lines changed

2 files changed

+7
-3
lines changed

XCTest.xcodeproj/project.pbxproj

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -219,7 +219,7 @@
219219
/* Begin PBXLegacyTarget section */
220220
DAA333B51C267AD6000CC115 /* SwiftXCTestFunctionalTests */ = {
221221
isa = PBXLegacyTarget;
222-
buildArgumentsString = "-q Tests/Functional";
222+
buildArgumentsString = "-sv --no-progress-bar Tests/Functional";
223223
buildConfigurationList = DAA333B81C267AD6000CC115 /* Build configuration list for PBXLegacyTarget "SwiftXCTestFunctionalTests" */;
224224
buildPhases = (
225225
);

build_script.py

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -139,9 +139,13 @@ def main():
139139
if args.test:
140140
lit_path = os.path.join(
141141
os.path.dirname(SOURCE_DIR), 'llvm', 'utils', 'lit', 'lit.py')
142+
lit_flags = '-sv --no-progress-bar'
142143
tests_path = os.path.join(SOURCE_DIR, 'Tests', 'Functional')
143-
run('SWIFT_EXEC={swiftc} {lit_path} {tests_path}'.format(
144-
swiftc=swiftc, lit_path=lit_path, tests_path=tests_path))
144+
run('SWIFT_EXEC={swiftc} {lit_path} {lit_flags} '
145+
'{tests_path}'.format(swiftc=swiftc,
146+
lit_path=lit_path,
147+
lit_flags=lit_flags,
148+
tests_path=tests_path))
145149

146150
note('Done.')
147151

0 commit comments

Comments
 (0)