diff options
author | Alon Zakai <alonzakai@gmail.com> | 2011-10-07 17:54:01 -0700 |
---|---|---|
committer | Alon Zakai <alonzakai@gmail.com> | 2011-10-07 17:54:01 -0700 |
commit | 42a6216329d5dee646003f441d4908dd86b804a8 (patch) | |
tree | 74df15636bee42e9434885b6ad0710f0b931686e /tests | |
parent | 09c67774af1379b51a1ac802a25c07f00a45cf0f (diff) |
fix stdio streams and printing of chars; fixes freetype
Diffstat (limited to 'tests')
-rw-r--r-- | tests/files.cpp | 2 | ||||
-rw-r--r-- | tests/runner.py | 2 |
2 files changed, 3 insertions, 1 deletions
diff --git a/tests/files.cpp b/tests/files.cpp index 6283c4f1..d692ce67 100644 --- a/tests/files.cpp +++ b/tests/files.cpp @@ -33,6 +33,8 @@ int main() printf("input:%s\n", gets((char*)malloc(1024))); fwrite("texto\n", 1, 6, stdout); fwrite("texte\n", 1, 6, stderr); + putchar('$'); + putc('\n', stdout); // Writing diff --git a/tests/runner.py b/tests/runner.py index 783fe4d6..6566d408 100644 --- a/tests/runner.py +++ b/tests/runner.py @@ -2407,7 +2407,7 @@ if 'benchmark' not in str(sys.argv): other.close() src = open(path_from_root('tests', 'files.cpp'), 'r').read() - self.do_test(src, 'size: 7\ndata: 100,-56,50,25,10,77,123\ninput:hi there!\ntexto\ntexte\n5 : 10,30,20,11,88\nother=some data.\nseeked=me da.\nseeked=ata.\nseeked=ta.\nfscanfed: 10 - hello\n', + self.do_test(src, 'size: 7\ndata: 100,-56,50,25,10,77,123\ninput:hi there!\ntexto\ntexte\n$\n5 : 10,30,20,11,88\nother=some data.\nseeked=me da.\nseeked=ata.\nseeked=ta.\nfscanfed: 10 - hello\n', post_build=post, extra_emscripten_args=['-H', 'libc/fcntl.h']) def test_folders(self): |