From e83abe9fdbab07e6df80443240d4d649303a3dd4 Mon Sep 17 00:00:00 2001 From: Kévin Le Gouguec Date: Fri, 22 Mar 2019 16:41:34 +0100 Subject: [implem-python] Déplacement dans le dossier SOUMISSION_NIST MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Et ajout d'un métascript pour vérifier la conformité. Il ne reste plus qu'à… (bis) --- test/python.sh | 11 +++++++++++ 1 file changed, 11 insertions(+) create mode 100755 test/python.sh (limited to 'test/python.sh') diff --git a/test/python.sh b/test/python.sh new file mode 100755 index 0000000..ea23caf --- /dev/null +++ b/test/python.sh @@ -0,0 +1,11 @@ +#!/bin/bash + +set -eu + +TEST_DIR=$(dirname $0) +ROOT_DIR=${TEST_DIR}/.. + +make -C ${ROOT_DIR} nist + +./python/generate-vectors.sh +./python/compare.sh -- cgit v1.2.3 From ec43894288a070a04e5ba837602c5eec38f332f2 Mon Sep 17 00:00:00 2001 From: Kévin Le Gouguec Date: Sat, 23 Mar 2019 23:30:57 +0100 Subject: [implem-python] Accélération du test d'implémentation Python MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Idéalement, il faudrait rajouter les bonnes dépendances dans le Makefile… --- test/python.sh | 5 ----- 1 file changed, 5 deletions(-) (limited to 'test/python.sh') diff --git a/test/python.sh b/test/python.sh index ea23caf..720daaa 100755 --- a/test/python.sh +++ b/test/python.sh @@ -2,10 +2,5 @@ set -eu -TEST_DIR=$(dirname $0) -ROOT_DIR=${TEST_DIR}/.. - -make -C ${ROOT_DIR} nist - ./python/generate-vectors.sh ./python/compare.sh -- cgit v1.2.3 From fad848887249da22a83e4f35dab3d80f8c590d4d Mon Sep 17 00:00:00 2001 From: Kévin Le Gouguec Date: Sun, 24 Mar 2019 14:15:56 +0100 Subject: [implem-python] Ajustement du script de test Python MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit De sorte à ce qu'on puisse le lancer depuis n'importe quel dossier. --- test/python.sh | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) (limited to 'test/python.sh') diff --git a/test/python.sh b/test/python.sh index 720daaa..df4ce01 100755 --- a/test/python.sh +++ b/test/python.sh @@ -2,5 +2,7 @@ set -eu -./python/generate-vectors.sh -./python/compare.sh +TEST_DIR=$(dirname $0) + +${TEST_DIR}/python/generate-vectors.sh +${TEST_DIR}/python/compare.sh -- cgit v1.2.3