Uploaded image for project: 'C++ Standard Library'
  1. C++ Standard Library
  2. STDCXX-647

[MSVC] 0.printf.cpp test fails

    XMLWordPrintableJSON

    Details

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

      MSVC, ICC/Windows

    • Severity:
      Incorrect Behavior

      Description

      The 0.printf.cpp test fails with 36 assertions due to STDCXX-646:

      --------------------

      1. Assertion failed on line 2076: rw_sprintf("[%{$NULL-word}]", ...) == "[]", got "[word]"
      2. Assertion failed on line 2092: rw_sprintf("[%{$NULL=word}]", ...) == "[]", got "[word]"
      3. Assertion failed on line 2103: rw_sprintf("[%{$UNSET:?word}]", ...) == "[%{$UNSET:?word}]", got "[word]"
      4. Assertion failed on line 2107: rw_sprintf("[%{$NULL?word}]", ...) == "[]", got "[%{$NULL?word}]"
      5. Assertion failed on line 2108: rw_sprintf("[%{$UNSET?word}]", ...) == "[%{$UNSET?word}]", got "[word]"
      6. Assertion failed on line 2113: rw_sprintf("[%{$UNSET:+word}]", ...) == "[]", got "[word]"
      7. Assertion failed on line 2117: rw_sprintf("[%{$NULL+word}]", ...) == "[word]", got "[]"
      8. Assertion failed on line 2118: rw_sprintf("[%{$UNSET+word}]", ...) == "[]", got "[word]"
      9. Assertion failed on line 2128: rw_sprintf("[%{$*:-WORD}]", ...) == "[WORD]", got "[word]"
      10. Assertion failed on line 2131: rw_sprintf("[%{$*-WORD}]", ...) == "[]", got "[WORD]"
      11. Assertion failed on line 2132: rw_sprintf("[%{$*-WORD}]", ...) == "[WORD]", got "[word]"
      12. Assertion failed on line 2137: rw_sprintf("[%{$*:=WORD}]", ...) == "[WORD]", got "[word]"
      13. Assertion failed on line 2138: rw_sprintf("[%{$*}]", ...) == "[WORD]", got "[word]"
      14. Assertion failed on line 2145: rw_sprintf("[%{$*=WORD}]", ...) == "[]", got "[WORD]"
      15. Assertion failed on line 2146: rw_sprintf("[%{$*=WORD}]", ...) == "[WORD]", got "[word]"
      16. Assertion failed on line 2147: rw_sprintf("[%{$*}]", ...) == "[WORD]", got "[word]"
      17. Assertion failed on line 2155: rw_sprintf("[%{$*:?WORD}]", ...) == "[%{$*:?WORD}]", got "[word]"
      18. Assertion failed on line 2158: rw_sprintf("[%{$*?WORD}]", ...) == "[]", got "[%{$*?WORD}]"
      19. Assertion failed on line 2159: rw_sprintf("[%{$*?WORD}]", ...) == "[%{$*?WORD}]", got "[word]"
      20. Assertion failed on line 2163: rw_sprintf("[%{$*:+WORD}]", ...) == "[]", got "[WORD]"
      21. Assertion failed on line 2166: rw_sprintf("[%{$*+WORD}]", ...) == "[WORD]", got "[]"
      22. Assertion failed on line 2167: rw_sprintf("[%{$*+WORD}]", ...) == "[]", got "[WORD]"
      23. Assertion failed on line 2173: rw_sprintf("[%{$*:-*}]", ...) == "[WORD]", got "[word]"
      24. Assertion failed on line 2176: rw_sprintf("[%{$*-*}]", ...) == "[]", got "[WORD]"
      25. Assertion failed on line 2177: rw_sprintf("[%{$*-*}]", ...) == "[WORD]", got "[word]"
      26. Assertion failed on line 2182: rw_sprintf("[%{$*:=*}]", ...) == "[WORD]", got "[word]"
      27. Assertion failed on line 2183: rw_sprintf("[%{$*}]", ...) == "[WORD]", got "[word]"
      28. Assertion failed on line 2190: rw_sprintf("[%{$*=*}]", ...) == "[]", got "[WORD]"
      29. Assertion failed on line 2191: rw_sprintf("[%{$*=*}]", ...) == "[WORD]", got "[word]"
      30. Assertion failed on line 2192: rw_sprintf("[%{$*}]", ...) == "[WORD]", got "[word]"
      31. Assertion failed on line 2200: rw_sprintf("[%{$*:?*}]", ...) == "[%{$*:?*}]", got "[word]"
      32. Assertion failed on line 2203: rw_sprintf("[%{$*?*}]", ...) == "[]", got "[%{$*?*}]"
      33. Assertion failed on line 2204: rw_sprintf("[%{$*?*}]", ...) == "[%{$*?*}]", got "[word]"
      34. Assertion failed on line 2208: rw_sprintf("[%{$*:+*}]", ...) == "[]", got "[WORD]"
      35. Assertion failed on line 2211: rw_sprintf("[%{$*+*}]", ...) == "[WORD]", got "[]"
      36. Assertion failed on line 2212: rw_sprintf("[%{$*+*}]", ...) == "[]", got "[WORD]"
        --------------------

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                farid Farid Zaripov
                Reporter:
                farid Farid Zaripov
              • Votes:
                0 Vote for this issue
                Watchers:
                1 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved:

                  Time Tracking

                  Estimated:
                  Original Estimate - 1h
                  1h
                  Remaining:
                  Remaining Estimate - 1h
                  1h
                  Logged:
                  Time Spent - Not Specified
                  Not Specified