summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAlexander Polyakov <polyakov.alx@gmail.com>2018-06-04 22:39:40 +0000
committerAlexander Polyakov <polyakov.alx@gmail.com>2018-06-04 22:39:40 +0000
commitaa651684197e0697f34a00f53bcbb9e056711f73 (patch)
tree6f1c697349bd6d9034937c0b1ede8ede6e1c71e4
parentdcb8d304c319bf8d6c92cde4fcbcff11aa4be238 (diff)
downloadbcm5719-llvm-aa651684197e0697f34a00f53bcbb9e056711f73.tar.gz
bcm5719-llvm-aa651684197e0697f34a00f53bcbb9e056711f73.zip
[lldb, lldb-mi] Enable lldb-mi -break-insert test on Windows.
Summary: 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. Reviewers: aprantl, stella.stamenova Reviewed By: stella.stamenova Subscribers: ki.stfu, llvm-commits, lldb-commits Differential Revision: https://reviews.llvm.org/D47679 llvm-svn: 333963
-rw-r--r--lldb/lit/tools/lldb-mi/breakpoint/break-insert.test9
1 files changed, 4 insertions, 5 deletions
diff --git a/lldb/lit/tools/lldb-mi/breakpoint/break-insert.test b/lldb/lit/tools/lldb-mi/breakpoint/break-insert.test
index bd665fea782..cecf9e2443a 100644
--- a/lldb/lit/tools/lldb-mi/breakpoint/break-insert.test
+++ b/lldb/lit/tools/lldb-mi/breakpoint/break-insert.test
@@ -1,8 +1,7 @@
-# REQUIRES: nowindows
+# XFAIL: windows
# -> 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.
@@ -10,7 +9,7 @@
-break-insert breakpoint
# CHECK: ^done,bkpt={number="1"
--file-exec-and-symbols a.out
+-file-exec-and-symbols a.exe
# CHECK: ^done
-exec-run
OpenPOWER on IntegriCloud