From 93449d7c2a8d7a75cec64644bb13ab05dae309d5 Mon Sep 17 00:00:00 2001 From: Michal Sojka Date: Thu, 24 Feb 2011 10:29:02 +0100 Subject: [PATCH] frsh: Remove artificial split of a test When a single test is split into several parts then the output of the beginning of the test is not shown when the error occurs in the later part. --- frsh_api/tests/negotiation.c | 7 +------ 1 file changed, 1 insertion(+), 6 deletions(-) diff --git a/frsh_api/tests/negotiation.c b/frsh_api/tests/negotiation.c index 575044f..69a000b 100644 --- a/frsh_api/tests/negotiation.c +++ b/frsh_api/tests/negotiation.c @@ -73,10 +73,8 @@ WVTEST_MAIN("basic negotiation") WVPASS(fres_contract_get_budget(&c, &budget)); WVPASS(fosa_rel_time_to_msec(budget) == b[i]); } -} -WVTEST_MAIN("renegotiation") -{ + /* Renegotiate the contracts */ for (i=0; i<2; i++) { budget = fosa_msec_to_rel_time(2*b[i]); period = fosa_msec_to_rel_time(110); @@ -104,10 +102,7 @@ WVTEST_MAIN("renegotiation") WVFRSH(frsh_vres_get_contract(vres[i], &c)); WVPASS(fres_contract_get_budget(&c, &budget)); WVPASS(fosa_rel_time_to_msec(budget) == b[i]); -} -WVTEST_MAIN("cancelation") -{ /* Cancel N contracts */ for (i=0; i