mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2025-01-14 00:32:55 +00:00
XFAIL tests from LLVMC on valgrind or valgrind+leak-checking. We
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
This commit is contained in:
parent
6b4c12db13
commit
f65b0e9b45
@ -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"
|
||||
|
||||
|
@ -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();
|
||||
|
||||
|
@ -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() {
|
||||
|
@ -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();
|
||||
|
||||
|
@ -1,4 +1,5 @@
|
||||
// RUN: llvmc -c -emit-llvm -o - %s | llvm-dis | grep "@f0()" | count 1
|
||||
// XFAIL: vg_leak
|
||||
|
||||
int f0(void) {
|
||||
}
|
||||
|
@ -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>
|
||||
|
@ -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) {
|
||||
|
@ -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>
|
||||
|
@ -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>
|
||||
|
@ -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>
|
||||
|
@ -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"
|
||||
|
||||
|
@ -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"
|
||||
|
||||
|
@ -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"
|
||||
|
||||
|
@ -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"
|
||||
|
||||
|
@ -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"
|
||||
|
||||
|
@ -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"
|
||||
|
||||
|
@ -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"
|
||||
|
||||
|
@ -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"
|
||||
|
||||
|
@ -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"
|
||||
|
||||
|
@ -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"
|
||||
|
||||
|
@ -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"
|
||||
|
||||
|
@ -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"
|
||||
|
||||
|
@ -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"
|
||||
|
@ -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"
|
||||
|
||||
|
@ -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"
|
||||
|
||||
|
@ -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"
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user