Errata for SuperTest Aelbert Cuyp 5.0

Errata for SuperTest Aelbert Cuyp 5.0

  • [5.0.18] The following test files incorrectly expect the number classification macros to expand to floating-point expressions instead of integer constant expressions. The test files have been corrected.
    • C99/7/12/tfp_infinite_macro_1.c
    • C99/7/12/tfp_nan_macro_1.c
    • C99/7/12/tfp_normal_macro.c
    • C99/7/12/tfp_subnormal_macro.c
    • C99/7/12/tfp_zero_macro.c
  • [5.0.17] The following test file includes <stdarg.h> instead of <cstdarg> when being compiled with a C++ compiler. The test file has been corrected.
    • C99/7/15/1/2/t1.c
  • [5.0.16] The following test files do not apply to C++ compilers. The test files have been corrected so they are skipped for C++ compilers.
    • C18/6/7/6/3/t_0001.c

    • C18/6/7/6/3/t_0002.c

    • C18/6/7/9/t_0001.c

  • [5.0.15] The following test files incorrectly use has_quiet_NaN as a function instead of a variable. The test files have been corrected.
    • Cxx11/18/3/2/4/t_limits_float_value.C

    • Cxx11/18/3/2/4/t_limits_double_value.C

    • Cxx11/18/3/2/4/t_limits_long_double_value.C

  • [5.0.14] The following test file uses std::less, but does not include the <functional> header. The test file has been corrected.
    • Cxx17/23/11/2/2/7/t_0002.C

  • [5.0.13] The following test file is a duplicate of another test file (Cxx11/22/4/2/2/1/t_iterator.C). The test file has been retracted from SuperTest.
    • Cxx11/22/4/2/2/1/t_iterator_fail.C

  • [5.0.12] The following test files invoke undefined behavior. The test files have been retracted from SuperTest.
    • Cxx11/21/6/x_0001.C

    • Cxx11/21/6/x_0002.C

    • Cxx11/21/6/x_0003.C

    • Cxx11/21/6/x_0004.C

  • [5.0.11] The following test file relies on implementation-defined. The test file has been corrected.
    • Cxx11/27/9/1/5/t_setbuf_1.C

  • [5.0.10] The following test files verify that a null character is written on extraction from an empty string, but the C++ standard does not require that. The test files have been corrected.
    • Cxx11/27/7/2/2/3/t_extractor_to_char_array.C

    • Cxx11/27/7/2/2/3/t_extractor_to_char_array_char16_char32.C

    • Cxx11/27/7/2/2/3/t_extractor_to_char_array_nospace.C

    • Cxx11/27/7/2/2/3/t_extractor_to_char_array_nospace_wchar_t.C

  • [5.0.9] The following test files use the return value of std::exception_ptr() when it may be a null pointer. The test files have been corrected.
    • Cxx11/30/6/5/t_set_exception.C

    • Cxx11/30/6/5/t_set_exception_at_thread_exit.C

  • [5.0.8] The following test files invoke undefined behavior. The test files have been retracted from SuperTest.
    • Cxx11/24/5/3/3/14/x_0001.C

    • Cxx11/24/5/3/3/14/x_0002.C

  • [5.0.7] The following test files do not restore the locale after changing it. The test files have been corrected.
    • C11/7/28/1/1/tsizet1.c

    • C11/7/28/1/1/tsizet2.c

    • C11/7/28/1/1/tsizet3.c

  • [5.0.6] The following test files contain classes inherited from std::char_traits, but do not satisfy all requirements of std::char_traits. The test files have been corrected.
    • Cxx11/21/4/2/t_constructor_from_input_iterator.C

    • Cxx11/24/6/3/t_istreambuf_iterator_copy_ctor.C

    • Cxx11/27/6/3/2/3/t_sbumpc.C

    • Cxx11/27/6/3/2/3/t_throw.C

    • Cxx11/27/6/3/4/3/t_xsgetn_char16_char32_eof.C

    • Cxx11/27/8/2/4/t_underflow.C

    • Cxx11/27/8/2/4/t_underflow_char.C

    • Cxx11/27/8/2/4/t_underflow_char_throw.C

  • [5.0.5] The following test files for std::abs and std::div incorrectly include the <cmath> header. The test files have been corrected.
    • Cxx11/26/8/t_abs_ll.C

    • Cxx11/26/8/t_div_ll.C

  • [5.0.4] The following test files writes files in wide mode, but reads them in narrow mode. The test files have been corrected.
    • C99/7/24/2/1/t2.c

    • C99/7/24/2/1/t3.c

    • C99/7/24/2/12/t3.gen

  • [5.0.3] The following test contains code that may be removed by compiler optimizations, contradicting the goal of the test. The test file has been rewritten to prevent optimization.
    • Cxx17/8/3/4/t_noexcept_nullptr.C

  • [5.0.2] The following test files contain variables with the identifier “open”, which may conflict with library functions with the same identifier. The test files have been corrected.
    • Cxx11/23/3/7/t_ref_swap.C

    • Cxx11/27/9/1/5/t_seekoff_open.C

  • [5.0.1] The following test file calls std::basic_ios::rdbuf() before std::basic_ios::init(), which invokes undefined behavior. The test file has been corrected.
    • Cxx11/27/5/5/3/t_move.C