[lit, lldbsuite] Remove tests that are duplicated between lit and lldb-suite

Summary: Several tests exist in both lit and lldbsuite. This removes the lit version of the duplicated tests.

Reviewers: asmith, zturner

Subscribers: llvm-commits

Differential Revision: https://reviews.llvm.org/D49450

llvm-svn: 337393
This commit is contained in:
Stella Stamenova 2018-07-18 15:16:54 +00:00
parent e9d7b3198a
commit 0f97581af7
5 changed files with 0 additions and 80 deletions

View File

@ -1,26 +0,0 @@
#include <cmath>
typedef struct {
float f;
int i;
} my_untagged_struct;
double multiply(my_untagged_struct *s)
{
return s->f * s->i;
}
double multiply(my_untagged_struct *s, int x)
{
return multiply(s) * x;
}
int main(int argc, char **argv)
{
my_untagged_struct s = {
.f = (float)argc,
.i = argc,
};
// lldb testsuite break
return !(multiply(&s, argc) == pow(argc, 3));
}

View File

@ -1,11 +0,0 @@
# XFAIL: windows
# -> llvm.org/pr21765
# RUN: %cxx %p/Inputs/call-function.cpp -g -o %t && %lldb -b -s %s -- %t | FileCheck %s
breakpoint set --file call-function.cpp --line 52
run
print str
# CHECK: Hello world
print str.c_str()
# CHECK: Hello world

View File

@ -1,12 +0,0 @@
# XFAIL: windows
# -> llvm.org/pr24489
# RUN: %cxx %p/Inputs/call-function.cpp -g -o %t && %lldb -b -s %s -o continue -o "thread list" -- %t 2>&1 | FileCheck %s
breakpoint set --file call-function.cpp --line 52
run
breakpoint set --file call-function.cpp --line 14
expression -i false -- returnsFive()
# CHECK: Execution was interrupted, reason: breakpoint
# CHECK: stop reason = User Expression thread plan
# CHECK: Completed expression: (Five) $0 = (number = 5{{.*}}, name = "five")

View File

@ -1,11 +0,0 @@
# XFAIL: windows
# XFAIL: armhf-linux
# -> llvm.org/pr27868
# RUN: %cxx %p/Inputs/anonymous-struct.cpp -g -o %t && %lldb -b -s %s -- %t | FileCheck %s
breakpoint set --file anonymous-struct.cpp --line 24
run
expression multiply(&s)
# CHECK: $0 = 1

View File

@ -1,20 +0,0 @@
# XFAIL: windows
# -> llvm.org/pr24489
# RUN: %cxx %p/Inputs/call-function.cpp -g -o %t && %lldb -b -s %s -- %t | FileCheck %s
breakpoint set --file call-function.cpp --line 52
run
expression fib(5)
# CHECK: $0 = 5
expression add(4,8)
# CHECK: $1 = 12
expression add(add(5,2),add(3,4))
# CHECK: $2 = 14
expression add(add(5,2),fib(5))
# CHECK: $3 = 12
expression stringCompare((const char*) "Hello world")
# CHECK: $4 = true
expression stringCompare((const char*) "Hellworld")
# CHECK: $5 = false