Skip to content

Commit

Permalink
[DO NOT MERGE] Test output debugging.
Browse files Browse the repository at this point in the history
  • Loading branch information
ChrisCummins committed Feb 22, 2022
1 parent edcf57c commit 66efb7f
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions tests/llvm/observation_spaces_test.py
Original file line number Diff line number Diff line change
Expand Up @@ -1214,6 +1214,11 @@ def test_text_size_observation_spaces(env: LlvmEnv):
# Expected .text sizes for this benchmark: -O0, -O3, -Oz.
crc32_code_sizes = {"darwin": [1171, 3825, 3289], "linux": [2850, 5652, 4980]}

# TODO(cummins): Remove this debugging printout:
print(env.observation["TextSizeO0"])
print(env.observation["TextSizeO3"])
print(env.observation["TextSizeOz"])

key = "TextSizeBytes"
space = env.observation.spaces[key]
assert isinstance(space.space, Scalar)
Expand Down

0 comments on commit 66efb7f

Please sign in to comment.