Unverified Commit 5e1b541c authored by norvell's avatar norvell
Browse files

Add smoke test as speed test for float

parent 2c3136a4
Loading
Loading
Loading
Loading
+4 −4
Original line number Diff line number Diff line
@@ -5,7 +5,7 @@
# ensure that codec builds on linux
build-codec-linux-make:
  rules:
    - if: $MANUAL_PIPELINE_TYPE == 'long-term-logs' || $MANUAL_PIPELINE_TYPE == 'ivas-conformance-linux' || $MANUAL_PIPELINE_TYPE == 'runner-speed-test' || $MANUAL_PIPELINE_TYPE == 'backup-long-term-logs' || $UPDATE_PAGES || $MANUAL_PIPELINE_TYPE == 'complexity' || $MEASURE_COMPLEXITY_LINUX
    - if: $MANUAL_PIPELINE_TYPE == 'long-term-logs' || $MANUAL_PIPELINE_TYPE == 'backup-long-term-logs' || $MANUAL_PIPELINE_TYPE == 'ivas-conformance-linux' || $MANUAL_PIPELINE_TYPE == 'runner-speed-test' || $MANUAL_PIPELINE_TYPE == 'backup-long-term-logs' || $UPDATE_PAGES || $MANUAL_PIPELINE_TYPE == 'complexity' || $MEASURE_COMPLEXITY_LINUX
      when: never
    - if: $CI_PIPELINE_SOURCE == 'web'
    - if: $CI_PIPELINE_SOURCE == 'push' && $CI_COMMIT_BRANCH == $CI_DEFAULT_BRANCH
@@ -24,7 +24,7 @@ build-codec-linux-make:
# ensure that codec builds on linux with cmake
build-codec-linux-cmake:
  rules:
    - if: $MANUAL_PIPELINE_TYPE == 'long-term-logs' || $MANUAL_PIPELINE_TYPE == 'backup-long-term-logs' || $MANUAL_PIPELINE_TYPE == 'ivas-conformance-linux' || $UPDATE_PAGES
    - if: $MANUAL_PIPELINE_TYPE == 'long-term-logs' || $MANUAL_PIPELINE_TYPE == 'backup-long-term-logs' || $MANUAL_PIPELINE_TYPE == 'runner-speed-test' || $MANUAL_PIPELINE_TYPE == 'ivas-conformance-linux' || $UPDATE_PAGES
      when: never
    - if: $CI_PIPELINE_SOURCE == 'push' && $CI_COMMIT_BRANCH == $CI_DEFAULT_BRANCH
    - if: $CI_PIPELINE_SOURCE == 'merge_request_event'
@@ -46,7 +46,7 @@ build-codec-linux-cmake:
# ensure that codec builds on linux with instrumentation active
build-codec-linux-instrumented-make:
  rules:
    - if: $MANUAL_PIPELINE_TYPE == 'long-term-logs' || $MANUAL_PIPELINE_TYPE == 'backup-long-term-logs' || $UPDATE_PAGES
    - if: $MANUAL_PIPELINE_TYPE == 'long-term-logs' || $MANUAL_PIPELINE_TYPE == 'backup-long-term-logs' || $UPDATE_PAGES || $MANUAL_PIPELINE_TYPE == 'runner-speed-test'
      when: never
    - if: $MEASURE_COMPLEXITY_LINUX || $MANUAL_PIPELINE_TYPE == 'complexity'
    - if: $CI_PIPELINE_SOURCE == 'push' && $CI_COMMIT_BRANCH == $CI_DEFAULT_BRANCH
@@ -71,7 +71,7 @@ build-codec-linux-instrumented-make:
# make sure that the codec builds with msan, asan and usan
build-codec-sanitizers-linux:
  rules:
    - if: $MANUAL_PIPELINE_TYPE == 'long-term-logs' || $MANUAL_PIPELINE_TYPE == 'backup-long-term-logs' || $UPDATE_PAGES
    - if: $MANUAL_PIPELINE_TYPE == 'long-term-logs' || $MANUAL_PIPELINE_TYPE == 'backup-long-term-logs' || $UPDATE_PAGES || $MANUAL_PIPELINE_TYPE == 'runner-speed-test'
      when: never
    - if: $MANUAL_PIPELINE_TYPE == 'sanitizer'
    - if: $CI_PIPELINE_SOURCE == 'push' && $CI_COMMIT_BRANCH == $CI_DEFAULT_BRANCH
+22 −9
Original line number Diff line number Diff line
@@ -44,6 +44,7 @@ variables:
      - 'test-branch-vs-input-passthrough'
      - 'coverage'
      - 'complexity'
      - 'runner-speed-test'

  PYTEST_ARGS: ""
  COVERAGE_OUTPUT_FILE_STV: "coverage-stv.info"
@@ -97,6 +98,9 @@ workflow:
    - if: $CI_PIPELINE_SOURCE == 'web' && $MANUAL_PIPELINE_TYPE == 'complexity'
      variables:
        IVAS_PIPELINE_NAME: 'Complexity Measurement on $CI_COMMIT_BRANCH'
    - if: $CI_PIPELINE_SOURCE == 'web' && $MANUAL_PIPELINE_TYPE == 'runner-speed-test'
      variables:
        IVAS_PIPELINE_NAME: "Runner speed test: $CI_COMMIT_BRANCH"        

# ---------------------------------------------------------------
# Rules templates
@@ -352,18 +356,27 @@ basop-compat-encoder-ltv:

# test that runs all modes with 1s input signals
codec-smoke-test-float:
  rules:
    - if: $CI_PIPELINE_SOURCE == 'web' && $MANUAL_PIPELINE_TYPE == "runner-speed-test"
  stage: test
  parallel:
    matrix:
      - RUNNER:
        - test-fhg-linux-runner4
        - test-ericsson-linux-runner-6
        - test-ericsson-linux-runner-7
        - test-ericsson-linux-sprinter-1
        - test-fhg-linux-runner3
        - test-ericsson-linux-runner
        - test-fhg-linux-runner2
        - test-nokia-linux-runner
        - test-fhg-linux-runner1
  tags:
    - ${RUNNER}
  extends:
    - .smoke-test-template
    - .rules-merge-request-to-main
  timeout: "20 minutes"
  timeout: "1 hour"
  stage: test
  needs:
    [
      "build-codec-linux-cmake",
      "build-codec-linux-make",
      "build-codec-linux-instrumented-make",
      "build-codec-sanitizers-linux",
    ]
  script:
    - bash ci/smoke_test.sh