exactness: removed force-flag on file removal

Signed-off-by: Aharon Hillel <a.hillel@partner.samsung.com>

SVN revision: 66249
devs/tasn/jenkins
Aharon Hillel 11 years ago committed by Tom Hacohen
parent 6b7bf9ee9f
commit 059b2933cf
  1. 4
      src/scripts/write.sh

@ -190,13 +190,13 @@ local files_list=
if [ -z "\$*" ]
# No test names given, compare all
then
rm -f "\$_dest_dir"/comp_* &> /dev/null
rm "\$_dest_dir"/comp_* &> /dev/null
files_list=( \`ls "\$_dest_dir"/test_*.png\` )
process_compare "\${files_list[@]}"
else
for test_name in \$*
do
rm -f "\$_dest_dir"/comp_"\$test_name"_[0-9]*.png &> /dev/null
rm "\$_dest_dir"/comp_"\$test_name"_[0-9]*.png &> /dev/null
files_list=( \`ls "\$_dest_dir"/"\$test_name"_[0-9]*.png\` )
process_compare "\${files_list[@]}"
done

Loading…
Cancel
Save