mirror of
https://github.com/CCExtractor/ccextractor.git
synced 2026-07-08 18:06:30 +00:00
- DVB-005: Changed from Teletext-only file to proper DVB extraction using --program-number 530 - DVB-007: Fixed shell script globbing error and variable parsing for dedup effectiveness check - All test cases now pass: DVB-004 (multilingual split), DVB-005 (single program), DVB-006 (non-DVB), DVB-007 (dedup check), DVB-008 (no-dedup flag) - Verified: No 0-byte files, deduplication removes 19-29 duplicate lines per stream
UNIT TESTING
This folder contains a archetype and several unit-tests for CCExtractor
RUN TESTS
cd tests
make
This will build and run all test-suite.
If you want MORE output:
DEBUG=1 make
Where DEBUG is just an environment variable.
DEBUGGING
If tests fail after your changes, you could try to debug the failed tests.
Run following commands in the /tests directory:
# build test runner (executable file - runtest)
make
# load runtest to the debgger:
gdb runtest
# start under debugger:
(gdb) run
# if segfault occured:
(gdb) where
DEPENDENCIES
Tests are built around this library: libcheck, here is documentation