HomePhabricator

Driver tests: set `--sysroot=""` to support clang with `DEFAULT_SYSROOT`

Description

Driver tests: set --sysroot="" to support clang with DEFAULT_SYSROOT

When testing clang that has been compiled with -DDEFAULT_SYSROOT set to some path,
some tests would fail. Override sysroot to be empty string for the tests to succeed
when clang is configured with DEFAULT_SYSROOT.

Differential Revision: https://reviews.llvm.org/D66834

Patch by Sergej Jaskiewicz <jaskiewiczs@icloud.com>.

Details

Committed
sepavloffSep 28 2019, 5:21 AM
Differential Revision
D66834: Driver tests: set `--sysroot=""` to support clang with `DEFAULT_SYSROOT`
Branches
Unknown
Tags
Unknown