[Lldb-commits] [lldb] r372112 - lldb: move a test input to the test Inputs dir

Krasimir Georgiev via lldb-commits lldb-commits at lists.llvm.org
Tue Sep 17 05:23:03 PDT 2019


Author: krasimir
Date: Tue Sep 17 05:23:03 2019
New Revision: 372112

URL: http://llvm.org/viewvc/llvm-project?rev=372112&view=rev
Log:
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

Added:
    lldb/trunk/lit/Commands/Inputs/main.c
Modified:
    lldb/trunk/lit/Commands/command-script-import.test

Added: lldb/trunk/lit/Commands/Inputs/main.c
URL: http://llvm.org/viewvc/llvm-project/lldb/trunk/lit/Commands/Inputs/main.c?rev=372112&view=auto
==============================================================================
--- lldb/trunk/lit/Commands/Inputs/main.c (added)
+++ lldb/trunk/lit/Commands/Inputs/main.c Tue Sep 17 05:23:03 2019
@@ -0,0 +1,2 @@
+int foo() { return 0; }
+int main() { return foo(); }

Modified: lldb/trunk/lit/Commands/command-script-import.test
URL: http://llvm.org/viewvc/llvm-project/lldb/trunk/lit/Commands/command-script-import.test?rev=372112&r1=372111&r2=372112&view=diff
==============================================================================
--- lldb/trunk/lit/Commands/command-script-import.test (original)
+++ lldb/trunk/lit/Commands/command-script-import.test Tue Sep 17 05:23:03 2019
@@ -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




More information about the lldb-commits mailing list