tools/llvm: Do not build with symbols
[minix3.git] / external / bsd / byacc / dist / test / run_lint.sh
blob8742b1c3d6bd27e8b9315dc1826d82c0c33c42cb
1 #!/bin/sh
2 # Id: run_lint.sh,v 1.1 2010/06/08 09:00:58 tom Exp
3 # vi:ts=4 sw=4:
5 # run lint on each of the ".c" files in the test directory
7 if test $# = 1
8 then
9 PROG_DIR=`pwd`
10 TEST_DIR=$1
11 else
12 PROG_DIR=..
13 TEST_DIR=.
16 echo '** '`date`
17 for i in ${TEST_DIR}/*.c
19 make -f $PROG_DIR/makefile lint C_FILES=$i srcdir=$PROG_DIR
20 done