File tree Expand file tree Collapse file tree 2 files changed +35
-1
lines changed
Expand file tree Collapse file tree 2 files changed +35
-1
lines changed Original file line number Diff line number Diff line change @@ -41,4 +41,4 @@ RUN git clone --depth 1 https://gitlab.xiph.org/xiph/theora.git
4141RUN git clone --depth 1 https://gitlab.xiph.org/xiph/vorbis.git
4242RUN git clone --depth 1 https://gitlab.gnome.org/GNOME/libxml2.git
4343
44- COPY build.sh replay_build.sh group_seed_corpus.py $SRC/
44+ COPY build.sh replay_build.sh run_tests.sh group_seed_corpus.py $SRC/
Original file line number Diff line number Diff line change 1+ #! /bin/bash
2+
3+ # Usage:
4+ # bash run_test.sh list - Lists all available tests
5+ # bash run_test.sh - Runs all tests (same as 'make fate')
6+ # bash run_test.sh <filter> - Runs a specific test or group of tests
7+ # (e.g., './run_test.sh acodec-pcm')
8+
9+ set -e # Exit immediately if any command fails
10+
11+ FFMPEG_SRC_DIR=" /src/ffmpeg"
12+
13+ # if [ TODO: How can i check if ffmpeg is compiled? ]; then
14+ # echo "==> FFmpeg executable not found. Running build.sh..."
15+ # ./build.sh # TODO: Check if this does what we want or just generate artefacts.
16+ # fi
17+
18+ echo " ==> Changing to FFmpeg source directory: $FFMPEG_SRC_DIR "
19+ cd " $FFMPEG_SRC_DIR "
20+
21+ if [ " $1 " == " list" ]; then
22+ echo " ==> Listing all FATE tests..."
23+ make fate-list
24+
25+ elif [ -z " $1 " ]; then
26+ echo " ==> Running all FATE tests..."
27+ make fate
28+
29+ else
30+ echo " ==> Running FATE test(s) matching '$1 '..."
31+ make " fate-$1 "
32+ fi
33+
34+ echo " ==> Test run finished successfully."
You can’t perform that action at this time.
0 commit comments