lldb: move a test input to the test Inputs dir
authorKrasimir Georgiev <krasimir@google.com>
Tue, 17 Sep 2019 12:23:03 +0000 (12:23 +0000)
committerKrasimir Georgiev <krasimir@google.com>
Tue, 17 Sep 2019 12:23:03 +0000 (12:23 +0000)
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 [new file with mode: 0644]
lldb/lit/Commands/command-script-import.test

diff --git a/lldb/lit/Commands/Inputs/main.c b/lldb/lit/Commands/Inputs/main.c
new file mode 100644 (file)
index 0000000..c029ddd
--- /dev/null
@@ -0,0 +1,2 @@
+int foo() { return 0; }
+int main() { return foo(); }
index 318b4f4..bddb849 100644 (file)
@@ -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