urchin/cross-os-tests/.run

14 lines
372 B
Plaintext
Raw Normal View History

2016-04-06 23:14:25 +00:00
params="$(basename "${0}")"
2016-04-06 23:18:38 +00:00
hostname="$(echo "${params}" | cut -d\ -f1)"
2016-04-06 23:14:25 +00:00
if echo "${params}" | grep -q \ ; then
2016-04-06 23:21:04 +00:00
flags="$(echo "${params}" | cut -d\ -f2-)"
2016-04-06 23:14:25 +00:00
fi
urchin_dir=.urchin-cross-shell-test
2016-04-04 20:54:22 +00:00
2016-04-06 23:18:38 +00:00
rsync --archive -e "ssh ${flags}" \
../urchin ../tests "${hostname}":"${urchin_dir}"
ssh "${hostname}" ${flags} \
2016-04-06 23:14:25 +00:00
"cd ${urchin_dir} && ./urchin --run-in-series tests"