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

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

No files matched your search

+4 -1
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