User Tools

Site Tools


for_developers:testing

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
Next revision
Previous revision
for_developers:testing [2019/03/02 17:31]
graf [Running the Tests]
for_developers:testing [2020/07/02 12:00] (current)
ursgraf [Running the Tests]
Line 10: Line 10:
  
 ===== Running the Tests ===== ===== Running the Tests =====
-Navigate to the directory ''​test''​ of the build directory of eeros and run the tests as follows.: ​+Make sure to compile the unit tests with the cmake argument ''​-DUSE_TESTS=TRUE''​. ​Navigate to the directory ''​test''​ of the build directory of eeros and run the tests as follows.: ​
 <code cpp> <code cpp>
 $ ./​unitTests ​ --library sim                  // run all the tests using the simulator as hal $ ./​unitTests ​ --library sim                  // run all the tests using the simulator as hal
Line 23: Line 23:
 </​code>​ </​code>​
  
-For the test with the HAL you need to install the [[getting_started:​install_wrapper#​simulator|]].+For the test with the HAL you need to install the [[getting_started:​install_wrapper#​simulator|]] ​and set the library path (see [[getting_started:​deploy|]]) so that the simulator library can be found.
  
for_developers/testing.1551544281.txt.gz · Last modified: 2019/03/02 17:31 by graf