[llvm] [NFC] Temporarily disable failing TableGen unit test. (PR #102308)

Rahul Joshi via llvm-commits llvm-commits at lists.llvm.org
Wed Aug 7 04:59:46 PDT 2024


https://github.com/jurahul created https://github.com/llvm/llvm-project/pull/102308

- This test was reported as failing in ASAN builds, with non-deterministic order of the error message and note expected.
- This is due to llvm::sort() being unstable.
- Temporarily disable the test while its been fixed.

>From eb3ef4a8afbc2967b8f2297d05ee1b0b8bd27f98 Mon Sep 17 00:00:00 2001
From: Rahul Joshi <rjoshi at nvidia.com>
Date: Wed, 7 Aug 2024 04:56:05 -0700
Subject: [PATCH] [NFC] Temporarily disable failing TableGen unit test.

- This test was reported as failing in ASAN builds, with
  non-deterministic order of the error message and note expected.
- This is due to llvm::sort() being unstable.
- Temporarily disable the test while its been fixed.
---
 llvm/test/TableGen/SubtargetFeatureUniqueNames.td | 3 +++
 1 file changed, 3 insertions(+)

diff --git a/llvm/test/TableGen/SubtargetFeatureUniqueNames.td b/llvm/test/TableGen/SubtargetFeatureUniqueNames.td
index 87a21d29ec1b1..a322d25fc1def 100644
--- a/llvm/test/TableGen/SubtargetFeatureUniqueNames.td
+++ b/llvm/test/TableGen/SubtargetFeatureUniqueNames.td
@@ -1,3 +1,6 @@
+// Temporarily disable test due to non-deterministic order of error messages.
+// UNSUPPORTED: target={{.*}}
+
 // RUN: not llvm-tblgen -gen-subtarget -I %p/../../include %s 2>&1 | FileCheck %s -DFILE=%s
 // Verify that subtarget features with same names result in an error.
 



More information about the llvm-commits mailing list