[rtems commit] tests: atomic support for RTEMS. Uniprocessor tests for atomic ops.

Gedare Bloom gedare at rtems.org
Fri Feb 8 00:41:56 UTC 2013


On Thu, Feb 7, 2013 at 5:15 PM, Gedare Bloom <gedare at rtems.org> wrote:
> Module:    rtems
> Branch:    master
> Commit:    fb9fa1537a9765eae90124e5db5770ae7a527d5e
> Changeset: http://git.rtems.org/rtems/commit/?id=fb9fa1537a9765eae90124e5db5770ae7a527d5e
>
> Author:    WeiY <wei.a.yang at gmail.com>
> Date:      Fri Jan 25 23:59:49 2013 +0800
>
> tests: atomic support for RTEMS. Uniprocessor tests for atomic ops.
>

The tests do not compile for sis at least. Maybe broken for other
targets that do not have the atomics defined?

In file included from ../../../../../sis/lib/include/rtems/rtems/atomic.h:26:0,
                 from
../../../../../../../../rtems/c/src/../../testsuites/sptests/spatomic01/tasks.c:19:
../../../../../sis/lib/include/rtems/score/atomic.h:21:35: fatal
error: rtems/score/cpuatomic.h: No such file or directory
compilation terminated.

$> find cpukit/score -name cpuatomic.h
cpukit/score/cpu/i386/rtems/score/cpuatomic.h
cpukit/score/cpu/powerpc/rtems/score/cpuatomic.h

We should have some kind of stubs so that non-supported architectures
will compile the atomic tests.

-Gedare



More information about the devel mailing list