1 | # Define SGB (stanford graph base top level directory) and |
---|
2 | # LEDA (also top level directory) at the command line of jam using -s |
---|
3 | |
---|
4 | |
---|
5 | subproject libs/graph/test ; |
---|
6 | |
---|
7 | import testing ; |
---|
8 | |
---|
9 | test-suite graph : |
---|
10 | |
---|
11 | [ run transitive_closure_test.cpp : : : <sysinclude>$(BOOST_ROOT) ] |
---|
12 | |
---|
13 | [ compile adj_list_cc.cpp : <sysinclude>$(BOOST_ROOT) ] |
---|
14 | |
---|
15 | # adj_list_test needs some work -JGS |
---|
16 | # unit-test adj_list_test : adj_list_test.cpp : <sysinclude>$(BOOST_ROOT) ; |
---|
17 | [ compile adj_matrix_cc.cpp : <sysinclude>$(BOOST_ROOT) ] |
---|
18 | |
---|
19 | [ run bfs.cpp : : : <sysinclude>$(BOOST_ROOT) ] |
---|
20 | |
---|
21 | [ compile bfs_cc.cpp : <sysinclude>$(BOOST_ROOT) ] |
---|
22 | |
---|
23 | [ run bellman-test.cpp : <sysinclude>$(BOOST_ROOT ] |
---|
24 | |
---|
25 | [ run betweenness_centrality_test.cpp ] |
---|
26 | |
---|
27 | [ run dag_longest_paths.cpp : : : <sysinclude>$(BOOST_ROOT) ] |
---|
28 | |
---|
29 | [ run dfs.cpp : : : <sysinclude>$(BOOST_ROOT) ] |
---|
30 | |
---|
31 | [ compile dfs_cc.cpp : <sysinclude>$(BOOST_ROOT) ] |
---|
32 | |
---|
33 | [ compile dijkstra_cc.cpp : <sysinclude>$(BOOST_ROOT) ] |
---|
34 | |
---|
35 | [ run dijkstra_heap_performance.cpp : 10000 : : <sysinclude>$(BOOST_ROOT) ] |
---|
36 | |
---|
37 | [ run relaxed_heap_test.cpp : 5000 15000 : : <sysinclude>$(BOOST_ROOT) ] |
---|
38 | [ compile edge_list_cc.cpp : <sysinclude>$(BOOST_ROOT) ] |
---|
39 | |
---|
40 | [ compile filtered_graph_cc.cpp : <sysinclude>$(BOOST_ROOT) ] |
---|
41 | |
---|
42 | [ run graph.cpp : : : <sysinclude>$(BOOST_ROOT) ] |
---|
43 | |
---|
44 | [ compile graph_concepts.cpp : <sysinclude>$(BOOST_ROOT) ] |
---|
45 | |
---|
46 | [ run graphviz_test.cpp |
---|
47 | <lib>../../test/build/boost_test_exec_monitor |
---|
48 | <lib>../build/bgl-viz |
---|
49 | : : : <sysinclude>$(BOOST_ROOT) ] |
---|
50 | |
---|
51 | [ run gursoy_atun_layout_test.cpp : : : <sysinclude>$(BOOST_ROOT) ] |
---|
52 | |
---|
53 | [ run layout_test.cpp : : : <test-info>always_show_run_output ] |
---|
54 | |
---|
55 | [ compile reverse_graph_cc.cpp : <sysinclude>$(BOOST_ROOT) ] |
---|
56 | |
---|
57 | [ run sequential_vertex_coloring.cpp : : : <sysinclude>$(BOOST_ROOT) ] |
---|
58 | |
---|
59 | [ run subgraph.cpp : : : <sysinclude>$(BOOST_ROOT) ] |
---|
60 | |
---|
61 | [ run isomorphism.cpp : : : <sysinclude>$(BOOST_ROOT) ] |
---|
62 | |
---|
63 | [ run adjacency_matrix_test.cpp : : : <sysinclude>$(BOOST_ROOT) ] |
---|
64 | |
---|
65 | [ compile vector_graph_cc.cpp : <sysinclude>$(BOOST_ROOT) ] |
---|
66 | |
---|
67 | [ compile copy.cpp : <sysinclude>$(BOOST_ROOT) ] |
---|
68 | |
---|
69 | [ compile property_iter.cpp : <sysinclude>$(BOOST_ROOT) ] |
---|
70 | |
---|
71 | [ run bundled_properties.cpp ] |
---|
72 | |
---|
73 | [ run floyd_warshall_test.cpp ] |
---|
74 | |
---|
75 | [ run astar_search_test.cpp ] |
---|
76 | |
---|
77 | [ run biconnected_components_test.cpp ] |
---|
78 | |
---|
79 | [ run cuthill_mckee_ordering.cpp ] |
---|
80 | |
---|
81 | [ run king_ordering.cpp ] |
---|
82 | ; |
---|
83 | |
---|
84 | # Run SDB tests only when -sSDB= is set. |
---|
85 | if $(SDB) != "" |
---|
86 | { |
---|
87 | local SDB_DEPENDCIES = |
---|
88 | <include>$(SGB) <library-file>$(SGB)/libgb.a ; |
---|
89 | |
---|
90 | compile stanford_graph_cc.cpp : <sysinclude>$(BOOST_ROOT) |
---|
91 | $(SDB_DEPENDCIES) ; |
---|
92 | } |
---|
93 | |
---|
94 | # Run LEDA tests only when -sLEDA= is set. |
---|
95 | if $(LEDA) != "" |
---|
96 | { |
---|
97 | local LEDA_DEPENDENCIES = |
---|
98 | <include>$(LEDA)/incl |
---|
99 | <library-file>$(LEDA)/libG.a |
---|
100 | ; |
---|
101 | |
---|
102 | compile leda_graph_cc.cpp : <sysinclude>$(BOOST_ROOT) |
---|
103 | $(LEDA_DEPENDENCIES) ; |
---|
104 | } |
---|