The test 'primer' is soooo slow (10 minutes isn't enough for it to finish the work). As the maximum time allowed for a Qemu test instance to run is 600 seconds (and 10 seconds by default), this test will always time out and make a failure.
Commit
7e99100 unittest: Adapt tests on sfs to the current sfsimg.
Reproduce Steps
cd ucore
make ARCH=i386 menuconfig
UCORE_TEST=/testbin/primer make kernel
UCORE_TEST=/testbin/primer make sfsimg
make swapimg
./uCore_run
Current Result
You can have a sound sleep before the program exits :)
Expected Result
The test takes as much time as primer2 and primer3.
Description
The test 'primer' is soooo slow (10 minutes isn't enough for it to finish the work). As the maximum time allowed for a Qemu test instance to run is 600 seconds (and 10 seconds by default), this test will always time out and make a failure.
Commit
7e99100 unittest: Adapt tests on sfs to the current sfsimg.
Reproduce Steps
cd ucore make ARCH=i386 menuconfig UCORE_TEST=/testbin/primer make kernel UCORE_TEST=/testbin/primer make sfsimg make swapimg ./uCore_run
Current Result
You can have a sound sleep before the program exits :)
Expected Result
The test takes as much time as primer2 and primer3.