Files
mckernel/test/mng_mod/issues/1029/Makefile
Masamichi Takagi dbe5e99cf9 Fix test of "make sure to context-switch to idle thread when therad's status is PS_EXITED"
Change-Id: I62ea813656805b6250b0465853e8fa2918b0c86b
Refs: #1029
Refs: #1227
2018-12-04 08:17:54 +00:00

20 lines
344 B
Makefile

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)