view tests/clean.sh @ 345:30384a82983a

Quieten newer compilers with MORE CONST CORRECTNESS. (except, haha, gengetopt doesn't generate const-correct function prototypes. Happy happy joy joy. Put in an explicit cast when calling cmdline_parser().) Adjust gengetopt.in and Makefile to support both old (2.19) and new (2.22) versions of gengetopt. This only really means that we've lost -H as a help switch; --help still works.
author mas01cr
date Wed, 08 Oct 2008 11:06:11 +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