| 1 |
#! /bin/bash |
| 2 |
|
| 3 |
# Used by 'test-compile.sh'. This file contains information how to execute a command |
| 4 |
# on various different architectures/VMs. |
| 5 |
|
| 6 |
# ENVIRONEMT VARIABLES |
| 7 |
# |
| 8 |
# _REXEC_CMD= Command to execute remote command. |
| 9 |
# _PREFIX= Added to ./configure --prefix= |
| 10 |
# _PRE_EXEC= Command to execute before compile/test run |
| 11 |
# _COMPILE_EXEC= Command to compile. [see OpenWRT] |
| 12 |
# _RUN_EXEC= Command to run all tests. [see OpenWRT] |
| 13 |
# _DST= Destination directory. [default is ~/] |
| 14 |
# _ENV= Extra environment variables to set |
| 15 |
|
| 16 |
[[ $(basename "$0") == "compile.conf" ]] && { echo "This is an include file. Use test-compile.sh"; exit 1; } |
| 17 |
|
| 18 |
# Set DEFAULT values |
| 19 |
VMGUEST_USERHOST="[email protected]" |
| 20 |
|
| 21 |
osx_REXEC_CMD="ssh -p 22 -t ${VMGUEST_USERHOST}" |
| 22 |
osx_PREFIX='$HOME/usr' |
| 23 |
|
| 24 |
sid_REXEC_CMD="ssh -p 22107 -t ${VMGUEST_USERHOST}" |