Revision: 56958
          http://sourceforge.net/p/brlcad/code/56958
Author:   brlcad
Date:     2013-08-19 18:33:16 +0000 (Mon, 19 Aug 2013)
Log Message:
-----------
stub in initial support for exempting files that intentionally should not be 
including common.h

Modified Paths:
--------------
    brlcad/trunk/regress/repository.sh

Modified: brlcad/trunk/regress/repository.sh
===================================================================
--- brlcad/trunk/regress/repository.sh  2013-08-19 17:02:15 UTC (rev 56957)
+++ brlcad/trunk/regress/repository.sh  2013-08-19 18:33:16 UTC (rev 56958)
@@ -88,8 +88,15 @@
 # small performance savings.
 FILES="`grep -I -e '#[[:space:]]*include' $SRCFILES $INCFILES | grep -E 
'common.h|<' | sed 's/:.*//g' | sort | uniq`"
 
+EXEMPT="bin.h bio.h config_win.h pstdint.h"
+
 FOUND=
 for file in $FILES ; do
+    # some files are exempt
+    basefile="`basename $file`"
+    if test ! "x`echo $EXEMPT | grep $basefile`" = "x" ; then
+       continue
+    fi
 
     # test files that include common.h 
     if test ! "x`grep -I -e '#[[:space:]]*include' $file | grep 
'\"common.h\"'`" = "x" ; then

This was sent by the SourceForge.net collaborative development platform, the 
world's largest Open Source development site.


------------------------------------------------------------------------------
Introducing Performance Central, a new site from SourceForge and 
AppDynamics. Performance Central is your source for news, insights, 
analysis and resources for efficient Application Performance Management. 
Visit us today!
http://pubads.g.doubleclick.net/gampad/clk?id=48897511&iu=/4140/ostg.clktrk
_______________________________________________
BRL-CAD Source Commits mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/brlcad-commits

Reply via email to