]> git.ipfire.org Git - thirdparty/bind9.git/commit
Script for random algorithm selection in system tests
authorTom Krizek <tkrizek@isc.org>
Tue, 25 Oct 2022 15:45:16 +0000 (17:45 +0200)
committerTom Krizek <tkrizek@isc.org>
Thu, 27 Oct 2022 11:24:52 +0000 (13:24 +0200)
commit550c0e8964387723d18dbfc42495b293d1c503e5
treee086bd682de58fd609684e4bcad2b199547130ed
parent01b4a28d59feb5563c7e4925752efa73ebfa1a9f
Script for random algorithm selection in system tests

Multiple algorithm sets can be defined in this script. These can be
selected via the ALGORITHM_SET environment variable. For compatibility
reasons, "stable" set contains the currently used algorithms, since our
system tests need some changes before being compatible with randomly
selected algorithms.

The script operation is similar to the get_ports.py - environment
variables are created and then printed out as `export NAME=VALUE`
commands, to be interpreted by shell. Once we support pytest runner for
system tests, this should be a fixture instead.

(cherry picked from commit 5f480c8485261f32b0e9b15630cebed0e8d80eaa)
bin/tests/system/get_algorithms.py [new file with mode: 0755]