Skip to content

Commit

Permalink
bgp: Fix build when profiling is disabled. Fix typo in test_busted sc…
Browse files Browse the repository at this point in the history
…ript.

Signed-off-by: Ben Greear <greearb@candelatech.com>
  • Loading branch information
greearb committed Jun 21, 2010
1 parent 8564e5b commit 5787fe8
Show file tree
Hide file tree
Showing 3 changed files with 12 additions and 3 deletions.
6 changes: 5 additions & 1 deletion xorp/bgp/harness/SConscript
Expand Up @@ -60,10 +60,14 @@ env.AppendUnique(LIBS = [
'xif_fea_ifmgr_replicator',
'xst_fea_ifmgr_mirror',
'xst_bgp',
'xif_profile_client',
'xif_finder_event_notifier',
])

if not (env.has_key('disable_profile') and env['disable_profile']):
env.AppendUnique(LIBS = [
'xif_profile_client',
])

coord_srcs = [
'bgppp.cc',
'command.cc',
Expand Down
2 changes: 1 addition & 1 deletion xorp/bgp/harness/test_busted
Expand Up @@ -42,7 +42,7 @@ sub fork_sys {
}
# There should be no test_peer processes running now, kill them if they
# exist.
print "Killing any existing test_peer processes, child pid: $pid"
print "Killing any existing test_peer processes, child pid: $pid";
print `ps auxwww|grep test_peer`;
print "\n";
system("killall -s 9 -r runit");
Expand Down
7 changes: 6 additions & 1 deletion xorp/bgp/tools/SConscript
Expand Up @@ -54,10 +54,15 @@ env.AppendUnique(LIBS = [
'xst_fea_ifmgr_mirror',
'xif_fea_ifmgr_replicator',
'xst_bgp',
'xif_profile_client',
'xif_finder_event_notifier',
])

if not (env.has_key('disable_profile') and env['disable_profile']):
env.AppendUnique(LIBS = [
'xif_profile_client',
])


env.Replace(RPATH = [
env.Literal(env['xorp_tool_rpath'])
])
Expand Down

0 comments on commit 5787fe8

Please sign in to comment.