static void prvSetupTest( xTaskHandle xQueueSetSendingTask )\r
{\r
portBASE_TYPE x;\r
-xQueueSetMemberHandle xActivatedQueue;\r
\r
/* Ensure the queues are created and the queue set configured before the\r
sending task is unsuspended.\r
}\r
\r
/* The task that sends to the queues is not running yet, so attempting to\r
- read from the queue set should fail, resulting in xActivatedQueue being set\r
- to NULL. */\r
- xActivatedQueue = xQueueSelectFromSet( xQueueSet, queuesetSHORT_DELAY );\r
- configASSERT( xActivatedQueue == NULL );\r
+ read from the queue set should fail. */\r
+ if( xQueueSelectFromSet( xQueueSet, queuesetSHORT_DELAY ) != NULL )\r
+ {\r
+ xQueueSetTasksStatus = pdFAIL;\r
+ }\r
\r
/* Resume the task that writes to the queues. */\r
vTaskResume( xQueueSetSendingTask );\r