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

            Bug ID: 38407
           Summary: clang: tests unable to find hmaptool in stand-alone
                    builds
           Product: clang
           Version: 7.0
          Hardware: PC
                OS: Linux
            Status: NEW
          Severity: enhancement
          Priority: P
         Component: -New Bugs
          Assignee: unassignedclangb...@nondot.org
          Reporter: mgo...@gentoo.org
                CC: llvm-bugs@lists.llvm.org
            Blocks: 38406

The following clang tests fail in stand-alone builds:

********************
Failing Tests (5):
    Clang :: Modules/double-quotes.m
    Clang :: Modules/framework-public-includes-private.m
    Clang :: Preprocessor/headermap-rel.c
    Clang :: Preprocessor/headermap-rel2.c
    Clang :: Preprocessor/nonportable-include-with-hmap.c


The issue is wrong path to hmaptool:

Command Output (stderr):
--
+ : 'RUN: at line 3'
+ rm -rf
/var/tmp/portage/sys-devel/clang-7.0.9999/work/x/y/clang-7.0.9999-abi_x86_64.amd64/test/Modules/Output/double-quotes.m.tmp
+ : 'RUN: at line 4'
+ mkdir
/var/tmp/portage/sys-devel/clang-7.0.9999/work/x/y/clang-7.0.9999-abi_x86_64.amd64/test/Modules/Output/double-quotes.m.tmp
+ : 'RUN: at line 6'
+ /var/tmp/portage/sys-devel/clang-7.0.9999/temp/python2.7/bin/python
/usr/lib64/llvm/7/bin/hmaptool write
/var/tmp/portage/sys-devel/clang-7.0.9999/work/x/y/clang-7.0.9999/test/Modules/Inputs/double-quotes/a.hmap.json
/var/tmp/portage/sys-devel/clang-7.0.9999/work/x/y/clang-7.0.9999-abi_x86_64.amd64/test/Modules/Output/double-quotes.m.tmp/a.hmap
/usr/bin/python2.7: can't open file '/usr/lib64/llvm/7/bin/hmaptool': [Errno 2]
No such file or directory

--

I've submitted a potential fix as https://reviews.llvm.org/D50156.  Once it's
committed to trunk, please backport to release_70.


Referenced Bugs:

https://bugs.llvm.org/show_bug.cgi?id=38406
[Bug 38406] [meta] 7.0.0 Release Blockers
-- 
You are receiving this mail because:
You are on the CC list for the bug.
_______________________________________________
llvm-bugs mailing list
llvm-bugs@lists.llvm.org
http://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-bugs

Reply via email to