Skip to content

Commit 90b4a97

Browse files
committed
Fix compiletest version-parsing tests
The compiletest version-parsing tests failed after the previous patch. However, I don't believe these tests are correct, in that I don't think RHEL or CentOS ever put the gdb version number into parentheses. Instead they display like: GNU gdb (GDB) Red Hat Enterprise Linux 7.6.1-119.el7
1 parent 37097fb commit 90b4a97

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/tools/compiletest/src/tests.rs

+2-2
Original file line numberDiff line numberDiff line change
@@ -7,9 +7,9 @@ fn test_extract_gdb_version() {
77
)*}}}
88

99
test! {
10-
7000001: "GNU gdb (GDB) CentOS (7.0.1-45.el5.centos)",
10+
7000001: "GNU gdb (GDB) CentOS 7.0.1-45.el5.centos",
1111

12-
7002000: "GNU gdb (GDB) Red Hat Enterprise Linux (7.2-90.el6)",
12+
7002000: "GNU gdb (GDB) Red Hat Enterprise Linux 7.2-90.el6",
1313

1414
7004000: "GNU gdb (Ubuntu/Linaro 7.4-2012.04-0ubuntu2.1) 7.4-2012.04",
1515
7004001: "GNU gdb (GDB) 7.4.1-debian",

0 commit comments

Comments
 (0)