Commit 08adcd1f authored by Vladimir Malenovsky's avatar Vladimir Malenovsky
Browse files

test runner

parent b4edaaa8
Loading
Loading
Loading
Loading
Loading
+60 −0
Original line number Diff line number Diff line
@@ -15,3 +15,63 @@ include:
  - project: ivas-codec-pc/ivas-codec-ci
    ref: *IVAS_CODEC_CI_REF
    file: main-float.yml


# Invoke on push and on web run
workflow:
  rules:
    - if: $CI_PIPELINE_SOURCE == "push"
    - if: $CI_PIPELINE_SOURCE == "web"

stages:
  - test

# Test that necessary dependencies are found
test_dependencies:
  stage: test
  tags:
    - test-dolby-linux-runner # Add targeted runner tag here
  script:
    - echo 0 > zero # Helper file
    - echo "Runner successfully running"
    - gcc -v
    - clang -v
    - make -v
    - cmake --version
    - git --version
    - git lfs --version
    - valgrind --version
    - coan -v
    - zip --version
    - curl --version
    - tcsh --version
    - lcov --version
    
    - echo "Test existence of tools which should return 0"
    - eid-xor zero zero /dev/null 
    - networkSimulator_g192 zero /dev/null /dev/null /dev/null 1 
    - gen-patt /dev/null F 1 1 /dev/null 0
    
    - python3 --version
    - pip3 show numpy # Use of pip is assumed for python dependencies
    - pip3 show scipy
    - pip3 show plotly
    - pip3 show pytest
    - pip3 show pytest-xdist
    - pip3 show pytest-html
    - pip3 show matplotlib
    - pip3 show pandas 
    - pip3 show requests
    - pip3 show bitstring
    - pip3 list
    - whoami
    - whoami | groups
    
    - ls -d /usr/local/ltv
    - ls -d /usr/local/testv
    - ls -d /usr/local/be_2_evs_test
    
    # Checks for BASOP runners, comment out if not relevant
    - ls -d /usr/local/scripts
    - ls -d /usr/local/be_2_evs_basop
    - PQevalAudio --help