X-Git-Url: http://demsky.eecs.uci.edu/git/?a=blobdiff_plain;f=test%2FOther%2FResponseFile.ll;h=914e5480f2033896ce82d3323650dd59ac7f8a79;hb=6c199d8212e9048076d13d2df81a7dc0c97d9c68;hp=b8b3d0a9023325107cc8181cdff151b9b0d1dfd8;hpb=b4e971f376f15325d6918d7fae0c28c8dad5a78c;p=oota-llvm.git diff --git a/test/Other/ResponseFile.ll b/test/Other/ResponseFile.ll index b8b3d0a9023..914e5480f20 100644 --- a/test/Other/ResponseFile.ll +++ b/test/Other/ResponseFile.ll @@ -1,5 +1,9 @@ -; RUN: echo %s > %t.list -; RUN: llvm-as @%t.list -o %t.bc +; Test that we can recurse, at least a little bit. The -time-passes flag here +; is a hack to make sure that neither echo nor the shell expands the response +; file for us. Tokenization with quotes is tested in unittests. +; RUN: echo %s > %t.list1 +; RUN: echo "-time-passes @%t.list1" > %t.list2 +; RUN: llvm-as @%t.list2 -o %t.bc ; RUN: llvm-nm %t.bc 2>&1 | FileCheck %s ; CHECK: T foobar