add Test programs for Issue#1029

This commit is contained in:
Ken Sato
2018-01-10 11:22:05 +09:00
parent 0fa88f513f
commit 38bbb4e390
6 changed files with 384 additions and 0 deletions

View File

@@ -0,0 +1,18 @@
CC=gcc
MCK_DIR=/home/satoken/ppos
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)