Skip to content

Commit f4e5b7d

Browse files
author
Michael Wang
committed
added some printing
1 parent 7b8e17f commit f4e5b7d

File tree

1 file changed

+7
-0
lines changed

1 file changed

+7
-0
lines changed

conformance_testing/unified_conformance.py

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -86,6 +86,13 @@ def run_instrumented_native(self, instrumented_code: str) -> Tuple[bool, str]:
8686
with tempfile.NamedTemporaryFile(mode='w', suffix=self.processor.file_extension, delete=False) as f:
8787
f.write(instrumented_code)
8888
f.flush()
89+
90+
# Debug: print file contents
91+
print(f"DEBUG: Running file {f.name} with contents:")
92+
print("=" * 50)
93+
print(instrumented_code)
94+
print("=" * 50)
95+
8996
# Run the instrumented code
9097
result = subprocess.run(
9198
self.processor.get_native_execution_command(f.name),

0 commit comments

Comments
 (0)