GP-0: fix for test failures

This commit is contained in:
d-millar 2024-11-21 14:39:21 +00:00
parent 1dad9f85c0
commit b44ff6e230
2 changed files with 6 additions and 4 deletions

View File

@ -4,9 +4,9 @@
* Licensed under the Apache License, Version 2.0 (the "License"); * Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License. * you may not use this file except in compliance with the License.
* You may obtain a copy of the License at * You may obtain a copy of the License at
* *
* http://www.apache.org/licenses/LICENSE-2.0 * http://www.apache.org/licenses/LICENSE-2.0
* *
* Unless required by applicable law or agreed to in writing, software * Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS, * distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
@ -251,6 +251,7 @@ public class GdbCommandsTest extends AbstractGdbTraceRmiTest {
Selected Ghidra compiler: gcc""", Selected Ghidra compiler: gcc""",
extractOutSection(out, "---File---")); extractOutSection(out, "---File---"));
assertEquals(""" assertEquals("""
Toy:BE:64:default not found in compiler map
Selected Ghidra language: Toy:BE:64:default Selected Ghidra language: Toy:BE:64:default
Selected Ghidra compiler: default""", Selected Ghidra compiler: default""",
extractOutSection(out, "---Language---")); extractOutSection(out, "---Language---"));

View File

@ -4,9 +4,9 @@
* Licensed under the Apache License, Version 2.0 (the "License"); * Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License. * you may not use this file except in compliance with the License.
* You may obtain a copy of the License at * You may obtain a copy of the License at
* *
* http://www.apache.org/licenses/LICENSE-2.0 * http://www.apache.org/licenses/LICENSE-2.0
* *
* Unless required by applicable law or agreed to in writing, software * Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS, * distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
@ -243,6 +243,7 @@ public class LldbCommandsTest extends AbstractLldbTraceRmiTest {
Selected Ghidra compiler: %s""".formatted(PLAT.lang(), PLAT.cSpec()), Selected Ghidra compiler: %s""".formatted(PLAT.lang(), PLAT.cSpec()),
extractOutSection(out, "---File---")); extractOutSection(out, "---File---"));
assertEquals(""" assertEquals("""
Toy:BE:64:default not found in compiler map
Selected Ghidra language: Toy:BE:64:default Selected Ghidra language: Toy:BE:64:default
Selected Ghidra compiler: default""", Selected Ghidra compiler: default""",
extractOutSection(out, "---Language---")); extractOutSection(out, "---Language---"));