This is the mail archive of the ecos-discuss@sourceware.cygnus.com mailing list for the eCos project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

Re: Two questions about testing.


Sergei Organov wrote:
> 
> I think the test for HAL FPU support should run 3 threads at the same
> priority level that are time-sliced. Two of these threads should perform
> floating point computations, and one should not use floating point (to test
> not yet implemented lazy FPU context switches). I also think this test belongs
> to 'hal/common' set.
> 
> Any comments?

A test involving kernel threads should live in kernel/, even though the
functionality being tested is in the HAL. If you put it in hal/common you'd
still have to make it conditional on CYGPKG_KERNEL anyway.

Also, while not an absolute requirement, if you could avoid using libm
functions that would be good so the test can still run if libm is disabled.

Jifl
-- 
Red Hat, 35 Cambridge Place, Cambridge, UK. CB2 1NS  Tel: +44 (1223) 728762
"Plan to be spontaneous tomorrow."  ||  These opinions are all my own fault

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]