Joel Sherrill started a new discussion on 
testsuites/sptests/sptimespec01/init.c: 
https://gitlab.rtems.org/rtems/rtos/rtems/-/merge_requests/314#note_115840

 >    test_validity();
 >    test_subtract();
 >    test_convert();
 > +  test_greaterthan32bits();
 >  
 >    TEST_END();
 >  
 >    rtems_test_exit(0);
 >  }
 >  
 > +
 > +void test_greaterthan32bits(){
 > +/* Basic test to see if addition works with a value greater than 32 bits */
 > +  rtems_timespec_set(timespec1, 4294967296, 1);
 > +  rtems_timespec_set(timespec2, 1, 1);
 > +  rtems_timespec_add_to(timespec1, timespec2);

The biggest part of the change was for rtems_timespec_add_to() to return time_t 
instead of uint32_t. Please check the return code equals the expected value 
also.

I double checked and that's the only rtems_timespec method whose signature 
changed.

-- 
View it on GitLab: 
https://gitlab.rtems.org/rtems/rtos/rtems/-/merge_requests/314#note_115840
You're receiving this email because of your account on gitlab.rtems.org.


_______________________________________________
bugs mailing list
[email protected]
http://lists.rtems.org/mailman/listinfo/bugs

Reply via email to