From b318f225b0f168d5d4c02d750b49402faba430f0 Mon Sep 17 00:00:00 2001 From: Moe Jette <jette1@llnl.gov> Date: Mon, 8 Mar 2010 16:33:04 +0000 Subject: [PATCH] if running debugger test, do *not* call MPIR_Breakpoint() as this is where we expect TV to stop prevent the release of user tasks until it's attach is completed, which is not appliable in test mode --- src/srun/srun.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/srun/srun.c b/src/srun/srun.c index 732972304a9..9f82ac82250 100644 --- a/src/srun/srun.c +++ b/src/srun/srun.c @@ -474,9 +474,10 @@ int srun(int ac, char **av) else mpir_set_executable_names(launch_params.argv[0]); MPIR_debug_state = MPIR_DEBUG_SPAWNED; - MPIR_Breakpoint(job); if (opt.debugger_test) mpir_dump_proctable(); + else + MPIR_Breakpoint(job); } else { info("Job step %u.%u aborted before step completely launched.", job->jobid, job->stepid); -- GitLab