Skip to content
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

[help] confirming ostest output in KERNEL mode #2246

Open
yf13 opened this issue Dec 30, 2023 · 2 comments
Open

[help] confirming ostest output in KERNEL mode #2246

yf13 opened this issue Dec 30, 2023 · 2 comments

Comments

@yf13
Copy link
Contributor

yf13 commented Dec 30, 2023

Thanks for making ostest loadable in KERNEL mode NuttX!

I run it with kernel build on CanMV230 and got the following dumps at the end:

Final memory usage:                                                             
VARIABLE  BEFORE   AFTER                                                        
======== ======== ========                                                      
arena       80ff8    80ff8                                                      
ordblks         2        4                                                      
mxordblk    7cff0    787f0                                                      
uordblks     2658     3598                                                      
fordblks    7e9a0    7da60                                                      
user_main: Exiting                                                              
ostest_main: Exiting with status -1 

Is this expected? I understand that test cases might be different from FLAT build, but not sure on the exit code.

@xiaoxiang781216
Copy link
Contributor

@fxysunshine could you take a look?

@yf13
Copy link
Contributor Author

yf13 commented Jan 6, 2024

On rv-virt/knsh64. the exit code is also -1:

sched_lock: Finished

End of test memory usage:
VARIABLE  BEFORE   AFTER
======== ======== ========
arena       80ff8    80ff8
ordblks        10        4
mxordblk    6c7f0    787f0
uordblks     65f8     3598
fordblks    7aa00    7da60

user_main: vfork() test DISABLED (CONFIG_BUILD_KERNEL)

Final memory usage:
VARIABLE  BEFORE   AFTER
======== ======== ========
arena       80ff8    80ff8
ordblks         2        4
mxordblk    7cff0    787f0
uordblks     2658     3598
fordblks    7e9a0    7da60
user_main: Exiting
ostest_main: Exiting with status -1
nsh>

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants