diff options
author | Nick Lewycky <nicholas@mxc.ca> | 2013-03-20 05:59:40 +0000 |
---|---|---|
committer | Nick Lewycky <nicholas@mxc.ca> | 2013-03-20 05:59:40 +0000 |
commit | 12bcb4be088c2c64fb7a8335bd1854631c0276cd (patch) | |
tree | ce960f1eb28c9e921aac384a3677c5c51caa4863 /test/Transforms/GCOVProfiling/version.ll | |
parent | 9fb49695faf4884de6ff9cd5ca17324eb8b797ae (diff) |
Don't assume the test directory is writable, use %T to find a writable
directory.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@177488 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'test/Transforms/GCOVProfiling/version.ll')
-rw-r--r-- | test/Transforms/GCOVProfiling/version.ll | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/test/Transforms/GCOVProfiling/version.ll b/test/Transforms/GCOVProfiling/version.ll index efd633af6d..84ae95d76c 100644 --- a/test/Transforms/GCOVProfiling/version.ll +++ b/test/Transforms/GCOVProfiling/version.ll @@ -1,12 +1,12 @@ -; RUN: echo '!9 = metadata !{metadata !"%s", metadata !0}' > %t1 +; RUN: echo '!9 = metadata !{metadata !"%T/version.ll", metadata !0}' > %t1 ; RUN: cat %s %t1 > %t2 ; RUN: opt -insert-gcov-profiling -disable-output < %t2 -; RUN: head -c12 %S/version.gcno | grep '^oncg\*204MVLL$' -; RUN: rm %S/version.gcno +; RUN: head -c12 %T/version.gcno | grep '^oncg\*204MVLL$' +; RUN: rm %T/version.gcno ; RUN: not opt -insert-gcov-profiling -default-gcov-version=asdfasdf -disable-output < %t2 ; RUN: opt -insert-gcov-profiling -default-gcov-version=407* -disable-output < %t2 -; RUN: head -c12 %S/version.gcno | grep '^oncg\*704MVLL$' -; RUN: rm %S/version.gcno +; RUN: head -c12 %T/version.gcno | grep '^oncg\*704MVLL$' +; RUN: rm %T/version.gcno define void @test() { ret void, !dbg !8 |