[Lldb-commits] [PATCH] D47679: [lldb, lldb-mi] Enable lldb-mi -break-insert test on Windows.

Alexander Polyakov via Phabricator via lldb-commits lldb-commits at lists.llvm.org
Sat Jun 2 15:41:39 PDT 2018

polyakov.alex created this revision.
polyakov.alex added reviewers: aprantl, stella.stamenova.
Herald added subscribers: llvm-commits, ki.stfu.

The default name for a compiler output on Linux is `a.out`, while on Windows it's `a.exe`. But if we add option `-o a.exe`, the compiler will create the executable `a.exe` on the both systems.




Index: lit/tools/lldb-mi/breakpoint/break-insert.test
--- lit/tools/lldb-mi/breakpoint/break-insert.test
+++ lit/tools/lldb-mi/breakpoint/break-insert.test
@@ -1,16 +1,12 @@
-# REQUIRES: nowindows
-# -> llvm.org/pr24452
-# Rather than XFAILing the test, skip it on Windows because it hangs
-# RUN: %cc %p/inputs/break-insert.c -g
+# RUN: %cc -o a.exe %p/inputs/break-insert.c -g
 # RUN: %lldbmi < %s | FileCheck %s
 # Test that a breakpoint can be inserted before creating a target.
 -break-insert breakpoint
 # CHECK: ^done,bkpt={number="1"
--file-exec-and-symbols a.out
+-file-exec-and-symbols a.exe
 # CHECK: ^done

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D47679.149620.patch
Type: text/x-patch
Size: 707 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/lldb-commits/attachments/20180602/4ff9f234/attachment.bin>

More information about the lldb-commits mailing list