mirror of
https://github.com/YosysHQ/yosys
synced 2026-06-17 14:26:22 +00:00
Remove old Makefile and fix documentation
This commit is contained in:
parent
2bab5d3fa5
commit
247bcfed65
2 changed files with 4 additions and 68 deletions
|
|
@ -164,6 +164,9 @@ compiler versions. For up to date information, including OS versions, refer to
|
|||
test for ``kernel/celledges.cc``, you will need to create a file like this:
|
||||
``tests/unit/kernel/celledgesTest.cc``;
|
||||
* Implement your unit test
|
||||
* Add unit test to file list in `CMakeLists.txt`
|
||||
In case unit tests are added to new directory, note that you need also to
|
||||
create new `CmakeList.txt` file and add ``yosys_gtest(dir-name unit-test.cc)```
|
||||
|
||||
Run unit tests
|
||||
~~~~~~~~~~~~~~
|
||||
|
|
@ -172,10 +175,5 @@ compiler versions. For up to date information, including OS versions, refer to
|
|||
|
||||
.. code-block:: console
|
||||
|
||||
make unit-test
|
||||
cmake --build build --target test-unit
|
||||
|
||||
If you want to remove all unit test files, type:
|
||||
|
||||
.. code-block:: console
|
||||
|
||||
make clean-unit-test
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue