[pypy-commit] pypy default: fix test

arigo noreply at buildbot.pypy.org
Sat Apr 11 11:49:44 CEST 2015


Author: Armin Rigo <arigo at tunes.org>
Branch: 
Changeset: r76773:60de3e60e9d5
Date: 2015-04-11 10:42 +0200
http://bitbucket.org/pypy/pypy/changeset/60de3e60e9d5/

Log:	fix test

diff --git a/rpython/translator/c/gcc/test/test_trackgcroot.py b/rpython/translator/c/gcc/test/test_trackgcroot.py
--- a/rpython/translator/c/gcc/test/test_trackgcroot.py
+++ b/rpython/translator/c/gcc/test/test_trackgcroot.py
@@ -159,7 +159,8 @@
                 expectedlines.insert(i-2, 'PUBLIC\t%s\n' % (label,))
                 expectedlines.insert(i-1, '%s::\n' % (label,))
             else:
-                expectedlines.insert(i-2, '\t.globl\t%s\n' % (label,))
+                expectedlines.insert(i-3, '\t.globl\t%s\n' % (label,))
+                expectedlines.insert(i-2, '\t.hidden\t%s\n' % (label,))
                 expectedlines.insert(i-1, '%s=.+%d\n' % (label,
                                                          tracker.OFFSET_LABELS))
         if format == 'msvc' and r_gcroot_constant.match(line):


More information about the pypy-commit mailing list