View Change
3 comments:
Commit Message:
Patch Set #1, Line 20: make unit-tests
Here's what I get:
$ make unit-tests
- Restart config...
- General setup
- Local version string (LOCALVERSION) [] (NEW)
and it's waiting for me to answer all the config questions. Was there a missing step?
Patch Set #1, Line 13:
In order to run this example, one need to install (beside general
coreboot dependencies) cmocka package:
sudo apt-get install -y libcmocka-dev
sudo emerge dev-util/cmocka
yum install libcmocka-devel
After invoking:
make unit-tests
report from unit test will be created and shown on the screen
Change this to a TEST= line, such as TEST=Install cmocka via appropriate command:
- sudo apt-get install -y libcmocka-dev
- sudo emerge dev-util/cmocka
- yum install libcmocka-devel
- Build and run unit tests via `make unit-tests`
- Check the output to see that tests passed.
Patch Set #1, Line 23:
This test harness definitely isn't complete, as it only checks for some
functions within module. Purpose of this code is only an example and a
starting point for a discussion about implementation.
You don't need to explain this; the first paragraph already says this is a basic example.
To view, visit change 40538. To unsubscribe, or for help writing mail filters, visit settings.
Gerrit-Project: coreboot
Gerrit-Branch: master
Gerrit-Change-Id: Ibf5554d1e99a393721a66bdd35af0122c2e412c4
Gerrit-Change-Number: 40538
Gerrit-PatchSet: 1
Gerrit-Owner: Name of user not set #1002873
Gerrit-Reviewer: Martin Roth <martinroth@google.com>
Gerrit-Reviewer: Patrick Georgi <pgeorgi@google.com>
Gerrit-Reviewer: build bot (Jenkins) <no-reply@coreboot.org>
Gerrit-CC: Julius Werner <jwerner@chromium.org>
Gerrit-CC: Paul Fagerburg <pfagerburg@chromium.org>
Gerrit-CC: Paul Menzel <paulepanter@users.sourceforge.net>
Gerrit-Comment-Date: Tue, 21 Apr 2020 15:29:03 +0000
Gerrit-HasComments: Yes
Gerrit-Has-Labels: No
Gerrit-MessageType: comment