Author: Wim Lavrijsen <[email protected]>
Branch: cppyy-packaging
Changeset: r92058:110184c3d9d9
Date: 2017-08-03 13:24 -0700
http://bitbucket.org/pypy/pypy/changeset/110184c3d9d9/

Log:    remove streams test support files

diff --git a/pypy/module/_cppyy/test/Makefile b/pypy/module/_cppyy/test/Makefile
--- a/pypy/module/_cppyy/test/Makefile
+++ b/pypy/module/_cppyy/test/Makefile
@@ -1,6 +1,6 @@
 dicts = example01Dict.so datatypesDict.so advancedcppDict.so 
advancedcpp2Dict.so \
 overloadsDict.so stltypesDict.so operatorsDict.so fragileDict.so 
crossingDict.so \
-std_streamsDict.so iotypesDict.so
+iotypesDict.so
 all : $(dicts)
 
 ifneq (${REFLEXHOME},)
@@ -62,12 +62,6 @@
 
 endif
 
-ifeq ($(DUMMY),)
-# TODO: methptrgetter causes these tests to crash, so don't use it for now
-std_streamsDict.so: std_streams.cxx std_streams.h std_streams.xml
-       $(genreflex) std_streams.h --selection=std_streams.xml
-       g++ -o $@ std_streams_rflx.cpp std_streams.cxx -shared -std=c++11 
$(cppflags) $(cppflags2)
-endif
 
 .PHONY: clean
 clean:
diff --git a/pypy/module/_cppyy/test/std_streams.cxx 
b/pypy/module/_cppyy/test/std_streams.cxx
deleted file mode 100644
--- a/pypy/module/_cppyy/test/std_streams.cxx
+++ /dev/null
@@ -1,3 +0,0 @@
-#include "std_streams.h"
-
-template class std::basic_ios<char,std::char_traits<char> >;
diff --git a/pypy/module/_cppyy/test/std_streams.h 
b/pypy/module/_cppyy/test/std_streams.h
deleted file mode 100644
--- a/pypy/module/_cppyy/test/std_streams.h
+++ /dev/null
@@ -1,13 +0,0 @@
-#ifndef STD_STREAMS_H 
-#define STD_STREAMS_H 1
-
-#ifndef __CINT__
-#include <ios>
-#endif
-#include <iostream>
-
-#ifndef __CINT__
-extern template class std::basic_ios<char,std::char_traits<char> >;
-#endif
-
-#endif // STD_STREAMS_H
diff --git a/pypy/module/_cppyy/test/std_streams.xml 
b/pypy/module/_cppyy/test/std_streams.xml
deleted file mode 100644
--- a/pypy/module/_cppyy/test/std_streams.xml
+++ /dev/null
@@ -1,12 +0,0 @@
-<lcgdict>
-
-  <namespace name = "std" />
-
-  <class name = "std::ostream"/>
-  <class name = "std::ios_base"/>
-  <class name = "std::basic_ios<char,std::char_traits<char> >"/>
-
-  <class name = "std::basic_ostream<char,char_traits<char> >" />
-  <variable name="std::cout" />
-
-</lcgdict>
_______________________________________________
pypy-commit mailing list
[email protected]
https://mail.python.org/mailman/listinfo/pypy-commit

Reply via email to