XFAIL tests from LLVMC on valgrind or valgrind+leak-checking. We
[oota-llvm.git] / test / LLVMC / NoActions.td
index 7b8e721397a240a9e929f19cf03fc4978f29b85b..a80bcfe6ce1cc519caef7c0112bf969abb22997a 100644 (file)
@@ -1,12 +1,14 @@
 // Check that tools without associated actions are accepted.
 // RUN: tblgen -I %p/../../include --gen-llvmc %s -o %t
-// RUN: grep dummy_tool %t
+// RUN: FileCheck -input-file %t %s
 // RUN: %compile_cxx -fexceptions -x c++ %t
+// XFAIL: vg_leak
 
 include "llvm/CompilerDriver/Common.td"
 
+// CHECK: class dummy_tool : public Tool {
 def dummy_tool : Tool<[
-(cmd_line "dummy_cmd $INFILE"),
+(command "dummy_cmd"),
 (in_language "dummy"),
 (out_language "dummy")
 ]>;