[all-commits] [llvm/llvm-project] f24e64: [libcxx] [test] Check for C++ headers before build...

Martin Storsjö via All-commits all-commits at lists.llvm.org
Wed Apr 12 00:18:43 PDT 2023


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: f24e6489c78fdfb5da50548a4b787a6773656dbe
      https://github.com/llvm/llvm-project/commit/f24e6489c78fdfb5da50548a4b787a6773656dbe
  Author: Martin Storsjö <martin at martin.st>
  Date:   2023-04-12 (Wed, 12 Apr 2023)

  Changed paths:
    M libcxx/utils/libcxx/test/features.py

  Log Message:
  -----------
  [libcxx] [test] Check for C++ headers before building a test that uses them

When the libcxx test framework is executed within libunwind, there
are no standard C++ headers available (libunwind builds with
-nostdinc++, but doesn't add any libcxx headers to the include path).

Check that a test that includes <iostream> can be compiled before trying
to build and execute a test program that includes it.

Previously, the compile error here would block all libunwind tests from
executing altogether.

Differential Revision: https://reviews.llvm.org/D147630


  Commit: ea47dcf2c85d0df9e44af4be9490532d6223e2b9
      https://github.com/llvm/llvm-project/commit/ea47dcf2c85d0df9e44af4be9490532d6223e2b9
  Author: Martin Storsjö <martin at martin.st>
  Date:   2023-04-12 (Wed, 12 Apr 2023)

  Changed paths:
    M compiler-rt/test/builtins/Unit/divmodti4_test.c

  Log Message:
  -----------
  [compiler-rt] [test] Remove a leftover XFAIL

This test succeeds on aarch64 windows now (tested both in mingw
mode and with clang-cl), most probably since commit
ccd96b3e03e18653e909852bfef105fc10782acb / D146667 ([builtins][test] Fix
divmodti4_test.c on Windows).

Differential Revision: https://reviews.llvm.org/D148000


  Commit: 9c8264f1600bffe00589879ced61042363b5ba13
      https://github.com/llvm/llvm-project/commit/9c8264f1600bffe00589879ced61042363b5ba13
  Author: Martin Storsjö <martin at martin.st>
  Date:   2023-04-12 (Wed, 12 Apr 2023)

  Changed paths:
    M libcxxabi/test/catch_ptr_02.pass.cpp

  Log Message:
  -----------
  [libcxxabi] [test] Don't cast a pointer to long, fixing the test on Windows

Use uintptr_t instead. On Windows, long is 32 bit even on 64 bit
architectures.

Differential Revision: https://reviews.llvm.org/D147639


Compare: https://github.com/llvm/llvm-project/compare/905e93244187...9c8264f1600b


More information about the All-commits mailing list