From e673dfd744efe55fb2e9bcd79622c85d3823b0e6 Mon Sep 17 00:00:00 2001 From: knj Date: Mon, 19 Jun 2023 13:14:45 +0200 Subject: [PATCH 1/2] move check for testvectors script out of tests --- .gitlab-ci.yml | 2 +- {tests/ci => ci}/test_vectors_available.py | 0 2 files changed, 1 insertion(+), 1 deletion(-) rename {tests/ci => ci}/test_vectors_available.py (100%) diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index d824b11f3e..fa312b8b4a 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -71,7 +71,7 @@ stages: .check-for-testvectors: &check-for-testvectors # check if the testvector files specified in scripts/config/ci_linux*.json are present - - python3 -m pytest tests/ci/test_vectors_available.py + - python3 -m pytest ci/test_vectors_available.py .merge-request-comparison-setup-codec: &merge-request-comparison-setup-codec ### build test binaries, initial clean for paranoia reasons diff --git a/tests/ci/test_vectors_available.py b/ci/test_vectors_available.py similarity index 100% rename from tests/ci/test_vectors_available.py rename to ci/test_vectors_available.py -- GitLab From 76aca2a49b7823b522fce8b344e3560719498535 Mon Sep 17 00:00:00 2001 From: knj Date: Mon, 19 Jun 2023 13:35:56 +0200 Subject: [PATCH 2/2] fix relative path to config directory --- ci/test_vectors_available.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ci/test_vectors_available.py b/ci/test_vectors_available.py index 42a9945d82..ecff222fdf 100644 --- a/ci/test_vectors_available.py +++ b/ci/test_vectors_available.py @@ -3,7 +3,7 @@ import pathlib import json import itertools -TEST_CONFIG_DIR = pathlib.Path(__file__).parent.parent.parent.joinpath("scripts/config") +TEST_CONFIG_DIR = pathlib.Path(__file__).parent.parent.joinpath("scripts/config") TEST_CONFIGS = [f for f in TEST_CONFIG_DIR.iterdir() if f.name.startswith("ci_linux")] def get_testvectors_from_config(config) -> list: -- GitLab