X-Git-Url: http://demsky.eecs.uci.edu/git/?a=blobdiff_plain;f=test%2FLLVMC%2FEnvParentheses.td;h=ce0cb824604ce746181f823f80dc5521af9b8f61;hb=689cf3cb6222652b92fdbd52e96c1d2f421ac44e;hp=cf2a0e376f9a1293811549a98ff030342b67c9bc;hpb=f8681568201ee3808c154a4de09888d85c76a446;p=oota-llvm.git diff --git a/test/LLVMC/EnvParentheses.td b/test/LLVMC/EnvParentheses.td index cf2a0e376f9..ce0cb824604 100644 --- a/test/LLVMC/EnvParentheses.td +++ b/test/LLVMC/EnvParentheses.td @@ -1,16 +1,18 @@ // Check the fix for PR4157. // http://llvm.org/bugs/show_bug.cgi?id=4157 -// RUN: tblgen -I $srcroot/include --gen-llvmc %s -o %t -// RUN: not grep {)));} %t +// RUN: tblgen -I %p/../../include --gen-llvmc %s -o %t +// RUN: not grep {FOO")));} %t +// RUN: %compile_cxx %t +// XFAIL: vg_leak include "llvm/CompilerDriver/Common.td" def dummy_tool : Tool<[ -(cmd_line "gcc -o $OUTFILE $INFILE $ENV(FOO)/bar"), +(command "gcc $ENV(FOO)/bar"), (in_language "dummy"), (out_language "dummy") ]>; -def DummyGraph : CompilationGraph<[SimpleEdge<"root", "dummy_tool">]>; +def DummyGraph : CompilationGraph<[(edge "root", "dummy_tool")]>; def Graph : CompilationGraph<[]>;