From ad0407b2864b2db73cf5b8c6b5a38d0499c502e0 Mon Sep 17 00:00:00 2001 From: Aoran Zeng Date: Wed, 5 Jun 2024 13:12:43 +0800 Subject: [PATCH] Update test tasks --- Makefile | 9 +++------ README.md | 4 ++-- 2 files changed, 5 insertions(+), 8 deletions(-) diff --git a/Makefile b/Makefile index 08004ff..189a353 100644 --- a/Makefile +++ b/Makefile @@ -3,7 +3,7 @@ # License : GPLv3 # Authors : Aoran Zeng # Created on : <2023-08-28> -# Last modified : <2024-05-25> +# Last modified : <2024-06-05> # --------------------------------------------------------------- CFLAGS = -Iinclude # -Wall @@ -32,12 +32,9 @@ CI: all @mv $(Target) $(CI_Build_Name) test: $(Target) - ./$(Target) list mirror - ./$(Target) list target - ./$(Target) get ruby - ./$(Target) get python + perl ./test/cli.pl -test_xy: +test-xy: @$(CC) test/xy.c $(CFLAGS) -o xy @./xy diff --git a/README.md b/README.md index 050f539..9434be6 100644 --- a/README.md +++ b/README.md @@ -186,8 +186,8 @@ make # 默认使用 cc 编译 make CC=clang # 使用 clang 编译 make CC=gcc # 使用 gcc 编译 -make test # 测试部分命令 -make test_xy # 测试 xy.h +make test # 测试命令 +make test-xy # 测试 xy.h make clean ```