3
0
Fork 0
mirror of https://github.com/YosysHQ/yosys synced 2025-10-17 13:00:29 +00:00

tests: avoid interleaving lines in test output

This commit is contained in:
Emil J. Tywoniak 2025-09-19 18:09:47 +02:00
parent 8371adf6b5
commit 3dd3079095
13 changed files with 14 additions and 19 deletions

View file

@ -9,8 +9,7 @@ generate_target() {
echo "all: $target_name"
echo ".PHONY: $target_name"
echo "$target_name:"
printf "\t@%s\n" "$test_command"
printf "\t@echo 'Passed %s'\n" "$target_name"
printf "\t@/usr/bin/env time -f \"Test $target_name took %%e\" $test_command >/dev/null 2>/dev/null\n"
}
# $ generate_ys_test ys_file [yosys_args]