C++ Standard Library
  1. C++ Standard Library
  2. STDCXX-608

test driver support for canonical locale names

    Details

    • Type: Bug Bug
    • Status: Closed
    • Priority: Major Major
    • Resolution: Fixed
    • Affects Version/s: 4.2.0
    • Fix Version/s: 4.2.1
    • Component/s: Tests
    • Labels:
      None
    • Environment:

      IBM XLC++ 9.0/AIX 5.3

    • Severity:
      Incorrect Behavior

      Description

      When compiled with IBM XLC++ 9.0 on AIX 5.3, the majority of ctype tests appear to hang (or time out). The output below has been copied from a 12a log for the latest trunk:

      22.locale.ctype.is                HUP    0                         7.330 259.490 300.090
      22.locale.ctype.narrow            HUP    0                         7.630 269.980 300.090
      22.locale.ctype                   HUP    0                         8.090 274.500 300.130
      22.locale.ctype.scan                0    0  540926      2    99%   4.320 140.280 154.680
      22.locale.ctype.tolower           HUP    0                         7.720 275.110 300.090
      22.locale.ctype.toupper           HUP    0                         7.860 282.690 300.100
      
      There are no Sub-Tasks for this issue.

        Activity

        Hide
        Martin Sebor added a comment -

        Now that 4.2.0 is released, set Affects Version(s) accordingly.

        Show
        Martin Sebor added a comment - Now that 4.2.0 is released, set Affects Version(s) accordingly.
        Hide
        Martin Sebor added a comment -

        See the following thread for a discussion of these and similar problems:
        http://www.nabble.com/low-hanging-fruit-while-cleaning-up-test-failures-tf4766995.html#a13634803

        Show
        Martin Sebor added a comment - See the following thread for a discussion of these and similar problems: http://www.nabble.com/low-hanging-fruit-while-cleaning-up-test-failures-tf4766995.html#a13634803
        Hide
        Martin Sebor added a comment -

        Travis, I think it might make sense to rename this issue to reflect the general solution we've decided to implement, something like: test driver support for canonical locale names and add subtasks for the major components, i.e.,

        • function to implement shell brace expansion
        • mapping from canonical locale names to native names
        • modify rw_locales() to accept queries with canonical locale names
        Show
        Martin Sebor added a comment - Travis, I think it might make sense to rename this issue to reflect the general solution we've decided to implement, something like: test driver support for canonical locale names and add subtasks for the major components, i.e., function to implement shell brace expansion mapping from canonical locale names to native names modify rw_locales() to accept queries with canonical locale names
        Hide
        Travis Vitek added a comment -

        I think this is done. One change that we could implement would be to eliminate rw_locales(), or at least implement it in terms of rw_locale_query(). I opted to keep rw_locales() in place for the time being because it does offer some functionality not provided by rw_locale_query() [namely ensuring that the C locale appears at the head of the locale list], and to reduce the number of tests modified.

        Show
        Travis Vitek added a comment - I think this is done. One change that we could implement would be to eliminate rw_locales() , or at least implement it in terms of rw_locale_query() . I opted to keep rw_locales() in place for the time being because it does offer some functionality not provided by rw_locale_query() [namely ensuring that the C locale appears at the head of the locale list] , and to reduce the number of tests modified.
        Hide
        Travis Vitek added a comment -

        Seems to be working on trunk. Will close when merged to 4.2.x.

        Show
        Travis Vitek added a comment - Seems to be working on trunk. Will close when merged to 4.2.x.

          People

          • Assignee:
            Travis Vitek
            Reporter:
            Martin Sebor
          • Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved:

              Time Tracking

              Estimated:
              Original Estimate - 44h Original Estimate - 44h
              44h
              Remaining:
              Time Spent - 82.5h Remaining Estimate - 11h
              11h
              Logged:
              Time Spent - 82.5h Remaining Estimate - 11h
              82.5h

                Development