bind9/bin/tests/system/runsequential.sh
Tom Krizek ac1e7eb40d
Invoke pytest runner from run.sh
Utilize developers' muscle memory to incentivize using the pytest runner
instead of the legacy one. The script also serves as basic examples of
how to run the pyest command to achieve the same results as the legacy
runner.

Invoking pytest directly should be the end goal, since it offers many
potentially useful options (refer to pytest --help).

(cherry picked from commit 4dbe8e5347)

(also manually added a additional run.sh -> legacy.run.sh renames)
2023-05-23 17:41:33 +02:00

26 lines
787 B
Bash
Executable file

#!/bin/sh
# Copyright (C) Internet Systems Consortium, Inc. ("ISC")
#
# SPDX-License-Identifier: MPL-2.0
#
# This Source Code Form is subject to the terms of the Mozilla Public
# License, v. 2.0. If a copy of the MPL was not distributed with this
# file, you can obtain one at https://mozilla.org/MPL/2.0/.
#
# See the COPYRIGHT file distributed with this work for additional
# information regarding copyright ownership.
# Run system tests that must be run sequentially
#
# Note: Use "make check" (or runall.sh) to run all the system tests. This
# script will just run those tests that require that each of their nameservers
# is the only one running on an IP address.
#
. ./conf.sh
for d in $SEQUENTIALDIRS
do
$SHELL legacy.run.sh "${@}" "$d" 2>&1 | tee "test.output.$d"
done