Files
ccextractor/tests
Rahul-2k4 77f3fd35f4 Fix #447: Resolve DVB split mode crash and routing logic
- Fixed NULL pointer dereference in dvb_subtitle_decoder.c (sub->prev check).
- Corrected logic in dvbsub_handle_display_segment to prevent dropped subtitles.
- Implemented robust encoder context swapping in general_loop.c for DVB streams.
- Added regression test: tests/regression/dvb_split.txt.
- Verified 100% completion in split mode and correct Teletext/DVB routing.
2025-12-27 00:11:09 +05:30
..

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