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 freestanding
to all
and test
of tests/Makefile
#1198
Conversation
59578be
to
95d7c29
Compare
Sorry, I forgot about |
Could you tell me why |
Lines 156 to 161 in 1f3adea
Also, due to lack of my experience with freestanding Linux environment, I just avoid to #include almost everything. As a result, the following line causes incompatibility: Line 154 in 1f3adea
Because each platform has its own numbers for syscall x64 (exit = x86 (exit = We may need to include |
Thanks for the clear explanation @t-mat !
Isn't the idea of including anything going against the very concept of freestanding ? edit : In which case, of course, the test itself can be specific to certain platforms. Maybe this could be called out explicitly in the unit name ? |
Right. If we can successfully run
Yes. It'd be nice to have explicit / specific name (and maybe test) for them. |
Hi @t-mat , it seems I completely lost track of this PR. If I understand correctly, all it does is enable Is it still valid as is ? |
Yeah, I also suspect this PR is outdated. I've tried to implement wider support of freestanding test. But it seems it's been failed. Please close this PR for now. |
Follow up of #1184 and #1187
Now
tests/Makefile
containsfreestanding
as a member ofall
.test-freestanding
as a member oftest
.Note that as for
all32
(-m32
) builds,test-freestanding
skips its actual test.