You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
In the unit test semtest, the sem_id doesn't meet the constraint in the test spec file.
Commit
7e99100 unittest: Adapt tests on sfs to the current sfsimg.
Reproduce Steps
cd ucore
make ARCH=i386 menuconfig
UCORE_TEST=/testbin/semtest make kernel
UCORE_TEST=/testbin/semtest make sfsimg
make swapimg
./uCore_test -sf src/user-ucore/testspecs/semtest.testspec
Current Result
The unit test fail with
!! error: missing 'sem_id = 0x07......'
In serial.log, the sem_id is
sem_id = 0x000000011fe625e0
Expected Result
The unit test doesn't fail with the line mentioned above.
Either provide a fix for the kernel or update the test spec with reasonable analysis.
The text was updated successfully, but these errors were encountered:
If so, this may not be an issue on arm as it's sem_id is the 64-bit representation of the required in pattern "0x07......". But the sem_id on i386 still looks strange to me.
BTW, what's the problem caused by sem_id starting from 0?
If so, this may not be an issue on arm as it's sem_id is the 64-bit
representation of the required in pattern "0x07......". But the sem_id on
i386 still looks strange to me.
BTW, what's the problem caused by sem_id starting from 0?
—
Reply to this email directly or view it on GitHubhttps://github.com//issues/5#issuecomment-8400567.
Description
In the unit test semtest, the sem_id doesn't meet the constraint in the test spec file.
Commit
7e99100 unittest: Adapt tests on sfs to the current sfsimg.
Reproduce Steps
cd ucore
make ARCH=i386 menuconfig
UCORE_TEST=/testbin/semtest make kernel
UCORE_TEST=/testbin/semtest make sfsimg
make swapimg
./uCore_test -sf src/user-ucore/testspecs/semtest.testspec
Current Result
The unit test fail with
In serial.log, the sem_id is
Expected Result
The unit test doesn't fail with the line mentioned above.
Either provide a fix for the kernel or update the test spec with reasonable analysis.
The text was updated successfully, but these errors were encountered: