@@ -10,19 +10,19 @@ cmake -B BUILD -DCMAKE_BUILD_TYPE=Release
1010cmake --build BUILD --parallel
1111
1212# Run all tests (auto-downloads test samples)
13- python3 tests/video_test_framework_codec .py
13+ python3 tests/vvs_test_runner .py
1414
1515# Run only H.264 decoder tests
16- python3 tests/video_test_framework_codec .py --decoder-only --codec h264
16+ python3 tests/vvs_test_runner .py --decoder-only --codec h264
1717
1818# Run only encoder tests with verbose output
19- python3 tests/video_test_framework_codec .py --encoder-only --verbose
19+ python3 tests/vvs_test_runner .py --encoder-only --verbose
2020
2121# List all available test samples
22- python3 tests/video_test_framework_codec .py --list-samples
22+ python3 tests/vvs_test_runner .py --list-samples
2323
2424# Run a specific test by name
25- python3 tests/video_test_framework_codec .py --test " h264_4k_main"
25+ python3 tests/vvs_test_runner .py --test " h264_4k_main"
2626```
2727
2828## Table of Contents
@@ -47,9 +47,9 @@ python3 tests/video_test_framework_codec.py --test "h264_4k_main"
4747
4848### Core Scripts
4949
50- - ** ` video_test_framework_codec .py` ** - Unified test orchestrator that runs both encoder and decoder tests
51- - ** ` video_test_framework_encode.py ` ** - Encoder-specific test runner
52- - ** ` video_test_framework_decode.py ` ** - Decoder-specific test runner
50+ - ** ` vvs_test_runner .py` ** - Unified test entry point that runs encoder, decoder, or both tests
51+ - ** ` libs/ video_test_framework_encode.py` ** - Encoder test framework classes (library module)
52+ - ** ` libs/ video_test_framework_decode.py` ** - Decoder test framework classes (library module)
5353
5454
5555### Configuration Files
@@ -175,10 +175,10 @@ To add a new decode test sample to `decode_samples.json`:
1751756 . ** Test the new entry** :
176176 ``` bash
177177 # Run only your new test
178- python3 tests/video_test_framework_codec .py --decoder-only --test " your_test_name"
178+ python3 tests/vvs_test_runner .py --decoder-only --test " your_test_name"
179179
180180 # Verify MD5 validation works
181- python3 tests/video_test_framework_decode .py --test " your_test_name" --verbose
181+ python3 tests/vvs_test_runner .py --decoder-only --test " your_test_name" --verbose
182182 ```
183183
184184** Notes:**
@@ -297,10 +297,10 @@ To add a new encode test sample to `encode_samples.json`:
2972976 . ** Test the new entry** :
298298 ``` bash
299299 # Run only your new test
300- python3 tests/video_test_framework_codec .py --encoder-only --test " your_test_name"
300+ python3 tests/vvs_test_runner .py --encoder-only --test " your_test_name"
301301
302302 # With verbose output to see encoder command
303- python3 tests/video_test_framework_encode .py --test " your_test_name" --verbose
303+ python3 tests/vvs_test_runner .py --encoder-only --test " your_test_name" --verbose
304304 ```
305305
306306** Notes:**
@@ -367,36 +367,36 @@ The framework uses a skip list system to skip tests that are known to fail on sp
367367
368368``` bash
369369# Run tests ignoring the skip list (run all tests)
370- python3 video_test_framework_codec .py --ignore-skip-list
370+ python3 vvs_test_runner .py --ignore-skip-list
371371
372372# Run only skipped tests (useful for testing fixes)
373- python3 video_test_framework_codec .py --only-skipped
373+ python3 vvs_test_runner .py --only-skipped
374374
375375# Use a custom skip list
376- python3 video_test_framework_codec .py --skip-list my_skip_list.json
376+ python3 vvs_test_runner .py --skip-list my_skip_list.json
377377```
378378
379379
380380### Usage Examples
381381
382382#### Run All Tests
383383``` bash
384- python3 video_test_framework_codec .py
384+ python3 vvs_test_runner .py
385385```
386386
387387#### Run Encoder Tests Only
388388``` bash
389- python3 video_test_framework_codec .py --encoder-only --codec h264
389+ python3 vvs_test_runner .py --encoder-only --codec h264
390390```
391391
392392#### Run Specific Test Pattern
393393``` bash
394- python3 video_test_framework_codec .py --test " *baseline*" --verbose
394+ python3 vvs_test_runner .py --test " *baseline*" --verbose
395395```
396396
397397#### Export Results to JSON
398398``` bash
399- python3 video_test_framework_codec .py --export-json results.json
399+ python3 vvs_test_runner .py --export-json results.json
400400```
401401
402402### Command Line Options
@@ -422,17 +422,17 @@ python3 video_test_framework_codec.py --export-json results.json
422422- ` --decode-test-suite FILE ` - Path to custom decode test suite JSON file
423423- ` --encode-test-suite FILE ` - Path to custom encode test suite JSON file
424424
425- #### Codec Framework Only (video_test_framework_codec.py)
425+ #### Framework Selection
426426
427427- ` --encoder-only ` - Run only encoder tests
428428- ` --decoder-only ` - Run only decoder tests
429429
430- #### Decoder Only (video_test_framework_decode.py)
430+ #### Decode-Specific Options
431431
432- - ` --display ` - Enable display output (removes --noPresent flag)
432+ - ` --decode- display ` - Enable display output for decode tests (removes --noPresent flag)
433433- ` --no-verify-md5 ` - Disable MD5 verification of decoded output
434434
435- #### Encoder Only (video_test_framework_encode.py)
435+ #### Encode-Specific Options
436436
437437- ` --no-validate-with-decoder ` - Disable validation of encoder output with decoder
438438- ` --decoder-args ARGS ` - Additional arguments to pass to decoder during validation
@@ -457,17 +457,17 @@ Tests are automatically prefixed with their type for display:
457457When filtering tests with ` --test ` , you can use either the base name or the prefixed name:
458458``` bash
459459# These are equivalent - run a specific test by base name or full name
460- python3 video_test_framework_codec .py --test " h264_4k_main"
461- python3 video_test_framework_codec .py --test " decode_h264_4k_main"
460+ python3 vvs_test_runner .py --test " h264_4k_main"
461+ python3 vvs_test_runner .py --test " decode_h264_4k_main"
462462
463463# Run only decoder tests (using prefix)
464- python3 video_test_framework_codec .py --test " decode_*"
464+ python3 vvs_test_runner .py --test " decode_*"
465465
466466# Run only H.264 encoder tests
467- python3 video_test_framework_codec .py --test " encode_h264_*"
467+ python3 vvs_test_runner .py --test " encode_h264_*"
468468
469469# Run all AV1 tests (both encode and decode)
470- python3 video_test_framework_codec .py --test " av1_*"
470+ python3 vvs_test_runner .py --test " av1_*"
471471```
472472
473473---
@@ -491,10 +491,10 @@ The framework supports [Fluster](https://github.com/fluendo/fluster) test suite
491491Example usage:
492492``` bash
493493# Use Fluster JVT-AVC_V1 test suite
494- python3 video_test_framework_decode .py --decode-test-suite path/to/JVT-AVC_V1.json
494+ python3 vvs_test_runner .py --decoder-only --decode-test-suite path/to/JVT-AVC_V1.json
495495
496496# Filter specific tests from Fluster suite
497- python3 video_test_framework_decode .py --decode-test-suite JVT-AVC_V1.json --test " *baseline*"
497+ python3 vvs_test_runner .py --decoder-only --decode-test-suite JVT-AVC_V1.json --test " *baseline*"
498498```
499499
500500** Note** : Fluster format is only supported for decode tests, not encode tests.
@@ -515,19 +515,17 @@ JSON export includes:
515515- Individual test results with timing and status information
516516- Support for both encoder and decoder test results in unified format
517517
518- ### Individual Framework Usage
518+ ### Running Specific Test Types
519519
520- Each component can be run independently :
520+ Use ` --encoder-only ` or ` --decoder-only ` to run a single test type :
521521
522522``` bash
523523# List available samples
524- python3 video_test_framework_codec.py --list-samples
525- python3 video_test_framework_encode.py --list-samples
526- python3 video_test_framework_decode.py --list-samples
524+ python3 vvs_test_runner.py --list-samples
527525
528526# Encoder tests only
529- python3 video_test_framework_encode .py
527+ python3 vvs_test_runner .py --encoder-only
530528
531- # Decoder tests only
532- python3 video_test_framework_decode .py --display
533- ```
529+ # Decoder tests only with display
530+ python3 vvs_test_runner .py --decoder-only --decode -display
531+ ```
0 commit comments