view libtests/clean.sh @ 470:c26c5b7ef0d2 api-inversion

Implement libtests/0037 using audiodb_query_spec() It's a bit wordy; there's also the struct / pointer issue in audiodb_query_spec_t to think through. But it does work.
author mas01cr
date Wed, 31 Dec 2008 16:52:34 +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