Add testing infrastructure with reference UC2 archives

Test corpus (empty, text, binary, compressible, incompressible) with
reference archives created by original UC2 v2.3 in DOSBox. Two CTest
tests: test_identify (magic detection) and test_extract (full
extraction pipeline verified byte-for-byte against corpus).
This commit is contained in:
Eremey Valetov
2026-03-11 08:29:04 -04:00
parent 40af7e877e
commit ff06506bbc
17 changed files with 395 additions and 0 deletions
+2
View File
@@ -29,3 +29,5 @@ jobs:
- name: Smoke test (Windows)
if: runner.os == 'Windows'
run: .\build\cli\Release\uc2.exe -h
- name: Test
run: ctest --test-dir build --output-on-failure -C Release