Skip to content
Lukas Bulwahn edited this page Aug 9, 2013 · 11 revisions

For the release, we should check that the test-all.sh script runs

Do testing build for the target architectures:

  • "qemuarm"
  • "qemumips"
  • "qemuppc"
  • "qemux86"
  • "qemux86-64"

Testing the Runtime behaviour

Example image

DESCRIPTION = "A small image to test all examples"

IMAGE_INSTALL = "packagegroup-core-boot ${ROOTFS_PKGMANAGE_BOOTSTRAP} ${CORE_IMAGE_EXTRA_INSTALL}"

IMAGE_LINGUAS = " "

LICENSE = "MIT"

inherit core-image

IMAGE_ROOTFS_SIZE = "8192"

# remove not needed ipkg informations

ROOTFS_POSTPROCESS_COMMAND += "remove_packaging_data_files"

IMAGE_INSTALL += "roslaunch rostopic roscpp-tutorials rospy-tutorials \

nodelet-tutorial-math pluginlib-tutorials chatter-sender chatter-receiver"

Default setup

TODO

Tests

roscore

roscpp_tutorials:

rospy_tutorials:

roslaunch rospy_tutorials talker_listener.launch

Expected Output: (repeating)

[INFO] [WallTime: ...] /listenerI heard hello world ...

[INFO] [WallTime: ...] hello world ...

nodelet_tutorials:

(in a screen): roslaunch nodelet_tutorial_math plus.launch

Expected Output:

process[standalone_nodelet-2]: started with pid [...]

[ INFO] [...]: Initializing nodelet with 1 worker thread.

process[Plus-3]: started with pid [...]

[ INFO] [...]: Loading nodelet /Plus of type nodelet_tutorial_math/Plus of type nodelet_tutorial_math/Plus to manager standalone_nodelet with the following remappings:

[ INFO] [...]: /Plus/out -> /remapped_output

process[Plus2-4]: started with pid [...]

[ INFO] [...]: Loading nodelet /Plus2 of type nodelet_tutorial_math/Plus of type nodelet_tutorial_math/Plus to manager standalone_nodelet with the following remappings:

process[Plus3-5]: started with pid [...]

type is nodelet_tutorial_math/Plus

(in another screen): rostopic list

Expected Output:

/Plus/in

/Plus2/in

/Plus2/out

/Plus3/out

/remapped_output

/rosout

/rosout_agg

/standalone_nodelet/bond

pluginlib_tutorials:

/usr/lib/pluginlib_tutorials/polygon_loader

Expected Output:

[ INFO] [...]: Triangle area: 43.30

[ INFO] [...]: Square area: 100.00

chatter:

roslaunch chatter_receiver sender_receiver.launch

Expected Output:

TODO complete chatter examples