1# Copyright (C) 2007-2009 Andrew Sutton
2#
3# Distributed under the Boost Software License, Version 1.0. (See accompanying
4# file LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt)
5
6import ../../config/checks/config : requires ;
7import modules ;
8import path ;
9
10path-constant TEST_DIR : . ;
11
12run accum-compile-times.cpp : $(TEST_DIR)/makefile-dependencies.dat $(TEST_DIR)/makefile-target-names.dat $(TEST_DIR)/target-compile-costs.dat ;
13exe actor_clustering : actor_clustering.cpp ;
14run adj_list_ra_edgelist.cpp ;
15run adjacency_list.cpp ;
16run adjacency_list_io.cpp ;
17run adjacency_matrix.cpp ;
18run astar-cities.cpp ;
19run astar_maze.cpp ;
20run bellman-example.cpp ;
21run bellman-ford-internet.cpp ;
22run bfs.cpp ;
23run bfs_neighbor.cpp ;
24run bfs-example.cpp ;
25run bfs-example2.cpp ;
26run bfs-name-printer.cpp ;
27run biconnected_components.cpp ;
28run bipartite_example.cpp ;
29run boost_web_graph.cpp : $(TEST_DIR)/boost_web.dat ;
30exe boykov_kolmogorov-eg : boykov_kolmogorov-eg.cpp ;
31exe bron_kerbosch_clique_number : bron_kerbosch_clique_number.cpp ;
32exe bron_kerbosch_print_cliques : bron_kerbosch_print_cliques.cpp ;
33run bucket_sorter.cpp ;
34run canonical_ordering.cpp ;
35run city_visitor.cpp ;
36exe closeness_centrality : closeness_centrality.cpp ;
37exe clustering_coefficient : clustering_coefficient.cpp ;
38run components_on_edgelist.cpp ;
39run connected_components.cpp ;
40run connected-components.cpp ;
41run container_gen.cpp ;
42run copy-example.cpp ;
43run csr-example.cpp ;
44run cuthill_mckee_ordering.cpp ;
45run cycle_canceling_example.cpp ;
46run cycle_ratio_example.cpp ;
47run cycle-file-dep.cpp : $(TEST_DIR)/makefile-dependencies.dat $(TEST_DIR)/makefile-target-names.dat ;
48run cycle-file-dep2.cpp : $(TEST_DIR)/makefile-dependencies.dat $(TEST_DIR)/makefile-target-names.dat ;
49run dag_shortest_paths.cpp ;
50run dave.cpp ;
51run default-constructor.cpp : $(TEST_DIR)/makefile-dependencies.dat ;
52run default-constructor2.cpp : $(TEST_DIR)/makefile-dependencies.dat ;
53exe degree_centrality : degree_centrality.cpp ;
54run dfs.cpp ;
55run dfs_parenthesis.cpp ;
56run dfs-example.cpp ;
57run dijkstra-example.cpp ;
58run dijkstra-example-listS.cpp ;
59run dijkstra-no-color-map-example.cpp ;
60run directed_graph.cpp ;
61exe eccentricity : eccentricity.cpp ;
62run edge_basics.cpp ;
63run edge_coloring.cpp ;
64run edge_iterator_constructor.cpp : $(TEST_DIR)/edge_iterator_constructor.dat ;
65run edge_property.cpp ;
66run edge-function.cpp : $(TEST_DIR)/makefile-dependencies.dat $(TEST_DIR)/makefile-target-names.dat ;
67run edge-iter-constructor.cpp : $(TEST_DIR)/makefile-dependencies.dat ;
68exe edmonds-karp-eg : edmonds-karp-eg.cpp ;
69run exterior_properties.cpp ;
70run exterior_property_map.cpp ;
71run family_tree.cpp ;
72run fibonacci_heap.cpp ;
73run file_dependencies.cpp ;
74run filtered_graph.cpp ;
75run filtered_graph_edge_range.cpp ;
76run filtered_vec_as_graph.cpp ;
77run filtered-copy-example.cpp ;
78exe fr_layout : fr_layout.cpp ;
79run gerdemann.cpp ;
80run graph.cpp ;
81run graph_as_tree.cpp ;
82run graph_property.cpp ;
83run graph-assoc-types.cpp ;
84run graph-property-iter-eg.cpp ;
85run graph-thingie.cpp ../build//boost_graph ;
86run graphviz.cpp ../build//boost_graph : $(TEST_DIR)/graphviz_example.dot ;
87run grid_graph_example.cpp ;
88run grid_graph_properties.cpp ;
89exe hawick_circuits : hawick_circuits.cpp ;
90run implicit_graph.cpp ;
91run in_edges.cpp ;
92exe inclusive_mean_geodesic : inclusive_mean_geodesic.cpp ;
93run incremental_components.cpp ;
94run incremental-components-eg.cpp ;
95exe influence_prestige : influence_prestige.cpp ;
96run interior_pmap_bundled.cpp ;
97run interior_property_map.cpp ;
98run isomorphism.cpp ;
99run iteration_macros.cpp ;
100run iterator-property-map-eg.cpp ;
101run johnson-eg.cpp ;
102run kevin-bacon.cpp : $(TEST_DIR)/kevin-bacon.dat ;
103run king_ordering.cpp ;
104run knights_tour.cpp ;
105run kruskal-example.cpp ;
106run kuratowski_subgraph.cpp ;
107run make_biconnected_planar.cpp ;
108run make_connected.cpp ;
109run make_maximal_planar.cpp ;
110run matching_example.cpp ;
111exe max_flow : max_flow.cpp ;
112run mcgregor_subgraphs_example.cpp ;
113exe mean_geodesic : mean_geodesic.cpp ;
114exe minimum_degree_ordering : minimum_degree_ordering.cpp ;
115run modify_graph.cpp ;
116run neighbor_bfs.cpp ;
117run ospf-example.cpp ../build//boost_graph : $(TEST_DIR)/figs/ospf-graph.dot $(TEST_DIR)/figs/ospf-sptree.dot $(TEST_DIR)/routing-table.dat ;
118run parallel-compile-time.cpp : $(TEST_DIR)/makefile-dependencies.dat $(TEST_DIR)/makefile-target-names.dat $(TEST_DIR)/target-compile-costs.dat ;
119run planar_face_traversal.cpp ;
120run prim-example.cpp ;
121run print-adjacent-vertices.cpp : $(TEST_DIR)/makefile-dependencies.dat $(TEST_DIR)/makefile-target-names.dat ;
122run print-edges.cpp : $(TEST_DIR)/makefile-dependencies.dat $(TEST_DIR)/makefile-target-names.dat ;
123run print-in-edges.cpp : $(TEST_DIR)/makefile-dependencies.dat $(TEST_DIR)/makefile-target-names.dat ;
124run print-out-edges.cpp : $(TEST_DIR)/makefile-dependencies.dat $(TEST_DIR)/makefile-target-names.dat ;
125exe property_iterator : property_iterator.cpp ;
126run property-map-traits-eg.cpp ;
127exe push-relable : push-relabel-eg.cpp ;
128run put-get-helper-eg.cpp ;
129run quick_tour.cpp ;
130run quick-tour.cpp ;
131run r_c_shortest_paths_example.cpp ;
132run read_graphviz.cpp ../build//boost_graph ;
133exe read_write_dimacs : read_write_dimacs-eg.cpp ;
134run remove_edge_if_bidir.cpp ;
135run remove_edge_if_dir.cpp ;
136run remove_edge_if_undir.cpp ;
137run reverse_graph.cpp ;
138exe scaled_closeness_centrality : scaled_closeness_centrality.cpp ;
139run simple_planarity_test.cpp ;
140run sloan_ordering.cpp ;
141run stoer_wagner.cpp ;
142run straight_line_drawing.cpp ;
143run strong-components.cpp ;
144run subgraph.cpp ;
145run subgraph_properties.cpp ;
146run successive_shortest_path_nonnegative_weights_example.cpp ;
147exe tiernan_girth_circumference : tiernan_girth_circumference.cpp ;
148exe tiernan_print_cycles : tiernan_print_cycles.cpp ;
149run topo_sort.cpp ;
150run topo-sort1.cpp ;
151run topo-sort2.cpp ;
152run topo-sort-file-dep.cpp : $(TEST_DIR)/makefile-dependencies.dat $(TEST_DIR)/makefile-target-names.dat ;
153run topo-sort-file-dep2.cpp : $(TEST_DIR)/makefile-dependencies.dat $(TEST_DIR)/makefile-target-names.dat ;
154run transitive_closure.cpp ;
155run transpose-example.cpp ;
156run two_graphs_common_spanning_trees.cpp ;
157run undirected_adjacency_list.cpp ;
158run undirected_dfs.cpp ;
159run undirected_graph.cpp ;
160run vector_as_graph.cpp ;
161run vertex_basics.cpp ;
162run vertex-name-property.cpp : $(TEST_DIR)/makefile-dependencies.dat $(TEST_DIR)/makefile-target-names.dat ;
163run vf2_sub_graph_iso_example.cpp ;
164run vf2_sub_graph_iso_multi_example.cpp ;
165run visitor.cpp ;
166run write_graphviz.cpp ;
167
168#
169# These require LEDA:
170#
171run leda-graph-eg.cpp ;
172run leda-concept-check.cpp ;
173run topo-sort-with-leda.cpp ;
174explicit leda-graph-eg ;
175explicit leda-concept-check ;
176explicit topo-sort-with-leda ;
177
178#
179# These require standford-graph:
180#
181run miles_span.cpp ;
182explicit miles_span ;
183run roget_components.cpp ;
184explicit roget_components ;
185run topo-sort-with-sgb.cpp ;
186explicit topo-sort-with-sgb ;
187run girth.cpp ;
188explicit girth ;
189
190#
191# This example appears incorrect:
192#
193#run min_max_paths.cpp ;
194
195#
196# These all use an interface that has been removed:
197#
198#run kruskal-telephone.cpp ;
199#run loops_dfs.cpp ;
200#run scc.cpp ;
201#run reachable-loop-head.cpp ;
202#run cc-internet.cpp ;
203#run reachable-loop-tail.cpp ;
204#run prim-telephone.cpp ;
205#run dfs-parenthesis.cpp ;
206#run edge_connectivity.cpp ;
207#run edge-connectivity.cpp ;
208#
209# These compile, but still use the old graphviz interface and die and runtime:
210# run strong_components.cpp ../build//boost_graph ;
211
212
213#
214# Use API that's not defined for this graph type, clear bug?
215#
216# run labeled_graph.cpp ;
217#
218# This one crashes at runtime:
219#
220# run kevin-bacon2.cpp /boost/serialization//boost_serialization : $(TEST_DIR)/kevin-bacon.dat ;
221# Crashes with msvc-12.0:
222# run last-mod-time.cpp : $(TEST_DIR)/makefile-dependencies.dat ;
223#
224# This one dereferences a null-iterator:
225#
226# run ordered_out_edges.cpp ;
227