From 6ec0150086ee3aab792ced643e0b7b5dc237f6f1 Mon Sep 17 00:00:00 2001 From: Giovanni Di Sirio Date: Thu, 16 Jun 2016 11:25:32 +0000 Subject: Small fix in the RT test suite. git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@9631 35acf78f-673a-0410-8e92-d51de3d6d3f4 --- test/rt/source/test/test_sequence_003.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'test/rt/source') diff --git a/test/rt/source/test/test_sequence_003.c b/test/rt/source/test/test_sequence_003.c index 31b586481..bf5b4c73e 100644 --- a/test/rt/source/test/test_sequence_003.c +++ b/test/rt/source/test/test_sequence_003.c @@ -103,7 +103,7 @@ static void test_003_001_execute(void) { msg = chThdSuspendTimeoutS(&tr1, MS2ST(1000)); chSysUnlock(); test_assert_time_window(time + MS2ST(1000), - time + MS2ST(1000) + 1, + time + MS2ST(1000) + CH_CFG_ST_TIMEDELTA, "out of time window"); test_assert(NULL == tr1, "not NULL"); test_assert(MSG_TIMEOUT == msg, "wrong returned message"); -- cgit v1.2.3