The socket support on Gnatdroid was broken, and it had to be fixed at lang/gcc-aux. Until now, the dejagnu testsuite did not work on remote targets. To fix this, support files had to be installed at ${LOCALBASE}/share/dejagnu. Dejagnu was not made a run dependency, conditional or otherwise. The test targets for gnatdroid are really maintainer targets. Running the gnat.dg testsuite confirms that everything works in the cross-compiler except stack checking (there's no support in gcc for this just yet).
14 lines
347 B
Text
14 lines
347 B
Text
# gnatdroid testsuite running over ssh.
|
|
|
|
load_generic_config "android"
|
|
|
|
process_multilib_options ""
|
|
|
|
# The default compiler for this target.
|
|
set_board_info compiler "[find_gcc]"
|
|
|
|
set_board_info rsh_prog /usr/bin/ssh
|
|
set_board_info rcp_prog /usr/bin/scp
|
|
set_board_info protocol standard
|
|
set_board_info hostname tablet
|
|
set_board_info username root
|