source: rtems/testsuites/smptests/smpatomic08/smpatomic08.scn @ 4a8c334

4.11
Last change on this file since 4a8c334 was 4a8c334, checked in by Sebastian Huber <sebastian.huber@…>, on Sep 3, 2013 at 9:06:46 AM

smptests/smpatomic08: Add initialization test case

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