Minor "make vgtest" changes

This commit is contained in:
Clifford Wolf 2015-02-08 15:13:51 +01:00
parent 6d2f31c04a
commit 0fcc8c1467
2 changed files with 6 additions and 2 deletions

View File

@ -286,7 +286,8 @@ Run all tests with "make config-{clang,gcc,gcc-4.6}":
cd ~yosys
make clean
make test vloghtb
make test
make vloghtb
make install
cd ~yosys-bigsim
@ -301,6 +302,9 @@ Run all tests with "make config-{clang,gcc,gcc-4.6}":
Then with default config setting:
cd ~yosys
make vgtest
cd ~yosys
./yosys -p 'proc; show' tests/simple/fiedler-cooley.v
./yosys -p 'proc; opt; show' tests/simple/fiedler-cooley.v

View File

@ -320,7 +320,7 @@ test: $(TARGETS) $(EXTRA_TARGETS)
VALGRIND ?= valgrind --error-exitcode=1 --leak-check=full --show-reachable=yes --errors-for-leak-kinds=all
vgtest: $(TARGETS) $(EXTRA_TARGETS)
$(VALGRIND) ./yosys -p 'setattr -mod -unset top; hierarchy; proc; opt; memory -nomap; opt -fine; techmap; opt' $$( ls tests/simple/*.v | grep -v repwhile.v )
$(VALGRIND) ./yosys -p 'setattr -mod -unset top; synth' $$( ls tests/simple/*.v | grep -v repwhile.v )
@echo ""
@echo " Passed \"make vgtest\"."
@echo ""