Test "make sure to context-switch to idle thread when therad's status is PS_EXITED" on arm64

Change-Id: I757d529e49655e9010022f10414e4d6c9eb4c059
Refs: #1029
This commit is contained in:
Shiratori, Takehiro
2018-12-04 17:03:53 +09:00
committed by Masamichi Takagi
parent 01b2a1d213
commit 0ee446923a
13 changed files with 450 additions and 0 deletions

View File

@ -0,0 +1,19 @@
include $(HOME)/.mck_test_config.mk
CC=gcc
MCEXEC=$(MCK_DIR)/bin/mcexec
TARGET=sched_test go_test
all:: $(TARGET)
sched_test: sched_test.c
$(CC) -o $@ $<
go_test: go_test.c
$(CC) -o $@ $<
test:: $(TARGET)
-$(MCEXEC) ./go_test 2
-$(MCK_DIR)/sbin/ihkosctl 0 kmsg | grep CT_ | cut -f 2 -d ":" | sort > result.log
clean::
rm -f $(TARGET)