mirror of
https://github.com/YosysHQ/yosys
synced 2025-04-07 09:55:20 +00:00
Add "make ystests"
Signed-off-by: Clifford Wolf <clifford@clifford.at>
This commit is contained in:
parent
d36d11936f
commit
0b7a18470b
1
.gitignore
vendored
1
.gitignore
vendored
|
@ -34,3 +34,4 @@
|
||||||
/libyosys.so
|
/libyosys.so
|
||||||
/tests/unit/bintest/
|
/tests/unit/bintest/
|
||||||
/tests/unit/objtest/
|
/tests/unit/objtest/
|
||||||
|
/tests/ystests
|
||||||
|
|
|
@ -373,6 +373,7 @@ Finally run all tests with "make config-{clang,gcc,gcc-4.8}":
|
||||||
cd ~yosys
|
cd ~yosys
|
||||||
make clean
|
make clean
|
||||||
make test
|
make test
|
||||||
|
make ystests
|
||||||
make vloghtb
|
make vloghtb
|
||||||
make install
|
make install
|
||||||
|
|
||||||
|
|
8
Makefile
8
Makefile
|
@ -585,6 +585,14 @@ vloghtb: $(TARGETS) $(EXTRA_TARGETS)
|
||||||
@echo " Passed \"make vloghtb\"."
|
@echo " Passed \"make vloghtb\"."
|
||||||
@echo ""
|
@echo ""
|
||||||
|
|
||||||
|
ystests: $(TARGETS) $(EXTRA_TARGETS)
|
||||||
|
rm -rf tests/ystests
|
||||||
|
git clone https://github.com/YosysHQ/yosys-tests.git tests/ystests
|
||||||
|
+PATH="$$PWD:$$PATH" cd tests/ystests && $(MAKE)
|
||||||
|
@echo ""
|
||||||
|
@echo " Finished \"make ystests\"."
|
||||||
|
@echo ""
|
||||||
|
|
||||||
# Unit test
|
# Unit test
|
||||||
unit-test: libyosys.so
|
unit-test: libyosys.so
|
||||||
@$(MAKE) -C $(UNITESTPATH) CXX="$(CXX)" CPPFLAGS="$(CPPFLAGS)" \
|
@$(MAKE) -C $(UNITESTPATH) CXX="$(CXX)" CPPFLAGS="$(CPPFLAGS)" \
|
||||||
|
|
Loading…
Reference in a new issue