view tests/clean.sh @ 422:a7d61291fbda api-inversion

Baby steps... Decorate accumulator.h with a preprocessor #define and test; then create appropriate accumulators in audioDB::query() and delete them if necessary in audioDB::cleanup().
author mas01cr
date Wed, 24 Dec 2008 10:55:03 +0000
parents 1853beeb0521
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*
    if [ -f ${file}/clean.sh ]; then
      (cd ${file} && sh ./clean.sh)
    fi
  fi
done