summaryrefslogtreecommitdiff
path: root/testing/embedding
diff options
context:
space:
mode:
authorArmin Rigo <arigo@tunes.org>2019-02-13 12:26:22 +0100
committerArmin Rigo <arigo@tunes.org>2019-02-13 12:26:22 +0100
commit389a2ae889f8b38d0138229a2dbbd7bd0f8c1564 (patch)
treeb9fe1cc14a2a5ced48af20deb374ab40e1aa5d8f /testing/embedding
parentbd9ae66c6172d9ceb4730ce6d0c275e29f2e3070 (diff)
downloadcffi-389a2ae889f8b38d0138229a2dbbd7bd0f8c1564.tar.gz
Add comments about this test failing occasionally on Windows
Diffstat (limited to 'testing/embedding')
-rw-r--r--testing/embedding/test_thread.py5
1 files changed, 5 insertions, 0 deletions
diff --git a/testing/embedding/test_thread.py b/testing/embedding/test_thread.py
index 1895076..34d74a8 100644
--- a/testing/embedding/test_thread.py
+++ b/testing/embedding/test_thread.py
@@ -56,6 +56,11 @@ class TestThread(EmbeddingTests):
for j in range(10):
output = self._take_out(output, "adding 40 and 2 and 100\n")
output = self._take_out(output, "adding 1000, 200, 30, 4\n")
+ # Windows note: fails occasionally, but it looks like a Windows
+ # bug somehow. If I add fprintf(stderr, "foo\n") after the
+ # final printf("done\n") in thread3-test.c, then it gets printed,
+ # even though the "done\n" part is very occasionally missing
+ # from the output.
assert output == ("starting\n"
"prepADD2\n"
"done\n")