Skip to content

Commit

Permalink
Support reproducing issues with an asserts enabled compiler
Browse files Browse the repository at this point in the history
  • Loading branch information
lplarson committed May 18, 2017
1 parent 96660b3 commit 272fece
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions reproduce.py
Original file line number Diff line number Diff line change
Expand Up @@ -62,6 +62,9 @@ def parse_args():
help='sandbox package build and test operations with '
'profile',
type=os.path.abspath)
parser.add_argument("--assertions",
help='Build Swift with asserts',
action='store_true')
return parser.parse_args()


Expand Down Expand Up @@ -107,6 +110,8 @@ def main():
'--skip-ci-steps', '--skip-runner']
if not should_clone:
run_command += ['--skip-clone']
if args.assertions:
run_command += ['--assertions']
common.check_execute(run_command, timeout=3600)

# Build specified indexed project. Otherwise, build all indexed projects
Expand Down

0 comments on commit 272fece

Please sign in to comment.