Commit 7f1281f0 authored by Fabian Müller's avatar Fabian Müller
Browse files

Replace check-for-testvectors with shell script

parent 40516f6c
Loading
Loading
Loading
Loading
+1 −4
Original line number Diff line number Diff line
@@ -66,9 +66,6 @@ stages:
    echo "Commit time was $CI_COMMIT_TIMESTAMP"
    ("echo 'System time is'", "Get-Date -Format 'dddd dd/MM/yyyy HH:mm K'") | Invoke-Expression

.check-for-testvectors: &check-for-testvectors # check if the testvector files specified in scripts/config/ci_linux*.json are present
  - python3 -m pytest ci/test_vectors_available.py

.disable-debugging-macro: &disable-debugging-macro
# automatically disable #DEBUGGING macro in options.h using /**/-comment
  - sed -i.bak -e "s/^[[:space:]]*\(#define[[:space:]]*DEBUGGING\)/\/\*\1\*\//g" lib_com/options.h
@@ -1162,7 +1159,7 @@ check-first-frame-is-sid:
    - *update-ltv-repo
    # this rm makes check-for-testvectors only check for the signals we actually need in this test
    - rm scripts/config/ci_linux_ltv.json scripts/config/ci_linux.json
    - *check-for-testvectors
    - bash "${CI_PROJECT_DIR}"/.gitlab-ci/snippets/check-for-testvectors.sh
    - bash ci/run-first-frame-is-sid-test.sh

  artifacts:
+7 −0
Original line number Diff line number Diff line
#! /bin/bash

set -euo pipefail

cd "${CI_PROJECT_DIR}"

exec python3 -m pytest ci/test_vectors_available.py