[llvm-bugs] [Bug 52506] New: llvm-nm tests are skipped if x86 is not in available targets

via llvm-bugs llvm-bugs at lists.llvm.org
Mon Nov 15 01:59:45 PST 2021


            Bug ID: 52506
           Summary: llvm-nm tests are skipped if x86 is not in available
           Product: tools
           Version: trunk
          Hardware: PC
                OS: Windows NT
            Status: NEW
          Severity: normal
          Priority: P
         Component: llvm-nm
          Assignee: unassignedbugs at nondot.org
          Reporter: jh7370.2008 at my.bristol.ac.uk
                CC: llvm-bugs at lists.llvm.org

There is a spuriously-placed lit.local.cfg file at the top-level of the llvm-nm
tests with the config equivalent of `REQUIRES: x86` in it. This means the tests
will only run if x86 is in the supported target set. However, the top-level
tests are not x86 specific, and there are also sub-folders which are e.g. ARM
specific. It looks to me like this config file was just placed in the wrong
place, and that it should be in the X86 subfolder (i.e.

When making this fix, we need to ensure there aren't any unexpected X86
dependencies in any of the other tests, by running the cmake, build and test
sequence without the X86 target (perhaps with ARM instead).

I've not got a non-x86 target cmake setup yet, but I'll take a look myself
later today, if I get a chance. Not objecting if someone else has though and
can do it quicker!

You are receiving this mail because:
You are on the CC list for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/llvm-bugs/attachments/20211115/b6726f3b/attachment.html>

More information about the llvm-bugs mailing list