Commit 033e682c authored by Ian Craggs's avatar Ian Craggs

Optimize debug in test

parent 10f84094
...@@ -2050,7 +2050,8 @@ int main(int argc, char** argv) ...@@ -2050,7 +2050,8 @@ int main(int argc, char** argv)
for (options.test_no = 1; options.test_no < ARRAY_SIZE(tests); ++options.test_no) for (options.test_no = 1; options.test_no < ARRAY_SIZE(tests); ++options.test_no)
{ {
failures = 0; failures = 0;
//MQTTAsync_setTraceLevel(MQTTASYNC_TRACE_ERROR); if (options.test_no != 2)
MQTTAsync_setTraceLevel(MQTTASYNC_TRACE_ERROR);
rc += tests[options.test_no](options); /* return number of failures. 0 = test succeeded */ 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