[all-commits] [llvm/llvm-project] a4e6a7: libcxx: In gdb test detect execute_mi with feature...

Peter Collingbourne via All-commits all-commits at lists.llvm.org
Thu Apr 10 10:38:30 PDT 2025


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: a4e6a771a68660de312aeaaceed0c7d41a680912
      https://github.com/llvm/llvm-project/commit/a4e6a771a68660de312aeaaceed0c7d41a680912
  Author: Peter Collingbourne <pcc at google.com>
  Date:   2025-04-10 (Thu, 10 Apr 2025)

  Changed paths:
    M libcxx/test/libcxx/gdb/gdb_pretty_printer_test.py

  Log Message:
  -----------
  libcxx: In gdb test detect execute_mi with feature check instead of version check.

The existing version check can lead to test failures on some distribution
packages of gdb where not all components of the version number are
integers, such as Fedora where gdb.VERSION can be something like
"15.2-4.fc41". Fix it by replacing the version check with a feature check.

Reviewers: philnik777

Reviewed By: philnik777

Pull Request: https://github.com/llvm/llvm-project/pull/132291



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