chyyuu / ucore_os_plus

232 stars 132 forks source link

The unit test 'primer' takes too much time #8

Open eternalNight opened 12 years ago

eternalNight commented 12 years ago

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.