-
-
Notifications
You must be signed in to change notification settings - Fork 3.9k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Add pe unittest #36188
base: main
Are you sure you want to change the base?
Add pe unittest #36188
Conversation
5ef0b50
to
931f096
Compare
931f096
to
41c610e
Compare
41c610e
to
a9abdc2
Compare
Failures are because it can't find dtc. Hopefully someone wiser knows where to add this package so that the CI is happy. I give up! ping @anonymix007 @poettering |
a9abdc2
to
98db413
Compare
3883ec5
to
84a2754
Compare
Looks like there is no agreement between distros on how to call the package for |
If you check further into the mkosi config subdirectory, there are per-distribution package list, so add it there with the per-distro name instead of the general one |
abc501f
to
d998600
Compare
I can't find where to put the |
bdc418d
to
18883fb
Compare
Those are in separate repositories - but the build should not fail if it's not present, the test should be marked as SKIPPED instead |
Shouldn't we make this part of an integration test instead of a unit test? Seems a bit too dependency heavy to make it a unit test. |
6f7abe2
to
0af39e7
Compare
0cbdefc
to
7d277f0
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looks much better. But several more requests.
Could you swap the order of the last two commits? Without the new test, mkosi changes are meaningless.
The intention was to never have a commit at which CI could be broken. But sure, will do |
7d277f0
to
06065ff
Compare
If mkosi config is not updated, the new test should be simply skipped on CI environments. Hence, the test should and can be introduced at first (though, that's not a big matter). |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM superficially.
I am not familiar with device-tree and so on.
Let's wait for other reviewers.
Used for dummy symbol definitions
Fix some compilation issues while at it
06065ff
to
00bfbd9
Compare
Remove some functions unsuitable for userspace tests Also add utility macros to obtain pointers to sections
dtc is going to be used in unit tests
00bfbd9
to
31c0312
Compare
Ping! @poettering |
Add pe unit tests
Took @anonymix007 's changes, rebased on top of latest main and make sure it builds and passes unit test in my workspace. See #35091