From 5fc562c5b1a53fd78ecad2da7481c0559705307b Mon Sep 17 00:00:00 2001 From: Zalathar Date: Thu, 22 Aug 2024 11:52:21 +1000 Subject: [PATCH] Rename `foo.py` to `my_gdb_script.py` This makes it easier for maintainers to see what the Python script is for. --- tests/run-make/debugger-visualizer-dep-info/main.rs | 2 +- .../debugger-visualizer-dep-info/{foo.py => my_gdb_script.py} | 0 tests/run-make/debugger-visualizer-dep-info/rmake.rs | 2 +- 3 files changed, 2 insertions(+), 2 deletions(-) rename tests/run-make/debugger-visualizer-dep-info/{foo.py => my_gdb_script.py} (100%) diff --git a/tests/run-make/debugger-visualizer-dep-info/main.rs b/tests/run-make/debugger-visualizer-dep-info/main.rs index 3aede2215ea..3539b305be3 100644 --- a/tests/run-make/debugger-visualizer-dep-info/main.rs +++ b/tests/run-make/debugger-visualizer-dep-info/main.rs @@ -1,4 +1,4 @@ -#![debugger_visualizer(gdb_script_file = "foo.py")] +#![debugger_visualizer(gdb_script_file = "my_gdb_script.py")] fn main() { const _UNUSED: u32 = { diff --git a/tests/run-make/debugger-visualizer-dep-info/foo.py b/tests/run-make/debugger-visualizer-dep-info/my_gdb_script.py similarity index 100% rename from tests/run-make/debugger-visualizer-dep-info/foo.py rename to tests/run-make/debugger-visualizer-dep-info/my_gdb_script.py diff --git a/tests/run-make/debugger-visualizer-dep-info/rmake.rs b/tests/run-make/debugger-visualizer-dep-info/rmake.rs index 65ffb2373e7..f5cf39157ac 100644 --- a/tests/run-make/debugger-visualizer-dep-info/rmake.rs +++ b/tests/run-make/debugger-visualizer-dep-info/rmake.rs @@ -6,6 +6,6 @@ fn main() { rustc().emit("dep-info").input("main.rs").run(); - invalid_utf8_contains("main.d", "foo.py"); + invalid_utf8_contains("main.d", "my_gdb_script.py"); invalid_utf8_contains("main.d", "my_visualizers/bar.natvis"); }