Skip to content

Commit f70cbb9

Browse files
committed
Clean some debugs
1 parent da1e949 commit f70cbb9

File tree

3 files changed

+0
-9
lines changed

3 files changed

+0
-9
lines changed

graalpython/com.oracle.graal.python.test/src/runner.py

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1232,7 +1232,6 @@ def without_keys(self, keys: set[str]) -> 'Tag | None':
12321232
# disable test/platform only for github, not completely for internal ci
12331233
if GITHUB_CI:
12341234
exclusions = frozenset(list(self.excluded_keys) + list(keys))
1235-
print(f"[DEBUG] Without key called with {keys}, new exclusions {exclusions}")
12361235
return Tag(self.test_id, self.keys, exclusions, is_exclusion=self.is_exclusion)
12371236

12381237
keys = self.keys - keys
@@ -1386,7 +1385,6 @@ def main_merge_tags(args):
13861385
for result in all_results:
13871386
by_file[result.test_id.test_file].append(result)
13881387
for test_file, results in by_file.items():
1389-
print(f"[DEBUG] updating {test_file}")
13901388
test_file = configure_test_file(test_file)
13911389
update_tags(
13921390
test_file,

graalpython/com.oracle.graal.python.test/src/tests/test_sequence_strategies.py

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -40,9 +40,6 @@
4040

4141

4242
if sys.implementation.name == "graalpy":
43-
print("[DEBUG] INTERPRETER IS GRAALPY")
44-
print("[DEBUG] HAS_ATTR:", hasattr(__graalpython__,"using_native_primitive_storage_strategy"))
45-
print("[DEBUG] VALUE:", getattr(__graalpython__,"using_native_primitive_storage_strategy", None))
4643
if not hasattr(__graalpython__, 'get_storage_strategy'):
4744
raise SystemError("This test must run with --python.EnableDebuggingBuiltins=true")
4845

mx.graalpython/mx_graalpython.py

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -347,7 +347,6 @@ def libpythonvm_build_args():
347347
"-H:-UnlockExperimentalVMOptions",
348348
]
349349
else:
350-
print("[DEBUG] libpythonvm_build_args debug")
351350
print(invert("Not using an automatically selected PGO profile"), file=sys.stderr)
352351
print(f"[DEBUG] libpythonvm args: {build_args}")
353352
return build_args
@@ -891,12 +890,9 @@ def graalpy_standalone_home(standalone_type, enterprise=False, dev=False, build=
891890
def graalpy_standalone(standalone_type, enterprise=False, dev=False, build=True):
892891
assert standalone_type in ['native', 'jvm']
893892
if standalone_type == 'native' and mx_gate.get_jacoco_agent_args():
894-
print("[DEBUG] GRAALPY STANDALONE IS RUNNING ON JVM")
895893
return graalpy_standalone('jvm', enterprise=enterprise, dev=dev, build=build)
896894

897-
print("[DEBUG] GRAALPY STANDALONE IS RUNNING NATIVELY")
898895
home = graalpy_standalone_home(standalone_type, enterprise=enterprise, dev=dev, build=build)
899-
print(f"[DEBUG] GRAALPY STANDALONE HOME: {home}")
900896
launcher = os.path.join(home, 'bin', _graalpy_launcher())
901897
return make_coverage_launcher_if_needed(launcher)
902898

0 commit comments

Comments
 (0)