source: rtems/testsuites/smptests/smpatomic01/smpatomic01.scn @ 33e18a4

4.11
Last change on this file since 33e18a4 was 33e18a4, checked in by WeiY <wei.a.yang@…>, on Sep 28, 2013 at 6:54:38 AM

rename smpatomic08 to smpatomic01

  • Property mode set to 100644
File size: 950 bytes
Line 
1*** TEST SMPATOMIC 1 ***
2=== atomic simple add test case ==
3=== atomic simple sub test case ==
4=== atomic simple or test case ==
5=== atomic simple and test case ==
6=== atomic simple exchange test case ==
7=== atomic simple compare exchange test case ==
8=== static and dynamic initialization test case ===
9=== atomic add test case ==
10worker 0 value: 16686
11worker 1 value: 36405
12atomic value: expected = 53091, actual = 53091
13=== atomic flag test case ==
14worker 0 value: 5588
15worker 1 value: 16019
16atomic value: expected = 21607, actual = 21607
17=== atomic sub test case ==
18worker 0 value: 4294950967
19worker 1 value: 4294930886
20atomic value: expected = 4294914557, actual = 4294914557
21=== atomic compare exchange test case ==
22worker 0 value: 2950
23worker 1 value: 22456
24atomic value: expected = 25406, actual = 25406
25=== atomic or/and test case ==
26worker 0 value: 1
27worker 1 value: 0
28atomic value: expected = 1, actual = 1
29*** END OF TEST SMPATOMIC 1 ***
Note: See TracBrowser for help on using the repository browser.