projects
/
vvhitespace
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
tags
|
clone url
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Added tests for debug.pvvs.
[vvhitespace]
/
stdlib_tests
/
vv_test.py
diff --git
a/stdlib_tests/vv_test.py
b/stdlib_tests/vv_test.py
index
c1c2006
..
cb42baf
100755
(executable)
--- a/
stdlib_tests/vv_test.py
+++ b/
stdlib_tests/vv_test.py
@@
-18,7
+18,8
@@
src_extension = '.pvvs'
tests = [
# Format: ['filename_without_extension', 'string for stdin', 'string for expected stdout']
tests = [
# Format: ['filename_without_extension', 'string for stdin', 'string for expected stdout']
- ['0001_hello_world', '', 'Hello, world!\n'],
+ ['0001_dumpstack', '', 'TOS:\n1\t:+42\n0\t:+255\n'],
+ ['0002_dumpheap', '', '32\t:+255\n33\t:+42\n'],
]
for test in tests:
]
for test in tests:
@@
-29,6
+30,7
@@
for test in tests:
print('\n' + test[0])
else:
print('.', end='', flush=True)
print('\n' + test[0])
else:
print('.', end='', flush=True)
+ os.remove(cpp_temp_file)
os.remove(temp_file)
print("")
os.remove(temp_file)
print("")