Author: Karl-Johan Karlsson Date: 2019-12-26T09:33:21+01:00 New Revision: 073cdb239044dc056a3c79b995265f640ffb40e6
URL: https://github.com/llvm/llvm-project/commit/073cdb239044dc056a3c79b995265f640ffb40e6 DIFF: https://github.com/llvm/llvm-project/commit/073cdb239044dc056a3c79b995265f640ffb40e6.diff LOG: [clang][test] Minor fixes in testcase absolute-paths-symlinks.c This is a follow up commit to address post-commit comment in D70527. Added: Modified: clang/test/Frontend/absolute-paths-symlinks.c Removed: ################################################################################ diff --git a/clang/test/Frontend/absolute-paths-symlinks.c b/clang/test/Frontend/absolute-paths-symlinks.c index e91a96fc0922..8170910b6f6e 100644 --- a/clang/test/Frontend/absolute-paths-symlinks.c +++ b/clang/test/Frontend/absolute-paths-symlinks.c @@ -1,9 +1,9 @@ // RUN: rm -rf %t // RUN: mkdir %t // RUN: cd %t -// RUN: cp "%s" "test.c" -// RUN: ln -sf "test.c" "link.c" -// RUN: not %clang_cc1 -fsyntax-only -fdiagnostics-absolute-paths "link.c" 2>&1|FileCheck %s +// RUN: cp %s test.c +// RUN: ln -sf test.c link.c +// RUN: not %clang_cc1 -fsyntax-only -fdiagnostics-absolute-paths link.c 2>&1 | FileCheck %s // Verify that -fdiagnostics-absolute-paths resolve symbolic links in // diagnostics messages. @@ -13,3 +13,5 @@ This do not compile // REQUIRES: shell +// Don't make symlinks on Windows. +// UNSUPPORTED: system-windows _______________________________________________ cfe-commits mailing list cfe-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits