mirror of
https://github.com/boostorg/graph.git
synced 2026-02-08 23:02:09 +00:00
126 lines
3.6 KiB
Plaintext
126 lines
3.6 KiB
Plaintext
# Define SGB (stanford graph base top level directory) and
|
|
# LEDA (also top level directory) at the command line of jam using -s
|
|
|
|
|
|
subproject libs/graph/test ;
|
|
|
|
import testing ;
|
|
|
|
# A bug in the Win32 intel compilers causes compilation of one of our
|
|
# tests to take forever when debug symbols are enabled. This rule
|
|
# turns them off when added to the requirements section
|
|
local rule turn-off-intel-debug-symbols ( toolset variant : properties * )
|
|
{
|
|
if $(NT) && [ MATCH (.*intel.*) : $(toolset) ]
|
|
{
|
|
properties = [ difference $(properties) : <debug-symbols>on ] <debug-symbols>off ;
|
|
}
|
|
return $(properties) ;
|
|
}
|
|
|
|
|
|
test-suite graph :
|
|
|
|
[ compile adj_list_cc.cpp : <sysinclude>$(BOOST_ROOT) ]
|
|
|
|
# adj_list_test needs some work -JGS
|
|
# unit-test adj_list_test : adj_list_test.cpp : <sysinclude>$(BOOST_ROOT) ;
|
|
[ run adj_list_edge_list_set.cpp : : : <sysinclude>$(BOOST_ROOT) ]
|
|
|
|
[ compile adj_matrix_cc.cpp : <sysinclude>$(BOOST_ROOT) ]
|
|
|
|
[ run bfs.cpp : : : <sysinclude>$(BOOST_ROOT) ]
|
|
|
|
[ compile bfs_cc.cpp : <sysinclude>$(BOOST_ROOT) ]
|
|
|
|
[ run bellman-test.cpp : <sysinclude>$(BOOST_ROOT ]
|
|
|
|
[ run betweenness_centrality_test.cpp ]
|
|
|
|
[ run bidir_remove_edge.cpp ]
|
|
|
|
[ run csr_graph_test.cpp : : : : : release ]
|
|
|
|
[ run dag_longest_paths.cpp : : : <sysinclude>$(BOOST_ROOT) ]
|
|
|
|
[ run dfs.cpp : : : <sysinclude>$(BOOST_ROOT) ]
|
|
|
|
[ compile dfs_cc.cpp : <sysinclude>$(BOOST_ROOT) ]
|
|
|
|
[ compile dijkstra_cc.cpp : <sysinclude>$(BOOST_ROOT) ]
|
|
|
|
[ run dijkstra_heap_performance.cpp : 10000 : : <sysinclude>$(BOOST_ROOT) ]
|
|
[ run dominator_tree_test.cpp ]
|
|
[ run relaxed_heap_test.cpp : 5000 15000 : : <sysinclude>$(BOOST_ROOT) ]
|
|
[ compile edge_list_cc.cpp : <sysinclude>$(BOOST_ROOT) ]
|
|
|
|
[ compile filtered_graph_cc.cpp : <sysinclude>$(BOOST_ROOT) ]
|
|
|
|
[ run graph.cpp : : : <sysinclude>$(BOOST_ROOT) ]
|
|
|
|
[ compile graph_concepts.cpp : <sysinclude>$(BOOST_ROOT) ]
|
|
|
|
[ run graphviz_test.cpp
|
|
<lib>../../test/build/boost_test_exec_monitor
|
|
<lib>../build/bgl-viz
|
|
: : : <sysinclude>$(BOOST_ROOT) ]
|
|
|
|
[ run gursoy_atun_layout_test.cpp : : : <sysinclude>$(BOOST_ROOT) ]
|
|
|
|
[ run layout_test.cpp : : : <test-info>always_show_run_output turn-off-intel-debug-symbols ]
|
|
|
|
[ compile reverse_graph_cc.cpp : <sysinclude>$(BOOST_ROOT) ]
|
|
|
|
[ run sequential_vertex_coloring.cpp : : : <sysinclude>$(BOOST_ROOT) ]
|
|
|
|
[ run subgraph.cpp : : : <sysinclude>$(BOOST_ROOT) ]
|
|
|
|
[ run transitive_closure_test.cpp : : : <sysinclude>$(BOOST_ROOT) ]
|
|
|
|
[ run isomorphism.cpp : : : <sysinclude>$(BOOST_ROOT) ]
|
|
|
|
[ run adjacency_matrix_test.cpp : : : <sysinclude>$(BOOST_ROOT) ]
|
|
|
|
[ compile vector_graph_cc.cpp : <sysinclude>$(BOOST_ROOT) ]
|
|
|
|
[ compile copy.cpp : <sysinclude>$(BOOST_ROOT) ]
|
|
|
|
[ compile property_iter.cpp : <sysinclude>$(BOOST_ROOT) ]
|
|
|
|
[ run bundled_properties.cpp ]
|
|
|
|
[ run floyd_warshall_test.cpp ]
|
|
|
|
[ run astar_search_test.cpp ]
|
|
|
|
[ run biconnected_components_test.cpp ]
|
|
|
|
[ run cuthill_mckee_ordering.cpp ]
|
|
|
|
[ run king_ordering.cpp ]
|
|
|
|
[ run matching_test.cpp ]
|
|
;
|
|
|
|
# Run SDB tests only when -sSDB= is set.
|
|
if $(SDB) != ""
|
|
{
|
|
local SDB_DEPENDCIES =
|
|
<include>$(SGB) <library-file>$(SGB)/libgb.a ;
|
|
|
|
compile stanford_graph_cc.cpp : <sysinclude>$(BOOST_ROOT)
|
|
$(SDB_DEPENDCIES) ;
|
|
}
|
|
|
|
# Run LEDA tests only when -sLEDA= is set.
|
|
if $(LEDA) != ""
|
|
{
|
|
local LEDA_DEPENDENCIES =
|
|
<include>$(LEDA)/incl
|
|
<library-file>$(LEDA)/libG.a
|
|
;
|
|
|
|
compile leda_graph_cc.cpp : <sysinclude>$(BOOST_ROOT)
|
|
$(LEDA_DEPENDENCIES) ;
|
|
}
|