Commit 399968b6 authored by Ian Craggs's avatar Ian Craggs

Debug for test4

parent acf61c2d
......@@ -1427,7 +1427,10 @@ int main(int argc, char** argv)
for (options.test_no = 1; options.test_no < ARRAY_SIZE(tests); ++options.test_no)
{
failures = 0;
MQTTAsync_setTraceLevel(MQTTASYNC_TRACE_ERROR);
if (options.test_no == 7)
MQTTAsync_setTraceLevel(MQTTASYNC_TRACE_MINIMUM);
else
MQTTAsync_setTraceLevel(MQTTASYNC_TRACE_ERROR);
rc += tests[options.test_no](options); /* return number of failures. 0 = test succeeded */
}
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment