mirror of
https://github.com/YosysHQ/yosys
synced 2025-10-10 09:48:06 +00:00
tests: report time per target, eliminate interleaving lines on stdout
This commit is contained in:
parent
d5053033e4
commit
7f030c986c
13 changed files with 14 additions and 19 deletions
|
@ -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 \"PASS $target_name %%e seconds\" $test_command >/dev/null 2>/dev/null\n"
|
||||
}
|
||||
|
||||
# $ generate_ys_test ys_file [yosys_args]
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue