summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorHarish Sadineni <Harish.Sadineni@windriver.com>2025-08-22 00:12:27 -0700
committerRichard Purdie <richard.purdie@linuxfoundation.org>2025-08-25 17:47:21 +0100
commit9be7072616f11076a09bd8f051cb07e6ca24db14 (patch)
tree9c99aed57dad2ae7b8ed072ffccc6b6aeb1f2234
parent9284af07f50afeb69ec0fc43e94b55b08c3550f8 (diff)
downloadpoky-9be7072616f11076a09bd8f051cb07e6ca24db14.tar.gz
gcc-testsuite: Fix test failures with output pattern due to ssh warning.
when running oe-selftest for gcc some of the output pattern matchng test cases were getting failed due to below issue. Output line 1 was: Warning: Permanently added '192.168.7 Should match (from /poky/poky/build-st/tmp/work-shared/gcc-15.1.0-r0/sources/ gcc-15.1.0/gcc/testsuite/gcc.dg/dg-output-file-1-lp64.txt): This is a test output for lp64 target Failed test for output line 1 This is a test output for lp64 target (From OE-Core rev: 08200d7ac9d96996dbc1f913bcc0c8bee13592f8) Signed-off-by: Harish Sadineni <Harish.Sadineni@windriver.com> Signed-off-by: Mathieu Dubois-Briand <mathieu.dubois-briand@bootlin.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
-rw-r--r--meta/recipes-devtools/gcc/gcc-testsuite.inc4
1 files changed, 2 insertions, 2 deletions
diff --git a/meta/recipes-devtools/gcc/gcc-testsuite.inc b/meta/recipes-devtools/gcc/gcc-testsuite.inc
index 3257f86907..4859d6d84c 100644
--- a/meta/recipes-devtools/gcc/gcc-testsuite.inc
+++ b/meta/recipes-devtools/gcc/gcc-testsuite.inc
@@ -87,8 +87,8 @@ python check_prepare() {
87 content.append("set_board_info username {0}".format(d.getVar("TOOLCHAIN_TEST_HOST_USER"))) 87 content.append("set_board_info username {0}".format(d.getVar("TOOLCHAIN_TEST_HOST_USER")))
88 88
89 port = d.getVar("TOOLCHAIN_TEST_HOST_PORT") 89 port = d.getVar("TOOLCHAIN_TEST_HOST_PORT")
90 content.append("set_board_info rsh_prog \"/usr/bin/ssh -p {0} -o UserKnownHostsFile=/dev/null -o StrictHostKeyChecking=no\"".format(port)) 90 content.append("set_board_info rsh_prog \"/usr/bin/ssh -p {0} -o UserKnownHostsFile=/dev/null -o StrictHostKeyChecking=no -o LogLevel=ERROR \"".format(port))
91 content.append("set_board_info rcp_prog \"/usr/bin/scp -P {0} -o UserKnownHostsFile=/dev/null -o StrictHostKeyChecking=no\"".format(port)) 91 content.append("set_board_info rcp_prog \"/usr/bin/scp -P {0} -o UserKnownHostsFile=/dev/null -o StrictHostKeyChecking=no -o LogLevel=ERROR \"".format(port))
92 92
93 return "\n".join(content) 93 return "\n".join(content)
94 94