Skip to content

Commit 7581aa1

Browse files
committed
[lldb][test] Make sure we compile FrameFormat tests with DWARF
These don't make sense for PDB on Windows
1 parent 1b2671f commit 7581aa1

15 files changed

+15
-26
lines changed

lldb/test/Shell/Settings/TestCxxFrameFormat.test

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
# Test the plugin.cplusplus.display.function-name-format setting.
44

55
# RUN: split-file %s %t
6-
# RUN: %build %t/main.cpp -o %t.out
6+
# RUN: %clang_host -g -gdwarf %t/main.cpp -o %t.out
77
# RUN: %lldb -x -b -s %t/commands.input %t.out -o exit 2>&1 \
88
# RUN: | FileCheck %s
99

lldb/test/Shell/Settings/TestCxxFrameFormatPartialFailure.test

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
# were successful.
44

55
# RUN: split-file %s %t
6-
# RUN: %build %t/main.cpp -o %t.out
6+
# RUN: %clang_host -g -gdwarf %t/main.cpp -o %t.out
77
# RUN: %lldb -x -b -s %t/commands.input %t.out -o exit 2>&1 \
88
# RUN: | FileCheck %s
99

lldb/test/Shell/Settings/TestCxxFrameFormatRecursive.test

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
# plugin.cplusplus.display.function-name-format setting.
55

66
# RUN: split-file %s %t
7-
# RUN: %build %t/main.cpp -o %t.out
7+
# RUN: %clang_host -g -gdwarf %t/main.cpp -o %t.out
88
# RUN: %lldb -o "settings set interpreter.stop-command-source-on-error false" \
99
# RUN: -x -b -s %t/commands.input %t.out -o exit 2>&1 \
1010
# RUN: | FileCheck %s

lldb/test/Shell/Settings/TestFrameFormatFunctionBasename.test

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,7 @@
1-
# XFAIL: system-windows
2-
31
# Test the ${function.basename} frame-format variable.
42

53
# RUN: split-file %s %t
6-
# RUN: %build %t/main.cpp -o %t.out
4+
# RUN: %clang_host -g -gdwarf %t/main.cpp -o %t.out
75
# RUN: %lldb -x -b -s %t/commands.input %t.out -o exit 2>&1 \
86
# RUN: | FileCheck %s
97
#

lldb/test/Shell/Settings/TestFrameFormatFunctionBasenameObjC.test

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
# don't implement this frame format variable (in this case Objective-C).
33
#
44
# RUN: split-file %s %t
5-
# RUN: %build %t/main.m -o %t.objc.out
5+
# RUN: %clang_host -g -gdwarf %t/main.m -o %t.objc.out
66
# RUN: %lldb -x -b -s %t/commands.input %t.objc.out -o exit 2>&1 \
77
# RUN: | FileCheck %s
88

lldb/test/Shell/Settings/TestFrameFormatFunctionFormattedArguments.test

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
# Test the ${function.formatted-arguments} frame-format variable.
22

33
# RUN: split-file %s %t
4-
# RUN: %build %t/main.cpp -o %t.out
4+
# RUN: %clang_host -g -gdwarf %t/main.cpp -o %t.out
55
# RUN: %lldb -x -b -s %t/commands.input %t.out -o exit 2>&1 \
66
# RUN: | FileCheck %s
77

lldb/test/Shell/Settings/TestFrameFormatFunctionFormattedArgumentsObjC.test

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
# don't implement this frame format variable (in this case Objective-C).
55
#
66
# RUN: split-file %s %t
7-
# RUN: %build %t/main.m -o %t.objc.out
7+
# RUN: %clang_host -g -gdwarf %t/main.m -o %t.objc.out
88
# RUN: %lldb -x -b -s %t/commands.input %t.objc.out -o exit 2>&1 \
99
# RUN: | FileCheck %s
1010

lldb/test/Shell/Settings/TestFrameFormatFunctionQualifiers.test

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,7 @@
1-
# XFAIL: system-windows
2-
31
# Test the ${function.qualifiers} frame-format variable.
42

53
# RUN: split-file %s %t
6-
# RUN: %build %t/main.cpp -o %t.out
4+
# RUN: %clang_host -g -gdwarf %t/main.cpp -o %t.out
75
# RUN: %lldb -x -b -s %t/commands.input %t.out -o exit 2>&1 \
86
# RUN: | FileCheck %s
97

lldb/test/Shell/Settings/TestFrameFormatFunctionQualifiersObjC.test

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,8 +2,7 @@
22
# languages that don't implement this frame format variable (in this case Objective-C).
33

44
# RUN: split-file %s %t
5-
#
6-
# RUN: %build %t/main.m -o %t.objc.out
5+
# RUN: %clang_host -g -gdwarf %t/main.m -o %t.objc.out
76
# RUN: %lldb -x -b -s %t/commands.input %t.objc.out -o exit 2>&1 \
87
# RUN: | FileCheck %s
98

lldb/test/Shell/Settings/TestFrameFormatFunctionReturn.test

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,8 @@
1-
# XFAIL: system-windows
2-
31
# Test the ${function.return-left} and ${function.return-right}
42
# frame-format variables.
53

64
# RUN: split-file %s %t
7-
# RUN: %build %t/main.cpp -o %t.out
5+
# RUN: %clang_host -g -gdwarf %t/main.cpp -o %t.out
86
# RUN: %lldb -x -b -s %t/commands.input %t.out -o exit 2>&1 \
97
# RUN: | FileCheck %s
108

lldb/test/Shell/Settings/TestFrameFormatFunctionReturnObjC.test

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
# format variable (in this case Objective-C).
44
#
55
# RUN: split-file %s %t
6-
# RUN: %build %t/main.m -o %t.objc.out
6+
# RUN: %clang_host -g -gdwarf %t/main.m -o %t.objc.out
77
# RUN: %lldb -x -b -s %t/commands.input %t.objc.out -o exit 2>&1 \
88
# RUN: | FileCheck %s
99

lldb/test/Shell/Settings/TestFrameFormatFunctionScope.test

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,7 @@
1-
# XFAIL: system-windows
2-
31
# Test the ${function.scope} frame-format variable.
42

53
# RUN: split-file %s %t
6-
# RUN: %build %t/main.cpp -o %t.out
4+
# RUN: %clang_host -g -gdwarf %t/main.cpp -o %t.out
75
# RUN: %lldb -o "settings set interpreter.stop-command-source-on-error false" \
86
# RUN: -x -b -s %t/commands.input %t.out -o exit 2>&1 \
97
# RUN: | FileCheck %s

lldb/test/Shell/Settings/TestFrameFormatFunctionScopeObjC.test

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
# don't implement this frame format variable (in this case Objective-C).
33
#
44
# RUN: split-file %s %t
5-
# RUN: %build %t/main.m -o %t.objc.out
5+
# RUN: %clang_host -g -gdwarf %t/main.m -o %t.objc.out
66
# RUN: %lldb -x -b -s %t/commands.input %t.objc.out -o exit 2>&1 \
77
# RUN: | FileCheck %s
88

lldb/test/Shell/Settings/TestFrameFormatFunctionTemplateArguments.test

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,7 @@
1-
# XFAIL: system-windows
2-
31
# Test the ${function.template-arguments} frame-format variable.
42

53
# RUN: split-file %s %t
6-
# RUN: %build %t/main.cpp -o %t.cxx.out
4+
# RUN: %clang_host -g -gdwarf %t/main.cpp -o %t.cxx.out
75
# RUN: %lldb -x -b -s %t/commands.input %t.cxx.out -o exit 2>&1 \
86
# RUN: | FileCheck %s
97

lldb/test/Shell/Settings/TestFrameFormatFunctionTemplateArgumentsObjC.test

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
# languages that don't implement this frame format variable (in this case Objective-C).
33
#
44
# RUN: split-file %s %t
5-
# RUN: %build %t/main.m -o %t.objc.out
5+
# RUN: %clang_host -g -gdwarf %t/main.m -o %t.objc.out
66
# RUN: %lldb -x -b -s %t/commands.input %t.objc.out -o exit 2>&1 \
77
# RUN: | FileCheck %s
88

0 commit comments

Comments
 (0)