Author: Armin Rigo <[email protected]>
Branch: stmgc-c4
Changeset: r65239:a7a33a68fd93
Date: 2013-07-06 16:23 +0200
http://bitbucket.org/pypy/pypy/changeset/a7a33a68fd93/

Log:    Fix the test. Now test_ztranslated passes completely.

diff --git a/rpython/translator/stm/test/test_ztranslated.py 
b/rpython/translator/stm/test/test_ztranslated.py
--- a/rpython/translator/stm/test/test_ztranslated.py
+++ b/rpython/translator/stm/test/test_ztranslated.py
@@ -176,7 +176,7 @@
             print bug2(1)
             return 0
         #
-        perform_transaction = rstm.make_perform_transaction(check, FOOBAR)
+        perform_transaction = rstm.make_perform_transaction(check, FOOBARP)
         t, cbuilder = self.compile(entry_point, backendopt=True)
         data = cbuilder.cmdexec('')
         assert '12\n12\n' in data, "got: %r" % (data,)
@@ -204,7 +204,7 @@
             do_stuff()
             return 0
         #
-        perform_transaction = rstm.make_perform_transaction(check, FOOBAR)
+        perform_transaction = rstm.make_perform_transaction(check, FOOBARP)
         t, cbuilder = self.compile(main)
         data = cbuilder.cmdexec('')
         assert '42\n' in data, "got: %r" % (data,)
_______________________________________________
pypy-commit mailing list
[email protected]
http://mail.python.org/mailman/listinfo/pypy-commit

Reply via email to