view tests/clean.sh @ 495:c291e9201a3c api-inversion

libtests cleanups Delete unused functions from test_utils.lib.h. maketestfile()'s int* argument should be an int; fix that and alter the sources accordingly. Add -Werror to the Makefile for test files, now that they all do compile without warnings.
author mas01cr
date Sat, 10 Jan 2009 15:33:21 +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