view libtests/clean.sh @ 391:69f8bf88c0ff api-inversion

close the database returned from audiodb_create() inside audioDB::create Now valgrind --leak-check=full agrees that we don't leak memory on create in the no-error path! Yay!!
author mas01cr
date Mon, 24 Nov 2008 12:50:38 +0000
parents cd63493c32a9
children
line wrap: on
line source
#! /bin/sh

for file in [0-9][0-9][0-9][0-9]*; do
  if [ -d ${file} ]; then
    echo Cleaning ${file}
    rm -f ${file}/test*
    (cd ${file} && make -f ../libtest.mk clean >/dev/null 2>&1)
    if [ -f ${file}/clean.sh ]; then
      (cd ${file} && sh ./clean.sh)
    fi
  fi
done