repo.or.cz
/
minix3.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
blame
|
history
|
raw
|
HEAD
tools/llvm: Do not build with symbols
[minix3.git]
/
external
/
bsd
/
byacc
/
dist
/
test
/
run_lint.sh
blob
8742b1c3d6bd27e8b9315dc1826d82c0c33c42cb
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:
4
5
# run lint on each of the ".c" files in the test directory
6
7
if
test
$#
=
1
8
then
9
PROG_DIR
=
`pwd`
10
TEST_DIR
=
$1
11
else
12
PROG_DIR
=
..
13
TEST_DIR
=
.
14
fi
15
16
echo
'** '
`date`
17
for
i
in
${TEST_DIR}
/*
.c
18
do
19
make
-f
$PROG_DIR
/
makefile lint C_FILES
=
$i
srcdir
=
$PROG_DIR
20
done