video: add extensive tests for gst_video_time_code_is_valid()
[platform/upstream/gstreamer.git] / subprojects / gst-integration-testsuites / HACKING
1 testsuites:
2 -----------
3
4 The testsuites implemented in testsuites/ should follow the PEP8 coding style.
5
6 ## Add a new media file
7
8 We use `git-lfs` with a backup on the fdo server.
9
10 You need access to gstreamer.freedesktop.org to be able to upload media files and
11 `rsync` needs to be installed on the system
12
13 1)  Make sure to get all assets first doing:
14
15   medias/get_files.py # no argument
16
17 2) Add your media file in the tree and generate the media_info:
18
19   gst-validate-media-check-1.0 [--full] file://full_path_to/path/to/your/new/file -o medias/path/to/your/new/file
20
21 (you can also do it with gst-validate-launcher -G)
22
23 3) Make sure that you media file is tracked by `git-lfs`:
24
25     git lfs track "*.file_extension"
26
27 4) Add the media info in git:
28
29   git add medias/path/to/your/new/file.media_info
30   git add medias/path/to/your/new/file
31
32 5) Check everything is ready to uploaded.
33
34   python medias/upload_media_files.py # Dry run
35
36 6) Check and update the `medias/files.json` file
37
38   git add medias/files.json
39
40 7) Generate the new tests list
41
42   gst-validate-launcher -L
43   git add testsuites/validate.testslist
44
45 8) Commit and push