test: 接入 CTest 并添加基础 runtime 测试

This commit is contained in:
2026-03-14 13:55:09 +08:00
parent 6ec4d8422f
commit 58d1b09203
4 changed files with 45 additions and 1 deletions

View File

@@ -39,4 +39,7 @@ build: prepare
@cmake --build $(BUILD_DIR)
@cp $(BUILD_DIR)/$(TARGET_NAME) $(TARGET)
.PHONY: clean run wm prepare build install uninstall reinstall
test: build
@ctest --test-dir $(BUILD_DIR)
.PHONY: clean run wm prepare build install uninstall reinstall test