mirror of
https://git.yoctoproject.org/poky
synced 2026-04-20 09:32:13 +02:00
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>
This commit is contained in:
committed by
Richard Purdie
parent
9284af07f5
commit
9be7072616
@@ -87,8 +87,8 @@ python check_prepare() {
|
||||
content.append("set_board_info username {0}".format(d.getVar("TOOLCHAIN_TEST_HOST_USER")))
|
||||
|
||||
port = d.getVar("TOOLCHAIN_TEST_HOST_PORT")
|
||||
content.append("set_board_info rsh_prog \"/usr/bin/ssh -p {0} -o UserKnownHostsFile=/dev/null -o StrictHostKeyChecking=no\"".format(port))
|
||||
content.append("set_board_info rcp_prog \"/usr/bin/scp -P {0} -o UserKnownHostsFile=/dev/null -o StrictHostKeyChecking=no\"".format(port))
|
||||
content.append("set_board_info rsh_prog \"/usr/bin/ssh -p {0} -o UserKnownHostsFile=/dev/null -o StrictHostKeyChecking=no -o LogLevel=ERROR \"".format(port))
|
||||
content.append("set_board_info rcp_prog \"/usr/bin/scp -P {0} -o UserKnownHostsFile=/dev/null -o StrictHostKeyChecking=no -o LogLevel=ERROR \"".format(port))
|
||||
|
||||
return "\n".join(content)
|
||||
|
||||
|
||||
Reference in New Issue
Block a user