Page MenuHomePhabricator

[clang] [test] Fix riscv-toolchain-extra to be less picky about paths

Authored by mgorny on Jan 13 2020, 1:17 AM.



Fix riscv-toolchain-extra tests to pass when CLANG_RESOURCE_DIR is set
to another value than the default.

Diff Detail

Event Timeline

mgorny created this revision.Jan 13 2020, 1:17 AM
MaskRay accepted this revision.Jan 13 2020, 3:29 PM

Build llvm with -DCLANG_RESOURCE_DIR=../lib/clang/99

Failing Tests (4):
    Clang :: Driver/modules.m
    Clang :: Driver/nostdlibinc.c
    Clang :: Driver/riscv32-toolchain-extra.c
    Clang :: Driver/riscv64-toolchain-extra.c

The first two failed because CLANG_RESOURCE_DIR is not meaningful.

This revision is now accepted and ready to land.Jan 13 2020, 3:29 PM
This revision was automatically updated to reflect the committed changes.
Herald added a project: Restricted Project. · View Herald TranscriptJan 13 2020, 7:09 PM
Herald added a subscriber: jrtc27. · View Herald Transcript