Skip to content

Commit

Permalink
add missing test file
Browse files Browse the repository at this point in the history
  • Loading branch information
peadar committed Jun 13, 2024
1 parent 06060bb commit 4f7af8d
Showing 1 changed file with 11 additions and 0 deletions.
11 changes: 11 additions & 0 deletions tests/dump-test.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
#!/usr/bin/python3

import pstack

data = pstack.dumpJSON(pstack.PSTACK_BIN)
assert len(data) != 0
print( f"pstack binary debug information length is {len(data)}" )
print( f"pstack binary debug information is {data}" )
for ex in [ "basic", "basic-zlib", "basic-zlib-gnu" ]:
data = pstack.dumpJSON(f"tests/{ex}")
assert len(data)

0 comments on commit 4f7af8d

Please sign in to comment.