From: asterix Date: Thu, 10 Sep 2009 09:48:31 +0000 (+0000) Subject: Fix proc test. X-Git-Tag: 2.2.0~48 X-Git-Url: https://codewiz.org/gitweb?a=commitdiff_plain;h=082614d292c0bb944ebf064bd5d2944ac242bd3c;p=bertos.git Fix proc test. git-svn-id: https://src.develer.com/svnoss/bertos/trunk@2920 38d2e660-2303-0410-9eaa-f027e97ec537 --- 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();