Skip to content

Commit

Permalink
XFAIL tests from LLVMC on valgrind or valgrind+leak-checking. We
Browse files Browse the repository at this point in the history
don't care about leaks from tblgen, and I assume we don't care about
valgrind errors in llvm-gcc/g++.



git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@99115 91177308-0d34-0410-b5e6-96231b3b80d8
  • Loading branch information
jyasskin committed Mar 21, 2010
1 parent 6b4c12d commit f65b0e9
Show file tree
Hide file tree
Showing 26 changed files with 26 additions and 0 deletions.
1 change: 1 addition & 0 deletions test/LLVMC/AppendCmdHook.td
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@
// RUN: tblgen -I %p/../../include --gen-llvmc %s -o %t
// RUN: FileCheck -input-file %t %s
// RUN: %compile_cxx -fexceptions -x c++ %t
// XFAIL: vg_leak

include "llvm/CompilerDriver/Common.td"

Expand Down
1 change: 1 addition & 0 deletions test/LLVMC/C++/dash-x.cpp
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
// Test that we can compile .c files as C++ and vice versa
// RUN: llvmc %s -x c++ %p/../test_data/false.c -x c %p/../test_data/false.cpp -x lisp -x whatnot -x none %p/../test_data/false2.cpp -o %t
// RUN: %abs_tmp | grep hello
// XFAIL: vg

extern int test_main();

Expand Down
1 change: 1 addition & 0 deletions test/LLVMC/C++/hello.cpp
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
// Test that we can compile C++ code.
// RUN: llvmc %s -o %t
// RUN: %abs_tmp | grep hello
// XFAIL: vg
#include <iostream>

int main() {
Expand Down
1 change: 1 addition & 0 deletions test/LLVMC/C++/together.cpp
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
// Check that we can compile files of different types together.
// RUN: llvmc %s %p/../test_data/together.c -o %t
// RUN: %abs_tmp | grep hello
// XFAIL: vg

extern "C" void test();

Expand Down
1 change: 1 addition & 0 deletions test/LLVMC/C/emit-llvm.c
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
// RUN: llvmc -c -emit-llvm -o - %s | llvm-dis | grep "@f0()" | count 1
// XFAIL: vg_leak

int f0(void) {
}
1 change: 1 addition & 0 deletions test/LLVMC/C/hello.c
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@
* Check that we can compile helloworld
* RUN: llvmc %s -o %t
* RUN: %abs_tmp | grep hello
* XFAIL: vg_leak
*/

#include <stdio.h>
Expand Down
1 change: 1 addition & 0 deletions test/LLVMC/C/include.c
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@
* Check that the 'include' options work.
* RUN: echo "int x;\n" > %t1.inc
* RUN: llvmc -include %t1.inc -fsyntax-only %s
* XFAIL: vg_leak
*/

int f0(void) {
Expand Down
1 change: 1 addition & 0 deletions test/LLVMC/C/opt-test.c
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@
* Check that the -opt switch works.
* RUN: llvmc %s -opt -o %t
* RUN: %abs_tmp | grep hello
* XFAIL: vg_leak
*/

#include <stdio.h>
Expand Down
1 change: 1 addition & 0 deletions test/LLVMC/C/sink.c
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@
* Check that the 'sink' options work.
* RUN: llvmc -v -Wall %s -o %t |& grep "Wall"
* RUN: %abs_tmp | grep hello
* XFAIL: vg_leak
*/

#include <stdio.h>
Expand Down
1 change: 1 addition & 0 deletions test/LLVMC/C/wall.c
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@
* Check that -Wall works as intended
* RUN: llvmc -Wall %s -o %t
* RUN: %abs_tmp | grep hello
* XFAIL: vg_leak
*/

#include <stdio.h>
Expand Down
1 change: 1 addition & 0 deletions test/LLVMC/EmptyCompilationGraph.td
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
// Check that the compilation graph can be empty.
// RUN: tblgen -I %p/../../include --gen-llvmc %s -o %t
// RUN: %compile_cxx -fexceptions -x c++ %t
// XFAIL: vg_leak

include "llvm/CompilerDriver/Common.td"

Expand Down
1 change: 1 addition & 0 deletions test/LLVMC/EnvParentheses.td
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@
// RUN: tblgen -I %p/../../include --gen-llvmc %s -o %t
// RUN: not grep {FOO")));} %t
// RUN: %compile_cxx -fexceptions -x c++ %t
// XFAIL: vg_leak

include "llvm/CompilerDriver/Common.td"

Expand Down
1 change: 1 addition & 0 deletions test/LLVMC/ExternOptions.td
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@
// RUN: tblgen -I %p/../../include --gen-llvmc %s -o %t
// RUN: FileCheck -input-file %t %s
// RUN: %compile_cxx -fexceptions -x c++ %t
// XFAIL: vg_leak

include "llvm/CompilerDriver/Common.td"

Expand Down
1 change: 1 addition & 0 deletions test/LLVMC/ForwardAs.td
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@
// RUN: tblgen -I %p/../../include --gen-llvmc %s -o %t
// RUN: FileCheck -input-file %t %s
// RUN: %compile_cxx -fexceptions -x c++ %t
// XFAIL: vg_leak

include "llvm/CompilerDriver/Common.td"

Expand Down
1 change: 1 addition & 0 deletions test/LLVMC/ForwardTransformedValue.td
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@
// RUN: tblgen -I %p/../../include --gen-llvmc %s -o %t
// RUN: FileCheck -input-file %t %s
// RUN: %compile_cxx -fexceptions -x c++ %t
// XFAIL: vg_leak

include "llvm/CompilerDriver/Common.td"

Expand Down
1 change: 1 addition & 0 deletions test/LLVMC/ForwardValue.td
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@
// RUN: tblgen -I %p/../../include --gen-llvmc %s -o %t
// RUN: FileCheck -input-file %t %s
// RUN: %compile_cxx -fexceptions -x c++ %t
// XFAIL: vg_leak

include "llvm/CompilerDriver/Common.td"

Expand Down
1 change: 1 addition & 0 deletions test/LLVMC/HookWithArguments.td
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@
// RUN: tblgen -I %p/../../include --gen-llvmc %s -o %t
// RUN: FileCheck -input-file %t %s
// RUN: %compile_cxx -fexceptions -x c++ %t
// XFAIL: vg_leak

include "llvm/CompilerDriver/Common.td"

Expand Down
1 change: 1 addition & 0 deletions test/LLVMC/HookWithInFile.td
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@
// RUN: tblgen -I %p/../../include --gen-llvmc %s -o %t
// RUN: FileCheck -input-file %t %s
// RUN: %compile_cxx -fexceptions -x c++ %t
// XFAIL: vg_leak

include "llvm/CompilerDriver/Common.td"

Expand Down
1 change: 1 addition & 0 deletions test/LLVMC/Init.td
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@
// RUN: tblgen -I %p/../../include --gen-llvmc %s -o %t
// RUN: FileCheck -input-file %t %s
// RUN: %compile_cxx -fexceptions -x c++ %t
// XFAIL: vg_leak

include "llvm/CompilerDriver/Common.td"

Expand Down
1 change: 1 addition & 0 deletions test/LLVMC/MultiValuedOption.td
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@
// RUN: tblgen -I %p/../../include --gen-llvmc %s -o %t
// RUN: FileCheck -input-file %t %s
// RUN: %compile_cxx -fexceptions -x c++ %t
// XFAIL: vg_leak

include "llvm/CompilerDriver/Common.td"

Expand Down
1 change: 1 addition & 0 deletions test/LLVMC/MultipleCompilationGraphs.td
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
// Check that multiple compilation graphs are allowed.
// RUN: tblgen -I %p/../../include --gen-llvmc %s -o %t
// RUN: %compile_cxx -fexceptions -x c++ %t
// XFAIL: vg_leak

include "llvm/CompilerDriver/Common.td"

Expand Down
1 change: 1 addition & 0 deletions test/LLVMC/NoActions.td
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@
// RUN: tblgen -I %p/../../include --gen-llvmc %s -o %t
// RUN: FileCheck -input-file %t %s
// RUN: %compile_cxx -fexceptions -x c++ %t
// XFAIL: vg_leak

include "llvm/CompilerDriver/Common.td"

Expand Down
1 change: 1 addition & 0 deletions test/LLVMC/NoCompilationGraph.td
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
// Check that the compilation graph is not required.
// RUN: tblgen -I %p/../../include --gen-llvmc %s -o %t
// RUN: %compile_cxx -fexceptions -x c++ %t
// XFAIL: vg_leak

include "llvm/CompilerDriver/Common.td"
1 change: 1 addition & 0 deletions test/LLVMC/OneOrMore.td
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@
// RUN: tblgen -I %p/../../include --gen-llvmc %s -o %t
// RUN: FileCheck -input-file %t %s
// RUN: %compile_cxx -fexceptions -x c++ %t
// XFAIL: vg_leak

include "llvm/CompilerDriver/Common.td"

Expand Down
1 change: 1 addition & 0 deletions test/LLVMC/OptionPreprocessor.td
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@
// RUN: tblgen -I %p/../../include --gen-llvmc %s -o %t
// RUN: FileCheck -input-file %t %s
// RUN: %compile_cxx -fexceptions -x c++ %t
// XFAIL: vg_leak

include "llvm/CompilerDriver/Common.td"

Expand Down
1 change: 1 addition & 0 deletions test/LLVMC/TestWarnings.td
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
// Check that warnings about unused options are really emitted.
// This should fail because the output is printed on stderr.
// RUN: tblgen -I %p/../../include --gen-llvmc %s |& grep "option '-Wall' has no effect!"
// XFAIL: vg_leak

include "llvm/CompilerDriver/Common.td"

Expand Down

0 comments on commit f65b0e9

Please sign in to comment.