[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[patches] Cross testing
- To: patches@xxxxxxxxxx
- Subject: [patches] Cross testing
- From: Khem Raj <kraj@xxxxxxxxxx>
- Date: Thu, 01 Mar 2007 15:45:34 -0800
Hi
Cross testing worked for me almost out of the box when I used localhost
as my target.
Only problem I found was that the scripts/cross-test-ssh.sh does not
have +x attribute
so it does not run as mentioned in its help.
To use this to run EGLIBC tests, invoke the tests as follows:
$ make cross-test-wrapper='ABSPATH/cross-test-ssh.sh HOST' tests
however
$ make cross-test-wrapper='sh ABSPATH/cross-test-ssh.sh HOST' tests
worked.
So either we can change the attribute of the file in repository or make
the above change.
While running it on a really remote target I needed to do couple of things
Actually testing expects to have same user on both machines. So either
use NIS and passwordless ssh entry into target
or create an user with same name and then copy your .ssh/id_dsa.pub to
target user home as .ssh/authorized_keys
But in the end it all worked.
I have created a script based on Jim's instructions to build eglibc
toolchain. I have put it on
http://source.mvista.com/~kraj/toolchain-eglibc.sh
Thanks
-Khem