From: Daniel Jasper Date: Fri, 10 Jul 2015 05:57:23 +0000 (+0000) Subject: Remove test that tests referring to the current working directory. You X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=27b95a6f4a652db872c1140e3a8c1cdca01d8ba8;p=clang Remove test that tests referring to the current working directory. You cannot assume that the current working directory is writable in all test environments. I don't know a better way to write this test of hand, lets discuss. Possibly, a better option would be to put these together with other test testing the driver directly. git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@241885 91177308-0d34-0410-b5e6-96231b3b80d8 --- diff --git a/test/Profile/gcc-flag-compatibility.c b/test/Profile/gcc-flag-compatibility.c index 53a7651c14..f4d0ccf7d6 100644 --- a/test/Profile/gcc-flag-compatibility.c +++ b/test/Profile/gcc-flag-compatibility.c @@ -19,11 +19,6 @@ // PROFILE-GEN-EQ: call void @__llvm_profile_override_default_filename(i8* getelementptr inbounds ([25 x i8], [25 x i8]* @0, i32 0, i32 0)) // PROFILE-GEN-EQ: declare void @__llvm_profile_override_default_filename(i8*) -// Check that -fprofile-use reads default.profdata -// RUN: llvm-profdata merge %S/Inputs/gcc-flag-compatibility.proftext -o default.profdata -// RUN: %clang %s -o - -mllvm -disable-llvm-optzns -emit-llvm -S -fprofile-use | FileCheck -check-prefix=PROFILE-USE-1 %s -// PROFILE-USE-1: = !{!"branch_weights", i32 101, i32 2} - // Check that -fprofile-use=some/path reads some/path/default.profdata // RUN: rm -rf %t.dir // RUN: mkdir -p %t.dir/some/path