Commit f2ab3671 authored by Lauros Pajunen's avatar Lauros Pajunen
Browse files

Enable rtpdump tests

parent a628033f
Loading
Loading
Loading
Loading
Loading
+23 −0
Original line number Diff line number Diff line
@@ -707,6 +707,29 @@ split-rendering-voip-be-to-binaural:
      junit:
        - report-junit.xml

# test rtpdump
rtpdump-test:
  extends:
    - .test-job-linux
    - .rules-merge-request-to-main
  needs: ["build-codec-linux-make"]
  stage: test
  script:
    - make -j
    - testcase_timeout=15
    - python3 -m pytest -q --tb=no -n auto -rA --html=report.html --self-contained-html --junit-xml=report-junit.xml tests/rtp/test_rtp.py --testcase_timeout=$testcase_timeout
  artifacts:
    name: "mr-$CI_MERGE_REQUEST_IID--sha-$CI_COMMIT_SHORT_SHA--job-$CI_JOB_NAME--results"
    expire_in: 1 week
    when: always
    paths:
      - report-junit.xml
      - report.html
    expose_as: "rtpdump pytest results"
    reports:
      junit:
        - report-junit.xml

lc3-wrapper-unit-test:
  extends:
    - .test-job-linux
+0 −10
Original line number Diff line number Diff line
@@ -38,16 +38,6 @@ TESTCASES = [
    "Multi-channel 7_1_4 bitrate switching, 48kHz in, 48kHz out, BINAURAL out, HR, JBM Prof 5",
    "OMASA 2Dir2TC 4ISM at br sw techs 13.2 to 512 kbps start 80 kbps, 48kHz in, 48kHz out, EXT out",
    # self_test_ltv.prm
    # rtpdump tests (also skipped in pytest code, but for documentation purposes added here as well)
    "stereo bitrate switching from 13.2 kbps to 128 kbps, 48kHz in, 48kHz out, DTX on, EXT out, rtpdump",
    "4 ISM with metadata bitrate switching from 24.4 kbps to 512 kbps, 48 kHz in, 48 kHz out, DTX on, BINAURAL out, rtpdump, PI data",
    "SBA FOA bitrate switching from 13.2 kbps to 512 kbps, 48kHz in, 48kHz out, DTX on, BINAURAL out, rtpdump, PI data",
    "MASA 2dir 2TC bitrate switching from 13.2 kbps to 512 kbps, 48kHz in, 48kHz out, DTX on, BINAURAL out, rtpdump, PI data",
    "Multi-channel 5_1 bitrate switching from 13.2 kbps to 512 kbps, 48kHz in, 48kHz out, BINAURAL out, rtpdump, PI data",
    "Stereo downmix to bit-exact EVS at 24400 kbps, 48kHz in, 48kHz out, rtpdump",
    "EVS at 13.2 kbps, 48kHz in, 48kHz out, STEREO out, rtpdump",
    "OMASA 2Dir2TC 3ISM at br sw techs 13.2 to 512 kbps start 160 kbps, 48kHz in, 48kHz out, BINAURAL out, rtpdump, PI data",
    "OSBA 2ISM 2OA at bitrate switching 13.2 to 512 kbps, 48kHz in, 48kHz out, BINAURAL out, rtpdump, PI data",
]


+0 −2
Original line number Diff line number Diff line
@@ -228,8 +228,6 @@ def test_param_file_tests(
):
    enc_opts, dec_opts, sim_opts, eid_opts = param_file_test_dict[test_tag]

    if "rtpdump" in test_tag:
        pytest.xfail("Skip RTP tests for now")

    run_test(
        test_info,

tests/rtp/ivasrtp.py

0 → 100644
+1653 −0

File added.

Preview size limit exceeded, changes collapsed.

tests/rtp/test_rtp.py

0 → 100644
+665 −0

File added.

Preview size limit exceeded, changes collapsed.