feat(tuku): zip 容器读取器核心(纯 C + zlib,central directory 校验/单条目按需解压)
This commit is contained in:
1 parent
6caf2bc6e6
commit
fbd4db3aec
5 files changed
+1318
No files matched your search
Executable
+9
@@ -0,0 +1,9 @@
|
||||
#!/bin/bash
|
||||
# run_zip_tests.sh — 宿主 gcc 构建并运行 zip 容器读取器测试(纯 C + -lz,无 SDK)。
|
||||
set -e
|
||||
cd "$(dirname "$0")/.."
|
||||
trap 'rm -f test/test_zip' EXIT
|
||||
gcc -Wall -Wextra -Werror -O1 -I. \
|
||||
test/test_zip.c logic/zip/zip.c \
|
||||
-lz -o test/test_zip
|
||||
./test/test_zip ./test/make_zip_samples.py
|
||||
Reference in new issue
Block a user