[Lldb-commits] [lldb] 5130e04 - [lldb] Don't write to source directory in test

Benjamin Kramer via lldb-commits lldb-commits at lists.llvm.org
Fri May 12 03:28:20 PDT 2023


Author: Benjamin Kramer
Date: 2023-05-12T12:26:29+02:00
New Revision: 5130e049ff43eee4fcabdfda3c626f1bc051ba31

URL: https://github.com/llvm/llvm-project/commit/5130e049ff43eee4fcabdfda3c626f1bc051ba31
DIFF: https://github.com/llvm/llvm-project/commit/5130e049ff43eee4fcabdfda3c626f1bc051ba31.diff

LOG: [lldb] Don't write to source directory in test

Added: 
    

Modified: 
    lldb/test/Shell/Commands/command-disassemble-mixed.test

Removed: 
    


################################################################################
diff  --git a/lldb/test/Shell/Commands/command-disassemble-mixed.test b/lldb/test/Shell/Commands/command-disassemble-mixed.test
index d27cdb1cb5a16..e078f341a694b 100644
--- a/lldb/test/Shell/Commands/command-disassemble-mixed.test
+++ b/lldb/test/Shell/Commands/command-disassemble-mixed.test
@@ -6,8 +6,8 @@ int main() {
   return abc;
 }
 
-// RUN: %clang_host -g -x c -o a.out %s
-// RUN: %lldb -b -o 'disassemble --mixed -n main' a.out | FileCheck %s
+// RUN: %clang_host -g -x c -o %t.out %s
+// RUN: %lldb -b -o 'disassemble --mixed -n main' %t.out | FileCheck %s
 
-// CHECK: a.out`main:
+// CHECK: .out`main:
 // CHECK-NOT: do_not_show


        


More information about the lldb-commits mailing list