2023-07-13 11:27:03 +08:00
|
|
|
|
# ==============================================================================
|
|
|
|
|
# test makefile
|
|
|
|
|
#FileName: makefile.test
|
|
|
|
|
#Author: xianfeng.du
|
|
|
|
|
#Data: 2022-10-19
|
|
|
|
|
#Description: test sublevel makefile
|
|
|
|
|
# ==============================================================================
|
|
|
|
|
VERSION = 1.00
|
|
|
|
|
|
|
|
|
|
# ==============================================================================
|
|
|
|
|
# files DIR definition
|
|
|
|
|
# ==============================================================================
|
|
|
|
|
DIR_TEST_BENCH := $(DIR_TEST)/testbench_osp
|
|
|
|
|
#DIR_TEST_CASE := $(DIR_TEST)/testcase
|
|
|
|
|
|
|
|
|
|
#TEST_SRC_FILE := $(shell find $(DIR_TEST_CASE) -name "*.s.c")
|
|
|
|
|
#TEST_SRC_DIR := $(sort $(dir $(TEST_SRC_FILE)))
|
|
|
|
|
#TEST_CASE_DIR := $(patsubst %/src,%,$(abspath $(TEST_SRC_DIR)))
|
2023-09-22 19:47:02 +08:00
|
|
|
|
TEST_CASE_DIR := $(DIR_TEST)/testcase_osp/case$(test_id)
|
2023-07-13 11:27:03 +08:00
|
|
|
|
$(info "TEST_CASE_DIR=" $(TEST_CASE_DIR))
|
|
|
|
|
|
|
|
|
|
DIRS_SRC_FOLDER += $(DIR_TEST_BENCH)
|
|
|
|
|
DIRS_SRC_FOLDER += $(TEST_CASE_DIR)
|
|
|
|
|
|
|
|
|
|
# Allow certain files to be excluded from the build
|
|
|
|
|
#EXCL_SRCS_FILES += $(TOP_SRC_FILE)
|
|
|
|
|
|
|
|
|
|
|