benchmarks/polygons: add make check
authorJean Privat <jean@pryen.org>
Tue, 15 Sep 2015 13:20:44 +0000 (09:20 -0400)
committerJean Privat <jean@pryen.org>
Tue, 15 Sep 2015 23:55:52 +0000 (19:55 -0400)
Signed-off-by: Jean Privat <jean@pryen.org>

benchmarks/polygons/Makefile
benchmarks/polygons/nit/Makefile

index e6bd303..f7d0763 100644 (file)
@@ -1,3 +1,6 @@
 all:
        $(MAKE) all -C nit
        $(MAKE) all -C java
+
+check:
+       $(MAKE) check -C nit
index e327368..71dffea 100644 (file)
@@ -17,3 +17,11 @@ convexity_b:
 
 contain_b:
        ./bench_polygon.sh contain
+
+check:
+       ./bench_polygon.sh -p 100 add_vertex
+       ./bench_polygon.sh -p 100 sort_vertices
+       ./bench_polygon.sh -p 100 intersection
+       ./bench_polygon.sh -p 100 convex_hull
+       ./bench_polygon.sh -p 100 convexity
+       ./bench_polygon.sh -p 100 contain