Commit ca4c71ca authored by NingX Zhao's avatar NingX Zhao Committed by Anas Nashif
Browse files

tests: thread: Add an initialization



Add an initialization to the global variable to make sure testcases
can be ran correctly.

Signed-off-by: default avatarNingX Zhao <ningx.zhao@intel.com>
parent 1325edff
Loading
Loading
Loading
Loading
+1 −0
Original line number Diff line number Diff line
@@ -125,6 +125,7 @@ void test_delayed_thread_abort(void)
{
	int current_prio = k_thread_priority_get(k_current_get());

	execute_flag = 0;
	/* Make current thread preemptive */
	k_thread_priority_set(k_current_get(), K_PRIO_PREEMPT(2));