3
0
Fork 0
mirror of https://github.com/YosysHQ/yosys synced 2025-04-23 00:55:32 +00:00

test: every test everywhere all at once

This commit is contained in:
Emil J. Tywoniak 2024-12-12 01:28:36 +01:00
parent e91e95f501
commit 603e5eb30a
2 changed files with 98 additions and 63 deletions

View file

@ -4,7 +4,7 @@ YOSYS_BASEDIR="$(cd "$(dirname "${BASH_SOURCE[0]}")"/../ >/dev/null 2>&1 && pwd)
# $ generate_target target_name test_command
generate_target() {
target_name=$1
target_name=$(basename $PWD)-$1
test_command=$2
echo "all: $target_name"
echo ".PHONY: $target_name"
@ -107,5 +107,5 @@ generate_tests() {
run_tests() {
generate_tests "$@" > run-test.mk
exec ${MAKE:-make} -f run-test.mk
# exec ${MAKE:-make} -f run-test.mk
}