enhance instruction for running single test
This commit is contained in:
parent
75f38f6913
commit
964e595af2
|
@ -3,8 +3,8 @@ See https://github.com/rusefi/rusefi/wiki/Dev-Quality-Control
|
|||
TL, DR: just follow [tests](tests) folder as examples. gcc/makefile/gtest
|
||||
|
||||
1. Run 'make' to build desktop binary.
|
||||
1. Execute rusefi_test binary on your PC/Mac, it's expected to say SUCCESS and not fail :) Googletest will also print results summary.
|
||||
1. To run only one test uncomment and modify [main.cpp](https://github.com/rusefi/rusefi/blob/master/unit_tests/main.cpp) line ``::testing::GTEST_FLAG(filter)``
|
||||
2. Execute rusefi_test binary on your PC/Mac, it's expected to say SUCCESS and not fail :) Googletest will also print results summary.
|
||||
3. To run only one test use command line like ```build/rusefi_test --gtest_filter=*TEST_NAME*``` ~~uncomment and modify [main.cpp](https://github.com/rusefi/rusefi/blob/master/unit_tests/main.cpp) line ``::testing::GTEST_FLAG(filter)``~~
|
||||
|
||||
In this folder we have rusEFI unit tests using https://github.com/google/googletest
|
||||
|
||||
|
|
Loading…
Reference in New Issue