File tree Expand file tree Collapse file tree 1 file changed +8
-0
lines changed Expand file tree Collapse file tree 1 file changed +8
-0
lines changed Original file line number Diff line number Diff line change @@ -507,6 +507,10 @@ def main():
507
507
Path to the FileCheck executable that was built as part of the LLVM
508
508
repository. If not specified, it will be looked up from PATH.
509
509
''' )
510
+ testing_group .add_argument ('--gyb-exec' , default = None , help = '''
511
+ Path to the gyb tool. If not specified, it will be looked up relative to
512
+ the SwiftSyntax directory ('../swift/utils/gyb').
513
+ ''' )
510
514
testing_group .add_argument ('--verify-generated-files' , action = 'store_true' ,
511
515
help = '''
512
516
Instead of generating files using gyb, verify that the files which
@@ -515,6 +519,10 @@ def main():
515
519
516
520
args = parser .parse_args (sys .argv [1 :])
517
521
522
+ global GYB_EXEC
523
+ if args .gyb_exec :
524
+ GYB_EXEC = args .gyb_exec
525
+
518
526
if args .install :
519
527
if not args .dylib_dir :
520
528
fatal_error ('Must specify directory to install' )
You can’t perform that action at this time.
0 commit comments