X-Git-Url: http://demsky.eecs.uci.edu/git/?a=blobdiff_plain;f=test%2FLLVMC%2FNoActions.td;h=34b444066350c12feaca6e75f3e1848092d20132;hb=3b5dfcd8fd9edce8019b6d7541e2a3c5159b2852;hp=298b6e23b59a3c5f7f309beb498d24d9e1dcf8b6;hpb=43c8a062667c9a5b9a19f75445895f0b6e0cafcc;p=oota-llvm.git diff --git a/test/LLVMC/NoActions.td b/test/LLVMC/NoActions.td index 298b6e23b59..34b44406635 100644 --- a/test/LLVMC/NoActions.td +++ b/test/LLVMC/NoActions.td @@ -1,12 +1,16 @@ // Check that tools without associated actions are accepted. -// RUN: tblgen -I %p/../../include --gen-llvmc %s | grep dummy_tool +// RUN: tblgen -I %p/../../include --gen-llvmc %s -o %t +// RUN: FileCheck -input-file %t %s +// RUN: %compile_cxx %t +// XFAIL: vg_leak include "llvm/CompilerDriver/Common.td" +// CHECK: class dummy_tool : public Tool { def dummy_tool : Tool<[ -(cmd_line "dummy_cmd"), +(command "dummy_cmd"), (in_language "dummy"), (out_language "dummy") ]>; -def DummyGraph : CompilationGraph<[SimpleEdge<"root", "dummy_tool">]>; +def DummyGraph : CompilationGraph<[(edge "root", "dummy_tool")]>;