summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPeter LaFosse <peter@vector35.com>2021-10-25 10:18:25 -0400
committerPeter LaFosse <peter@vector35.com>2021-10-25 10:18:25 -0400
commitebf7c03b9303db9d85433b70f76cb832958a97da (patch)
tree4d5a0bb1f83345c5d6bc0dbf2fc9dd25e70529d6
parent1ba50a879a21a38f63a65b1d898171ae2b0541bb (diff)
Prevent the streampos_simplifier and ios_base_simplifiers from running to avoid conflicting type names
-rw-r--r--suite/testcommon.py21
1 files changed, 16 insertions, 5 deletions
diff --git a/suite/testcommon.py b/suite/testcommon.py
index 2d67bba1..52cdc242 100644
--- a/suite/testcommon.py
+++ b/suite/testcommon.py
@@ -679,11 +679,22 @@ class TestBuilder(Builder):
"std::basic_ofstream<T, std::char_traits<T> >",
"std::basic_fstream<T, std::char_traits<T> >",
- "std::fpos<__mbstate_t>",
- "std::_Ios_Iostate",
- "std::_Ios_Seekdir",
- "std::_Ios_Openmode",
- "std::_Ios_Fmtflags",
+ # The following simplifiers should probably be done as typedefs some where as they can appear both
+ # as the simplified and unsimplified name in the type libraries and in mangled names
+ # "std::fpos<__mbstate_t>",
+ # "std::_Ios_Iostate",
+ # "std::_Ios_Seekdir",
+ # "std::_Ios_Openmode",
+ # "std::_Ios_Fmtflags",
+
+ # The following 5 entries are the simplified versions of the above so we don't have to re-generate
+ # unit test results.
+ "std::streampos",
+ "std::ios_base::iostate",
+ "std::ios_base::seekdir",
+ "std::ios_base::openmode",
+ "std::ios_base::fmtflags",
+
"std::foo<T, std::char_traits<T> >",
"std::bar<T, std::char_traits<T> >::bar",