This is the mail archive of the java-patches@gcc.gnu.org mailing list for the Java project.


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: MIPS support for libjava (version 2).


David Daney writes:
 > 
 > 
 > Andrew Haley wrote:
 > >
 > >I'm very unhappy about the idea of accepting this if it's untested.
 > >  
 > >
 > I don't blame you.
 > 
 > O.K. O.K. dejagnu and testsuite here I come...

A free dejagnu clue.

Andrew.


Set the environment var
DEJAGNU=/home/aph/site.exp

Now, here's a dejgnu configuration that uses telnet and ftp to
transfer files and run on the target.  This is PPC Linux, and the
target system is called peach.


site.exp:
---------------------------------------------------------------------------------------------

lappend boards_dir "/home/aph/boards"

#
# Determine target machines for all known targets
#

#
# If we're testing GCC, G++ or GDB, then we want to run on all the
# available targets. Otherwise, just test the first one.
#

verbose "Global Config File: target_triplet is $target_triplet" 2
global target_list

# Note the following list is alpha sorted in order to help maintain it.
case "$target_triplet" in {
    
    { "powerpc*-linux-gnu*" } {
	set target_list { "peach" }
    }

    default {
	set target_list { "unix" }
    }
}
---------------------------------------------------------------------------------------------


boards/peach.exp:
---------------------------------------------------------------------------------------------
load_base_board_description "unix";

# The generic type of board.
set board_info($board,generic_name) "unix"

# We use a program to reboot this thing.
# set_board_info reboot_prog "a:\\nttools\\doreboot"
# set_board_info reboot_delay 15

# The name used to connect to this machine.
set board_info($board,hostname) "peach.cambridge.redhat.com"
# The connection mechanism.
set board_info($board,connect) "telnet"
# The mechanism used to upload/download files.
set board_info($board,file_transfer) "ftp"
# The username used to login.
set board_info($board,username) "aph"
# And the password.
set board_info($board,password) ""
# The ftp username/password (if none is specified, then we assume that
# a username or password isn't needed).
set board_info($board,ftp_username) $board_info($board,username)
set board_info($board,ftp_password) $board_info($board,password)
set board_info($board,ftp_directory) "/tmp"

set prefix_dir "/tmp"


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