From 0f1f4c460df24d7fe6a3d5c02fdb9fc3c8000015 Mon Sep 17 00:00:00 2001 From: J08nY Date: Tue, 24 Aug 2021 15:04:56 +0200 Subject: Fix standalone list-suites command. --- .../ectester/standalone/test/suites/StandaloneMiscSuite.java | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) (limited to 'src') diff --git a/src/cz/crcs/ectester/standalone/test/suites/StandaloneMiscSuite.java b/src/cz/crcs/ectester/standalone/test/suites/StandaloneMiscSuite.java index f5491ee..f371fc0 100644 --- a/src/cz/crcs/ectester/standalone/test/suites/StandaloneMiscSuite.java +++ b/src/cz/crcs/ectester/standalone/test/suites/StandaloneMiscSuite.java @@ -40,16 +40,17 @@ public class StandaloneMiscSuite extends StandaloneTestSuite { "\t - gt/kpg-type", "\t - kt/ka-type (select multiple types by separating them with commas)", "\t - st/sig-type (select multiple types by separating them with commas)"); + } + + @Override + protected void runTests() throws Exception { kpgAlgo = cli.getOptionValue("test.kpg-type"); kaAlgo = cli.getOptionValue("test.ka-type"); sigAlgo = cli.getOptionValue("test.sig-type"); kaTypes = kaAlgo != null ? Arrays.asList(kaAlgo.split(",")) : new ArrayList<>(); sigTypes = sigAlgo != null ? Arrays.asList(sigAlgo.split(",")) : new ArrayList<>(); - } - - @Override - protected void runTests() throws Exception { + KeyPairGeneratorIdent kpgIdent; if (kpgAlgo == null) { // try EC, if not, fail with: need to specify kpg algo. -- cgit v1.2.3-70-g09d2