Skip to content
Snippets Groups Projects
Commit 5bdc4dc4 authored by Holcomb, Andrew's avatar Holcomb, Andrew
Browse files

Add script to automate rebaselines

Pass path to build/install/samtry as argument to script
Only try to copy what exists
parent de7cde86
No related branches found
No related tags found
No related merge requests found
# pass in path to your ${SAMMY_BUILD}/install/samtry location as argument to script
NEW_RESULTS_DIR=$1
# carry out rebase for all tests, copy each file in source samtry back
for dir in tr*
do
# suppress output of pushd/popd - remove '> /dev/null' to diagnose copy issues
pushd ${dir}/answers > /dev/null
for file in *
do
FILE=/etc/resolv.conf
if test -f "${NEW_RESULTS_DIR}/${dir}/results/${file}"; then
cp ${NEW_RESULTS_DIR}/${dir}/results/${file} .
fi
done
popd > /dev/null
done
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment