Author: David Schneider <[email protected]>
Branch:
Changeset: r63243:5dd20a9b2d3a
Date: 2013-04-11 21:27 +0200
http://bitbucket.org/pypy/pypy/changeset/5dd20a9b2d3a/
Log: update arm tests
diff --git a/rpython/jit/backend/arm/test/test_zrpy_releasegil.py
b/rpython/jit/backend/arm/test/test_zrpy_releasegil.py
--- a/rpython/jit/backend/arm/test/test_zrpy_releasegil.py
+++ b/rpython/jit/backend/arm/test/test_zrpy_releasegil.py
@@ -1,4 +1,4 @@
from rpython.jit.backend.arm.test.support import skip_unless_run_slow_tests
skip_unless_run_slow_tests()
-from rpython.jit.backend.llsupport.test.zrpy_releasegil_test import
TestShadowStack, TestAsmGcc
+from rpython.jit.backend.llsupport.test.zrpy_releasegil_test import
TestShadowStack
diff --git a/rpython/jit/backend/arm/test/test_ztranslation_basic.py
b/rpython/jit/backend/arm/test/test_ztranslation_basic.py
--- a/rpython/jit/backend/arm/test/test_ztranslation_basic.py
+++ b/rpython/jit/backend/arm/test/test_ztranslation_basic.py
@@ -5,9 +5,9 @@
skip_unless_run_slow_tests()
-class TestTranslationX86(TranslationTest):
- def _check_cbuilder(self, cbuilder):
- # We assume here that we have sse2. If not, the CPUClass
- # needs to be changed to CPU386_NO_SSE2, but well.
- assert '-msse2' in cbuilder.eci.compile_extra
- assert '-mfpmath=sse' in cbuilder.eci.compile_extra
+class TestTranslationARM(TranslationTest):
+ def _get_TranslationContext(self):
+ t = TranslationContext()
+ t.config.translation.gc = DEFL_GC # 'hybrid' or 'minimark'
+ t.config.translation.gcrootfinder = 'shadowstack'
+ return t
diff --git a/rpython/jit/backend/arm/test/test_ztranslation_call_assembler.py
b/rpython/jit/backend/arm/test/test_ztranslation_call_assembler.py
--- a/rpython/jit/backend/arm/test/test_ztranslation_call_assembler.py
+++ b/rpython/jit/backend/arm/test/test_ztranslation_call_assembler.py
@@ -5,9 +5,9 @@
skip_unless_run_slow_tests()
-class TestTranslationCallAssemblerX86(TranslationTestCallAssembler):
- def _check_cbuilder(self, cbuilder):
- # We assume here that we have sse2. If not, the CPUClass
- # needs to be changed to CPU386_NO_SSE2, but well.
- assert '-msse2' in cbuilder.eci.compile_extra
- assert '-mfpmath=sse' in cbuilder.eci.compile_extra
\ No newline at end of file
+class TestTranslationCallAssemblerARM(TranslationTestCallAssembler):
+ def _get_TranslationContext(self):
+ t = TranslationContext()
+ t.config.translation.gc = DEFL_GC # 'hybrid' or 'minimark'
+ t.config.translation.gcrootfinder = 'shadowstack'
+ return t
diff --git
a/rpython/jit/backend/arm/test/test_ztranslation_external_exception.py
b/rpython/jit/backend/arm/test/test_ztranslation_external_exception.py
--- a/rpython/jit/backend/arm/test/test_ztranslation_external_exception.py
+++ b/rpython/jit/backend/arm/test/test_ztranslation_external_exception.py
@@ -5,11 +5,11 @@
skip_unless_run_slow_tests()
-class TestTranslationRemoveTypePtrX86(TranslationRemoveTypePtrTest):
+class TestTranslationRemoveTypePtrARM(TranslationRemoveTypePtrTest):
def _get_TranslationContext(self):
t = TranslationContext()
t.config.translation.gc = DEFL_GC # 'hybrid' or 'minimark'
- t.config.translation.gcrootfinder = 'asmgcc'
+ t.config.translation.gcrootfinder = 'shadowstack'
t.config.translation.list_comprehension_operations = True
t.config.translation.gcremovetypeptr = True
- return t
+ return t
\ No newline at end of file
diff --git a/rpython/jit/backend/arm/test/test_ztranslation_jit_stats.py
b/rpython/jit/backend/arm/test/test_ztranslation_jit_stats.py
--- a/rpython/jit/backend/arm/test/test_ztranslation_jit_stats.py
+++ b/rpython/jit/backend/arm/test/test_ztranslation_jit_stats.py
@@ -5,9 +5,9 @@
skip_unless_run_slow_tests()
-class TestTranslationJITStatsX86(TranslationTestJITStats):
- def _check_cbuilder(self, cbuilder):
- # We assume here that we have sse2. If not, the CPUClass
- # needs to be changed to CPU386_NO_SSE2, but well.
- assert '-msse2' in cbuilder.eci.compile_extra
- assert '-mfpmath=sse' in cbuilder.eci.compile_extra
\ No newline at end of file
+class TestTranslationJITStatsARM(TranslationTestJITStats):
+ def _get_TranslationContext(self):
+ t = TranslationContext()
+ t.config.translation.gc = DEFL_GC # 'hybrid' or 'minimark'
+ t.config.translation.gcrootfinder = 'shadowstack'
+ return t
_______________________________________________
pypy-commit mailing list
[email protected]
http://mail.python.org/mailman/listinfo/pypy-commit