diff options
author | gdisirio <gdisirio@35acf78f-673a-0410-8e92-d51de3d6d3f4> | 2011-08-12 11:10:19 +0000 |
---|---|---|
committer | gdisirio <gdisirio@35acf78f-673a-0410-8e92-d51de3d6d3f4> | 2011-08-12 11:10:19 +0000 |
commit | 43752ee8d132fc57028a9ff15156c5bfcd81c013 (patch) | |
tree | eb4a8eafaaac4084e1c0c307850a8ce17939e58f /test/testbmk.c | |
parent | e0309ba9738efc707f8c43de43e04d2c62a32e8c (diff) | |
download | ChibiOS-43752ee8d132fc57028a9ff15156c5bfcd81c013.tar.gz ChibiOS-43752ee8d132fc57028a9ff15156c5bfcd81c013.tar.bz2 ChibiOS-43752ee8d132fc57028a9ff15156c5bfcd81c013.zip |
Extended state check to all kernel I-class and s-class APIs, corrected some test cases where call protocol rules were not strictly observerd. No the whole test suite pass with the state checker enabled.
git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@3223 35acf78f-673a-0410-8e92-d51de3d6d3f4
Diffstat (limited to 'test/testbmk.c')
-rw-r--r-- | test/testbmk.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/test/testbmk.c b/test/testbmk.c index 54da81fd8..4958ddf8b 100644 --- a/test/testbmk.c +++ b/test/testbmk.c @@ -465,10 +465,12 @@ static void bmk9_execute(void) { test_wait_tick();
test_start_timer(1000);
do {
+ chSysLock();
chIQPutI(&iq, 0);
chIQPutI(&iq, 1);
chIQPutI(&iq, 2);
chIQPutI(&iq, 3);
+ chSysUnlock();
(void)chIQGet(&iq);
(void)chIQGet(&iq);
(void)chIQGet(&iq);
|