-
Notifications
You must be signed in to change notification settings - Fork 13k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[rust-gdb] relax the GDB version regex #57647
Conversation
The pretty-printer script is checking `gdb.VERSION` to see if it's at least 8.1 for some features. With `re.match`, it will only find the version at the beginning of that string, but in Fedora the string is something like "Fedora 8.2-5.fc29". Using `re.search` instead will find the first location that matches anywhere, so it will find my 8.2.
(rust_highfive has picked a reviewer for you, use r? to override) |
r? @tromey |
@bors r+ |
📌 Commit 9430423 has been approved by |
⌛ Testing commit 9430423 with merge fc639c3c6780a68e64477ec69b064b2be494c9f8... |
💔 Test failed - checks-travis |
The job Click to expand the log.
I'm a bot! I can only do what humans tell me to, so if this was not helpful or you have suggestions for improvements, please ping or otherwise contact |
Spurious failure? This change should have nothing to do with those tests. |
@bors retry |
[rust-gdb] relax the GDB version regex The pretty-printer script is checking `gdb.VERSION` to see if it's at least 8.1 for some features. With `re.match`, it will only find the version at the beginning of that string, but in Fedora the string is something like "Fedora 8.2-5.fc29". Using `re.search` instead will find the first location that matches anywhere, so it will find my 8.2.
☀️ Test successful - checks-travis, status-appveyor |
The pretty-printer script is checking
gdb.VERSION
to see if it's atleast 8.1 for some features. With
re.match
, it will only find theversion at the beginning of that string, but in Fedora the string is
something like "Fedora 8.2-5.fc29". Using
re.search
instead will findthe first location that matches anywhere, so it will find my 8.2.