[pypy-svn] r13328 - pypy/dist/pypy/translator/test

arigo at codespeak.net arigo at codespeak.net
Mon Jun 13 01:50:24 CEST 2005


Author: arigo
Date: Mon Jun 13 01:50:24 2005
New Revision: 13328

Modified:
   pypy/dist/pypy/translator/test/test_backends.py
Log:
test_backends is difficult to write generically at the moment.
(See explanations in the file itself)


Modified: pypy/dist/pypy/translator/test/test_backends.py
==============================================================================
--- pypy/dist/pypy/translator/test/test_backends.py	(original)
+++ pypy/dist/pypy/translator/test/test_backends.py	Mon Jun 13 01:50:24 2005
@@ -9,6 +9,16 @@
 from pypy.translator.test.snippet import *
 
 
+py.test.skip("the Translator and back-ends depend on too many conditions "
+             "to test the back-ends generically")
+# e.g. some back-ends require annotation and/or specialization to be done
+#      while some require it *not* to be done.  GenCL for example has no
+#      chance to understand a specialized graph.  (That's why the test still
+#      used to pass: forty_two is basically an empty function, so
+#      specializing it makes no difference.  Now the RTyper produces a few
+#      helper functions in all cases.)
+
+
 backends = 'source c cl llvm pyrex'.split()
 deterministic_backends = 'source cl llvm pyrex'.split()
 functions = 'forty_two'.split() #XXX add more functions here when RPythonTyper can handle them



More information about the Pypy-commit mailing list