how valid are the test *.scn files?

Andrew Klossner andrew at user2.teleport.com
Thu Mar 30 19:00:42 UTC 2000


I'm porting RTEMS 4.0.0 to a TI TMS320C6x DSP.  I'm not using the
network stack; I just need a multitasking microkernel.

I was delighted to find the battery of tests, but I can't quite make
sense of the *.scn files.  Are some of them out of date?  For example,
tests/sptests/sp04/sp04.scn says:

*** TEST 4 ***
TA1 - 09:15:00   12/31/1988
TA1 - rtems_task_suspend - on Task 2
TA1 - rtems_task_suspend - on Task 3
TA1 - killing time
TA1 - rtems_task_resume - on Task 2
TA1 - rtems_task_resume - on Task 3
TA2 - 09:15:04   12/31/1988
TA3 - 09:15:05   12/31/1988
TA1 - 09:15:06   12/31/1988
TA2 - 09:15:07   12/31/1988
TA3 - 09:15:08   12/31/1988
TA1 - 09:15:09   12/31/1988
TA1 - rtems_task_mode - change mode to NO RTEMS_PREEMPT
TA1 - 09:15:10   12/31/1988
TA1 - 09:15:11   12/31/1988
TA1 - 09:15:12   12/31/1988
TA1 - 09:15:13   12/31/1988
TA1 - 09:15:14   12/31/1988
TA1 - 09:15:15   12/31/1988
TA1 - rtems_task_mode - change mode to RTEMS_PREEMPT
TA2 - 09:15:16   12/31/1988
*** END OF TEST 4 ***

but when I run this test, I get:

*** TEST 4 ***
TA1 - rtems_task_suspend - on Task 2
TA1 - rtems_task_suspend - on Task 3
TA1 - killing time
TA1 - rtems_task_resume - on Task 2
TA1 - rtems_task_resume - on Task 3
TA1 - rtems_task_mode - change mode to NO RTEMS_PREEMPT
TA1 - 09:15:10   12/31/1988
TA1 - 09:15:11   12/31/1988
TA1 - 09:15:12   12/31/1988
TA1 - 09:15:13   12/31/1988
TA1 - 09:15:14   12/31/1988
TA1 - 09:15:15   12/31/1988
TA1 - rtems_task_mode - change mode to RTEMS_PREEMPT
TA1 - 09:15:00   12/31/1988
TA2 - 09:15:04   12/31/1988
TA3 - 09:15:05   12/31/1988
TA1 - 09:15:06   12/31/1988
TA2 - 09:15:07   12/31/1988
TA3 - 09:15:08   12/31/1988
TA1 - 09:15:09   12/31/1988
TA2 - 09:15:16   12/31/1988
TA3 - 09:15:17   12/31/1988
TA1 - 09:15:18   12/31/1988
*** END OF TEST 4 ***

Reading the source suggests that this is correct.

How much credence should I give the *.scn files?

  -=- Andrew Klossner (andrew at teleport.com)



More information about the users mailing list