From 88b4b9f97391e8beec02fe1f0a4d16e1b0e12610 Mon Sep 17 00:00:00 2001 From: Krasimir Georgiev Date: Tue, 17 Sep 2019 12:23:03 +0000 Subject: [PATCH] lldb: move a test input to the test Inputs dir Summary: This makes the input file for a new test added in r372060 directly available in the Inputs subdirectory of the test dir. Differential Revision: https://reviews.llvm.org/D67655 llvm-svn: 372112 --- lldb/lit/Commands/Inputs/main.c | 2 ++ lldb/lit/Commands/command-script-import.test | 2 +- 2 files changed, 3 insertions(+), 1 deletion(-) create mode 100644 lldb/lit/Commands/Inputs/main.c diff --git a/lldb/lit/Commands/Inputs/main.c b/lldb/lit/Commands/Inputs/main.c new file mode 100644 index 0000000..c029ddd --- /dev/null +++ b/lldb/lit/Commands/Inputs/main.c @@ -0,0 +1,2 @@ +int foo() { return 0; } +int main() { return foo(); } diff --git a/lldb/lit/Commands/command-script-import.test b/lldb/lit/Commands/command-script-import.test index 318b4f4..bddb849 100644 --- a/lldb/lit/Commands/command-script-import.test +++ b/lldb/lit/Commands/command-script-import.test @@ -2,7 +2,7 @@ # RUN: echo 'run' >> %t.in # RUN: echo 'command script import %S/Inputs/frame.py' >> %t.in -# RUN: %clang -g -O0 %S/../Settings/Inputs/main.c -o %t.out +# RUN: %clang -g -O0 %S/Inputs/main.c -o %t.out # RUN: %lldb -b -s %t.in %t.out | FileCheck %s # CHECK: frame #0 -- 2.7.4