[Minor] [minor commit] r668 - trunk/gc/tests

jimb at red-bean.com jimb at red-bean.com
Tue Oct 24 05:25:20 CDT 2006


Author: jimb
Date: Tue Oct 24 05:25:19 2006
New Revision: 668

Modified:
   trunk/gc/tests/api-functions

Log:
Include functions defined in <minor/hash-tables.h> in the set of functions 
we want to be tested.


Modified: trunk/gc/tests/api-functions
==============================================================================
--- trunk/gc/tests/api-functions	(original)
+++ trunk/gc/tests/api-functions	Tue Oct 24 05:25:19 2006
@@ -2,7 +2,11 @@
 
 srctop=$1
 
-gcc -I $srctop/include -E $srctop/include/minor/minor.h \
-| sed '1,/mn_call/d' \
-| egrep 'mn_[a-zA-Z0-9_]+[    ]*\(' \
-| sed 's/^.*\(mn_[a-zA-Z0-9_][a-zA-Z0-9_]*\)[     ]*(.*$/\1/'
+(
+    for h in minor.h hash-tables.h; do
+        gcc -I $srctop/include -E $srctop/include/minor/$h
+    done
+) \
+| sed -n \
+  -e '1,/mn_call/d' \
+  -e 's/^.*\(mn_[a-zA-Z0-9_][a-zA-Z0-9_]*\)[     ]*(.*$/\1/p'



More information about the Minor mailing list