Author: djasper
Date: Fri Jul 10 00:57:23 2015
New Revision: 241885

URL: http://llvm.org/viewvc/llvm-project?rev=241885&view=rev
Log:
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.

Modified:
    cfe/trunk/test/Profile/gcc-flag-compatibility.c

Modified: cfe/trunk/test/Profile/gcc-flag-compatibility.c
URL: 
http://llvm.org/viewvc/llvm-project/cfe/trunk/test/Profile/gcc-flag-compatibility.c?rev=241885&r1=241884&r2=241885&view=diff
==============================================================================
--- cfe/trunk/test/Profile/gcc-flag-compatibility.c (original)
+++ cfe/trunk/test/Profile/gcc-flag-compatibility.c Fri Jul 10 00:57:23 2015
@@ -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


_______________________________________________
cfe-commits mailing list
cfe-commits@cs.uiuc.edu
http://lists.cs.uiuc.edu/mailman/listinfo/cfe-commits

Reply via email to