This is the mail archive of the crossgcc@sourceware.org mailing list for the crossgcc project.

See the CrossGCC FAQ for lots more information.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: [PATCH 1 of 1] test-suite: Added new test suite feature (experimental)


Martin, All,

On Saturday 15 May 2010 17:19:05 Martin Lund wrote:
> test-suite: Added new test suite feature (experimental)
> 
> This patch adds support for installing the gcc test suite. A helper
> Makefile is provided for building and running the gcc tests.
> 
> The default configuration runs all gcc tests and requires automatic
> ssh/scp login access to a networked target board. See README for
> more details.
> 
> Note: Current feature is tested with the powerpc-unknown-linux-gnu
> sample but it should work with others as well.

Nice patch! It's a bit late here (and a bit alcooholised as well...), so
I'll comment more thouroughly tomorrow...

[--SNIP--]
> diff -r 48e107b35ba9 -r 7e1196581995 contrib/gcc-test-suite/README
[--SNIP--]
> +SSH automatic login configuration example
> +-----------------------------------------
> +
> +On host do: 
> +ssh-keygen -t rsa (then simply press enter thru all steps)
> +scp ~/.ssh/id_rsa.pub <username>@<target IP>:~/
> +
> +On target do:
> +cd ~
> +mkdir .ssh
> +cat id_rsa.pub >> .ssh/authorized_keys
> +rm id_rsa.pub

Replace from 'scp' to 'rm' with:
  ssh-copy-id -i ~/.ssh/id_rsa.pub username@target

More in-depth review tomorrow.

Regards,
Yann E. MORIN.

-- 
.-----------------.--------------------.------------------.--------------------.
|  Yann E. MORIN  | Real-Time Embedded | /"\ ASCII RIBBON | Erics' conspiracy: |
| +33 662 376 056 | Software  Designer | \ / CAMPAIGN     |  ___               |
| +33 223 225 172 `------------.-------:  X  AGAINST      |  \e/  There is no  |
| http://ymorin.is-a-geek.org/ | _/*\_ | / \ HTML MAIL    |   v   conspiracy.  |
'------------------------------^-------^------------------^--------------------'



--
For unsubscribe information see http://sourceware.org/lists.html#faq


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]