https://bugs.llvm.org/show_bug.cgi?id=52506

            Bug ID: 52506
           Summary: llvm-nm tests are skipped if x86 is not in available
                    targets
           Product: tools
           Version: trunk
          Hardware: PC
                OS: Windows NT
            Status: NEW
          Severity: normal
          Priority: P
         Component: llvm-nm
          Assignee: [email protected]
          Reporter: [email protected]
                CC: [email protected]

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.
llvm/test/tools/llvm-nm/X86).

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.
_______________________________________________
llvm-bugs mailing list
[email protected]
https://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-bugs

Reply via email to