run_lint.sh revision 235723
1112802Smdodd#!/bin/sh 2112802Smdodd# $Id: run_lint.sh,v 1.1 2010/06/08 09:00:58 tom Exp $ 3112802Smdodd# vi:ts=4 sw=4: 4112802Smdodd 5112802Smdodd# run lint on each of the ".c" files in the test directory 6112802Smdodd 7112802Smdoddif test $# = 1 8112802Smdoddthen 9112802Smdodd PROG_DIR=`pwd` 10129740Simp TEST_DIR=$1 11112802Smdoddelse 12112802Smdodd PROG_DIR=.. 13 TEST_DIR=. 14fi 15 16echo '** '`date` 17for i in ${TEST_DIR}/*.c 18do 19 make -f $PROG_DIR/makefile lint C_FILES=$i srcdir=$PROG_DIR 20done 21