allow locale tests to succeed without TOPDIR defined
----------------------------------------------------
Key: STDCXX-910
URL: https://issues.apache.org/jira/browse/STDCXX-910
Project: C++ Standard Library
Issue Type: Improvement
Components: Test Driver
Affects Versions: 4.2.1, 4.2.0, 4.1.3, 4.1.2
Reporter: Martin Sebor
Assignee: Martin Sebor
Priority: Minor
Fix For: 4.2.2
A number of tests fail with an {{ERROR}} when the {{TOPDIR}} environment
variable is not defined, such as when running them interactively from the
command line (as opposed to via the {{make run}} target). It would be nice if
they didn't fail...
{noformat}
$ ./22.locale.time.put -q
# ERROR (S8) (5 lines):
# TEXT: the environment variable TOPDIR is undefined
# CLAUSE: lib.locale.time.put
# FILE: locale.cpp
# LINE: 221
# ERROR (S8) (4 lines):
# TEXT: failed to generate LC_TIME locale data
# CLAUSE: lib.locale.time.put
# LINE: 1881
# ERROR (S8) (5 lines):
# TEXT: the environment variable TOPDIR is undefined
# CLAUSE: lib.locale.time.put
# FILE: locale.cpp
# LINE: 221
# ERROR (S8) (4 lines):
# TEXT: failed to generate LC_TIME locale data
# CLAUSE: lib.locale.time.put
# LINE: 1881
# +-----------------------+----------+----------+----------+
# | DIAGNOSTIC | ACTIVE | TOTAL | INACTIVE |
# +-----------------------+----------+----------+----------+
# | (S1) INFO | 107 | 107 | 0% |
# | (S2) NOTE | 2 | 2 | 0% |
# | (S7) ASSERTION | 0 | 1800 | 100% |
# | (S8) ERROR | 4 | 5 | 20% |
# +-----------------------+----------+----------+----------+
/amd/devco/sebor/stdcxx-4.2.x/tests/src/driver.cpp:1528: rw_note(): warning:
test finished, cannot call
{noformat}
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.