Author: Armin Rigo <[email protected]>
Branch: static-callback-embedding
Changeset: r2570:4d841e4f5175
Date: 2016-01-12 18:54 +0100
http://bitbucket.org/cffi/cffi/changeset/4d841e4f5175/
Log: improve test, but it is failing under windows
diff --git a/testing/embedding/tlocal-test.c b/testing/embedding/tlocal-test.c
--- a/testing/embedding/tlocal-test.c
+++ b/testing/embedding/tlocal-test.c
@@ -18,8 +18,8 @@
assert((expected % 1000) == 42);
for (i=0; i<10; i++) {
- x = add1(40, 2);
- assert(x == expected);
+ x = add1(50, i);
+ assert(x == expected + 8 + i);
}
status = sem_post(&done);
_______________________________________________
pypy-commit mailing list
[email protected]
https://mail.python.org/mailman/listinfo/pypy-commit