Commit b876a25b authored by Anas Nashif's avatar Anas Nashif Committed by Carles Cufi
Browse files

tests: net: util: do not use TC_START for debugging



TC_START is used to evaluate output of tests and is used internally by
ztest when a test starts, no need to call this manually here.

Signed-off-by: default avatarAnas Nashif <anas.nashif@intel.com>
parent 0f03b128
Loading
Loading
Loading
Loading
+3 −3
Original line number Diff line number Diff line
@@ -407,13 +407,13 @@ ZTEST(test_utils_fn, test_net_addr)
	int count, pass;

	for (count = 0, pass = 0; count < ARRAY_SIZE(tests); count++) {
		TC_START(tests[count].name);
		TC_PRINT("Running test: %s: ", tests[count].name);

		if (check_net_addr(tests[count].data)) {
			TC_END(PASS, "passed\n");
			TC_PRINT("passed\n");
			pass++;
		} else {
			TC_END(FAIL, "failed\n");
			TC_PRINT("failed\n");
		}
	}