]> git.ipfire.org Git - thirdparty/gcc.git/commit
libstdc++: Fix required locales of a testcase
authorMarius Hillenbrand <mhillen@linux.ibm.com>
Tue, 15 Dec 2020 11:40:07 +0000 (11:40 +0000)
committerJonathan Wakely <jwakely@redhat.com>
Tue, 15 Dec 2020 11:45:27 +0000 (11:45 +0000)
commit7640db57113e7a0df9257fa780c8e9deae63a7a2
tree407ef16bfd112d1843acd7e05235aae4efafdef9
parentfa452a843d26a64a5ca0fd7c17ea1bd6e1b81a69
libstdc++: Fix required locales of a testcase

The testsuite for libstdc++ aims to skips test cases for which not all
required locales are installed. This patch adds missing directives about
required locales to one test case to avoid false positive test failures
on systems that have a partial set of locales installed.

Verified by test suite runs that this patch changes the test case from
FAIL to UNSUPPORTED when not all required locales are available and that
the test case will run and PASS when the necessary locales have been
added.

libstdc++-v3/ChangeLog:

* testsuite/22_locale/locale/cons/5.cc: Add missing directives
for required locales.
libstdc++-v3/testsuite/22_locale/locale/cons/5.cc