@@ -363,7 +363,7 @@ def update_unittest_tags(args):
363
363
linux_tags = _fetch_tags_for_platform (parsed_args , 'linux' )
364
364
darwin_tags = _fetch_tags_for_platform (parsed_args , 'darwin' )
365
365
366
- tag_blacklist = {
366
+ tag_exclusions = {
367
367
# This test times out in the gate even though it succeeds locally and in the retagger. Race condition?
368
368
('test_cprofile.txt' , '*graalpython.lib-python.3.test.test_cprofile.CProfileTest.test_run_profile_as_module' ),
369
369
# 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):
378
378
('test_import.txt' , '*graalpython.lib-python.3.test.test_import.__init__.ImportTests.test_concurrency' ),
379
379
}
380
380
381
- result_tags = linux_tags & darwin_tags - tag_blacklist
381
+ result_tags = linux_tags & darwin_tags - tag_exclusions
382
382
if not parsed_args .untag :
383
383
result_tags |= current_tags
384
384
_write_tags (result_tags )
@@ -1004,17 +1004,17 @@ def getResults(self):
1004
1004
return results
1005
1005
1006
1006
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'
1010
1010
active_branch = mx .VC .get_vc (SUITE .dir ).active_branch (SUITE .dir )
1011
- if active_branch == master_branch :
1011
+ if active_branch == main_branch :
1012
1012
if sys .platform == "darwin" :
1013
1013
args .insert (0 , "--platform-dependent" )
1014
1014
return mx .command_function ('deploy-binary' )(args )
1015
1015
else :
1016
1016
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 ))
1018
1018
return 0
1019
1019
1020
1020
@@ -1117,7 +1117,7 @@ def update_import_cmd(args):
1117
1117
vc .set_branch (d , current_branch , with_remote = False )
1118
1118
vc .git_command (d , ["checkout" , current_branch ], abortOnError = True )
1119
1119
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 ))
1121
1121
1122
1122
# make sure we can update the overlays
1123
1123
overlaydir = join (SUITE .dir , ".." , "ci-overlays" )
@@ -1135,7 +1135,7 @@ def update_import_cmd(args):
1135
1135
elif overlaybranch == current_branch :
1136
1136
pass
1137
1137
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 )
1139
1139
1140
1140
# find all imports we might update
1141
1141
imports_to_update = set ()
@@ -2213,7 +2213,7 @@ def run_leak_launcher(input_args, out=None):
2213
2213
'python-build-watch' : [python_build_watch , '' ],
2214
2214
'python' : [python , '[Python args|@VM options]' ],
2215
2215
'python3' : [python , '[Python args|@VM options]' ],
2216
- 'deploy-binary-if-master' : [deploy_binary_if_master , '' ],
2216
+ 'deploy-binary-if-master' : [deploy_binary_if_main , '' ],
2217
2217
'python-gate' : [python_gate , '--tags [gates]' ],
2218
2218
'python-update-import' : [update_import_cmd , '[--no-pull] [import-name, default: truffle]' ],
2219
2219
'python-style' : [python_style_checks , '[--fix] [--no-spotbugs]' ],
0 commit comments