Lines Matching refs:machine
68 # tested_(all|<arch>)_(standard|runtime)_(standalone|java)_(<machine>|<class>)
73 # copied_to_ftp_<machine>
155 Where the ROTD directory appears on the local machine,
187 # Read site-specific parameters, like directory and machine names
527 # waiting for you to confirm logging in to a machine it hasn't seen before.
531 # Usage: remote_commands <machine> <directory> <commands> [<failure count>]
621 # Checks that an appropriate machine has been specified for building each
626 eval machine=\"'$MACHINE_'$arch\"
627 if [ "$machine" = "" ] ; then
628 echo "*** Don't know which machine to use for building $arch version."
636 # Checks that appropriate machine(s) have been specified for testing each
637 # architecture, and for aliases, chooses one machine from each class.
643 echo "*** Don't know which machine(s) to use for testing $arch version."
653 for machine in $choices ; do
654 if [ "`rsh $machine cplexers -count`" -eq 0 ] ; then
659 machine=$m
661 # Record the "class" of the machine (which could be just the
662 # name of the machine itself).
663 eval 'CLASS_'$machine=\"$m\"
664 real_machines="$real_machines $machine"
716 eval machine='$MACHINE_'$arch
735 remote_commands "$machine" "$PREFIX/$BUILD_DIR" "
736 echo \"Building $arch version on $machine.\" \
999 # Now run the bits that need to be done on the architecture machine.
1008 eval machine=\"'$MACHINE_'$arch\"
1010 echo "Installing for machine $machine and arch $arch " | tee -a $LOCAL_INSTALL_LOGFILE
1013 remote_commands "$machine" "$PREFIX/$install_dir" "
1063 # TESTS_<machine>_<phase> List of test numbers to run on given machine
1067 # TEST_RESULT_<type>_<package>_<embedding>_<machine>
1096 for machine in $machines ; do
1097 member "$machine" "$TEST_MACHINES" \
1098 || TEST_MACHINES="$TEST_MACHINES $machine"
1099 eval ARCH_$machine=$arch
1104 ! supports_java $machine $arch
1106 echo "Java not supported for $machine/$arch - skipping jeclipse tests."
1114 eval TEST_${n}_machine=\"$machine\"
1118 eval TESTS_${machine}_${phase}=\"'$TESTS_'$machine'_'$phase $n\"
1132 eval machine=\"'${TEST_'$1'_machine}'\"
1136 eval class=\"'${CLASS_'$machine'}'\"
1137 test_dir="$ROTD_SUBDIR/$install_name/test.$package_type.$test_embedding.$machine"
1139 test_logfile="$LOG_DIR/log.$install_name.test.$package_type.$test_embedding.$machine"
1152 if ! supports_java $machine $arch ; then
1172 for machine in $TEST_MACHINES ; do
1173 echo $machine
1241 # to a remote (cygwin-)rsync on a windows machine.
1248 # Copy relevant parts (needed for tests) to a remote machine
1249 # In: $machine $arch
1252 rsync_out() { # ($machine, $arch -> $is_remote_machine, $remote_prefix)
1253 eval rsync_machine_name=\"'$MACHINE_NAME_'$machine\"
1255 rsync_machine_name="$machine"
1257 eval is_remote_machine=\"'$REMOTE_MACHINE_'$machine\"
1260 eval remote_prefix=\"'$ROTD_DIR_'$machine\"
1267 --include 'test.*.$machine/' \
1272 remote_commands "$machine" "$remote_prefix/$ROTD_SUBDIR" "
1285 # Copy things back from remote machine after tests have been run
1286 # In: $machine
1288 rsync_in() { # ($machine)
1289 eval rsync_machine_name=\"'$MACHINE_NAME_'$machine\"
1291 rsync_machine_name="$machine"
1293 eval is_remote_machine=\"'$REMOTE_MACHINE_'$machine\"
1296 eval remote_prefix=\"'$ROTD_DIR_'$machine\"
1319 rsync_out || return 1 # ($machine, $arch -> $remote_prefix)
1323 remote_commands "$machine" "$remote_prefix/$test_dir" "
1336 # This destroys the registry settings on the local machine, but
1367 rsync_in # ($machine)
1372 # Run the tests on a remote Unix machine.
1374 rsync_out # ($machine, $arch -> $is_remote_machine, $remote_prefix)
1377 remote_commands "$machine" "$remote_prefix" "
1387 remote_commands "$machine" "$remote_prefix" "
1390 echo \"\$machine: $test_dir not present, waiting ...\"
1402 rsync_in # ($machine)
1424 echo "Running test $test_num ($install_type/$package_type/$test_embedding) on $machine." | tee -a $LOCAL_TEST_LOGFILE
1434 echo TEST_RESULT_${install_type}_${package_type}_${test_embedding}_${machine}=$run_test_result
1440 echo "Test $test_num ($install_type/$package_type/$test_embedding) on $machine successful." | tee -a $LOCAL_TEST_LOGFILE
1442 echo "Test $test_num ($install_type/$package_type/$test_embedding) on $machine failed." | tee -a $LOCAL_TEST_LOGFILE
1448 # Run all the tests on the given machine.
1449 test_machine() { # machine, phase
1456 echo "Testing machine $1 (phase $2) completed: success."
1458 echo "Testing machine $1 (phase $2) completed: failure."
1481 # Fork off a process for each machine.
1483 for machine in $TEST_MACHINES ; do
1484 test_machine $machine $phase &
1501 || eval TEST_RESULT_${install_type}_${package_type}_${test_embedding}_${machine}='?'
1503 if eval [ \"'$TEST_RESULT_'${install_type}_${package_type}_${test_embedding}_${machine}\" != 0 ] ; then
1525 for machine in $TEST_MACHINES ; do
1526 eval arch=\"'${ARCH_'$machine'}'\"
1527 printf "%11s %12s " $machine $arch
1532 eval res='$TEST_RESULT_'${install_type}_${package_type}_${test_embedding}_${machine}
1549 if eval [ \"'$TEST_RESULT_'${install_type}_${package_type}_${test_embedding}_${machine}\" != 0 ] ; then
1579 # Choose a working machine and installation combination for the ECLiPSe just
1583 # don't pick a Windows machine because the paths would be wrong.
1588 eval machine=\"'$MACHINE_'$arch\"
1589 remote_commands "$machine" "$PREFIX/$BUILD_DIR" "
2121 ECLIPSE_VERSION=`remote_commands "$machine" "$PREFIX/$ROTD_SUBDIR" "
2127 BUILD_NUMBER=`remote_commands "$machine" "$PREFIX/$ROTD_SUBDIR" "