Skip to content

[xcodeproj] Better lit output #37

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
Jan 15, 2016
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion XCTest.xcodeproj/project.pbxproj
Original file line number Diff line number Diff line change
Expand Up @@ -219,7 +219,7 @@
/* Begin PBXLegacyTarget section */
DAA333B51C267AD6000CC115 /* SwiftXCTestFunctionalTests */ = {
isa = PBXLegacyTarget;
buildArgumentsString = "-q Tests/Functional";
buildArgumentsString = "-sv --no-progress-bar Tests/Functional";
buildConfigurationList = DAA333B81C267AD6000CC115 /* Build configuration list for PBXLegacyTarget "SwiftXCTestFunctionalTests" */;
buildPhases = (
);
Expand Down
8 changes: 6 additions & 2 deletions build_script.py
Original file line number Diff line number Diff line change
Expand Up @@ -139,9 +139,13 @@ def main():
if args.test:
lit_path = os.path.join(
os.path.dirname(SOURCE_DIR), 'llvm', 'utils', 'lit', 'lit.py')
lit_flags = '-sv --no-progress-bar'
tests_path = os.path.join(SOURCE_DIR, 'Tests', 'Functional')
run('SWIFT_EXEC={swiftc} {lit_path} {tests_path}'.format(
swiftc=swiftc, lit_path=lit_path, tests_path=tests_path))
run('SWIFT_EXEC={swiftc} {lit_path} {lit_flags} '
'{tests_path}'.format(swiftc=swiftc,
lit_path=lit_path,
lit_flags=lit_flags,
tests_path=tests_path))

note('Done.')

Expand Down