view libtests/clean.sh @ 488:f4dc8e47ee37 api-inversion

Remove dump_query() function. It seems to have been used for printf debugging of test files and never removed. (Debuggers aren't great, but they are better than hand-maintained printing routines for this kind of thing; in particular, gdb will do this for you rather better than dump_query() did.)
author mas01cr
date Sat, 10 Jan 2009 15:32:49 +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