2 Helper Makefile for testing gcc toolchains using the gcc-testsuite
3 ==================================================================
8 * DejaGnu 'runtest' v1.4.4+
16 Edit default.cfg to reflect your toolchain and target configuration.
18 Alternatively, override configuration variables on the command line.
20 Available config variables:
37 The first two examples require a networked target with ssh access and automatic
38 ssh login (see section below). Target SW should be compiled with the toolchain
41 Run default gcc compile/execution tests:
42 $ make DG_TOOLNAME=gcc DG_TARGET_HOSTNAME=192.168.17.93 DG_TARGET_USERNAME=root
44 Run default g++ compile/execution tests:
45 $ make DG_TOOLNAME=g++ DG_TARGET_HOSTNAME=192.168.17.93 DG_TARGET_USERNAME=root
47 Run selected gcc compile only tests (no target required):
48 $ make DG_TOOLNAME=gcc DG_C_TESTS="compile.exp noncompile.exp"
51 SSH automatic login configuration example
52 -----------------------------------------
55 ssh-keygen -t rsa (then simply press enter thru all steps)
56 scp ~/.ssh/id_rsa.pub <username>@<target IP>:~/
61 cat id_rsa.pub >> .ssh/authorized_keys
64 Now automatic ssh login should work - test by doing a simple ssh session to target.
66 Note: The procedure might be slightly different for your particular target.
71 Martin Lund <mgl@doredevelopment.dk>