Update test tasks

This commit is contained in:
Aoran Zeng 2024-06-05 13:12:43 +08:00
parent 5fd55b19d8
commit ad0407b286
2 changed files with 5 additions and 8 deletions

View File

@ -3,7 +3,7 @@
# License : GPLv3
# Authors : Aoran Zeng <ccmywish@qq.com>
# 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

View File

@ -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
```