@@ -363,7 +363,7 @@ def update_unittest_tags(args):
363363 linux_tags = _fetch_tags_for_platform (parsed_args , 'linux' )
364364 darwin_tags = _fetch_tags_for_platform (parsed_args , 'darwin' )
365365
366- tag_blacklist = {
366+ tag_exclusions = {
367367 # This test times out in the gate even though it succeeds locally and in the retagger. Race condition?
368368 ('test_cprofile.txt' , '*graalpython.lib-python.3.test.test_cprofile.CProfileTest.test_run_profile_as_module' ),
369369 # The following two try to read bytecode and fail randomly as our co_code is changing
@@ -378,7 +378,7 @@ def update_unittest_tags(args):
378378 ('test_import.txt' , '*graalpython.lib-python.3.test.test_import.__init__.ImportTests.test_concurrency' ),
379379 }
380380
381- result_tags = linux_tags & darwin_tags - tag_blacklist
381+ result_tags = linux_tags & darwin_tags - tag_exclusions
382382 if not parsed_args .untag :
383383 result_tags |= current_tags
384384 _write_tags (result_tags )
@@ -1004,17 +1004,17 @@ def getResults(self):
10041004 return results
10051005
10061006
1007- def deploy_binary_if_master (args ):
1008- """if the active branch is 'master' , deploy binaries for the primary suite to remote maven repository."""
1009- master_branch = 'master'
1007+ def deploy_binary_if_main (args ):
1008+ """if the active branch is the main branch , deploy binaries for the primary suite to remote maven repository."""
1009+ main_branch = 'master'
10101010 active_branch = mx .VC .get_vc (SUITE .dir ).active_branch (SUITE .dir )
1011- if active_branch == master_branch :
1011+ if active_branch == main_branch :
10121012 if sys .platform == "darwin" :
10131013 args .insert (0 , "--platform-dependent" )
10141014 return mx .command_function ('deploy-binary' )(args )
10151015 else :
10161016 mx .log ('The active branch is "%s". Binaries are deployed only if the active branch is "%s".' % (
1017- active_branch , master_branch ))
1017+ active_branch , main_branch ))
10181018 return 0
10191019
10201020
@@ -1117,7 +1117,7 @@ def update_import_cmd(args):
11171117 vc .set_branch (d , current_branch , with_remote = False )
11181118 vc .git_command (d , ["checkout" , current_branch ], abortOnError = True )
11191119 else :
1120- mx .abort ("repo %s is not on master or on %s" % (d , current_branch ))
1120+ mx .abort ("repo %s is not on the main branch or on %s" % (d , current_branch ))
11211121
11221122 # make sure we can update the overlays
11231123 overlaydir = join (SUITE .dir , ".." , "ci-overlays" )
@@ -1135,7 +1135,7 @@ def update_import_cmd(args):
11351135 elif overlaybranch == current_branch :
11361136 pass
11371137 else :
1138- mx .abort ("overlays repo must be on master or branch %s" % current_branch )
1138+ mx .abort ("overlays repo must be on the main branch or branch %s" % current_branch )
11391139
11401140 # find all imports we might update
11411141 imports_to_update = set ()
@@ -2213,7 +2213,7 @@ def run_leak_launcher(input_args, out=None):
22132213 'python-build-watch' : [python_build_watch , '' ],
22142214 'python' : [python , '[Python args|@VM options]' ],
22152215 'python3' : [python , '[Python args|@VM options]' ],
2216- 'deploy-binary-if-master' : [deploy_binary_if_master , '' ],
2216+ 'deploy-binary-if-master' : [deploy_binary_if_main , '' ],
22172217 'python-gate' : [python_gate , '--tags [gates]' ],
22182218 'python-update-import' : [update_import_cmd , '[--no-pull] [import-name, default: truffle]' ],
22192219 'python-style' : [python_style_checks , '[--fix] [--no-spotbugs]' ],
0 commit comments