From: Yuanfang Chen Date: Thu, 1 Aug 2019 18:49:59 +0000 (+0000) Subject: Test linux only for absolute paths in the -fuse-ld option X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=c8c0024353782e40a8711f025ed1a4091e5c0975;p=clang Test linux only for absolute paths in the -fuse-ld option Some target do not use this option and may emit a error message for using it. git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@367602 91177308-0d34-0410-b5e6-96231b3b80d8 --- diff --git a/test/Driver/fuse-ld.c b/test/Driver/fuse-ld.c index b043ce624e..4b2ec7b1bb 100644 --- a/test/Driver/fuse-ld.c +++ b/test/Driver/fuse-ld.c @@ -1,5 +1,6 @@ // RUN: %clang %s -### \ // RUN: -fuse-ld=/usr/local/bin/or1k-linux-ld 2>&1 \ +// RUN: -target x86_64-unknown-linux \ // RUN: | FileCheck %s --check-prefix=CHECK-ABSOLUTE-LD // CHECK-ABSOLUTE-LD: /usr/local/bin/or1k-linux-ld