From 082614d292c0bb944ebf064bd5d2944ac242bd3c Mon Sep 17 00:00:00 2001 From: asterix Date: Thu, 10 Sep 2009 09:48:31 +0000 Subject: [PATCH] Fix proc test. git-svn-id: https://src.develer.com/svnoss/bertos/trunk@2920 38d2e660-2303-0410-9eaa-f027e97ec537 --- bertos/kern/proc_test.c | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/bertos/kern/proc_test.c b/bertos/kern/proc_test.c index 5668b3f4..7573e802 100644 --- a/bertos/kern/proc_test.c +++ b/bertos/kern/proc_test.c @@ -229,17 +229,18 @@ int proc_testRun(void) kputs("Priority test successfull.\n"); } + return ret_value; + priority_fail: kputs("Priority test failed.\n"); - ret_value = -1; + return -1; #endif - return ret_value + return ret_value; } - int proc_testSetup(void) { kdbg_init(); -- 2.25.1