[all-commits] [llvm/llvm-project] 205d39: [libcxx] [test] Clarify the condition for long dou...

Martin Storsjö via All-commits all-commits at lists.llvm.org
Thu Apr 24 23:53:53 PDT 2025


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 205d399f3026ad766a63fd20becc1476469cfa69
      https://github.com/llvm/llvm-project/commit/205d399f3026ad766a63fd20becc1476469cfa69
  Author: Martin Storsjö <martin at martin.st>
  Date:   2025-04-25 (Fri, 25 Apr 2025)

  Changed paths:
    M libcxx/test/std/localization/locale.categories/category.numeric/locale.nm.put/facet.num.put.members/put_long_double.hex.pass.cpp
    M libcxx/test/support/test_macros.h

  Log Message:
  -----------
  [libcxx] [test] Clarify the condition for long double hex formatting (#135334)

This test currently hardcodes which environments have got 80 bit long
doubles on x86_64 with a suitable printf formatting; convert the
architecture check into a check specifically for 80 bit long doubles.

Not all x86_64 configurations do have 80 bit long doubles (e.g. 
Android doesn't), and i386 configurations can also have 80 bit long
doubles, compatible with this test.

Also clarify the exact reasons for why specific OSes such as FreeBSD are
skipped for these tests, even though they have 80 bit long doubles.



To unsubscribe from these emails, change your notification settings at https://github.com/llvm/llvm-project/settings/notifications


More information about the All-commits mailing list