robotology / robot-testing-framework

Robot Testing Framework (RTF)
http://robotology.github.io/robot-testing-framework/index.html
GNU Lesser General Public License v2.1
19 stars 11 forks source link

[testrunner] abort if fixture manager failed to load #28

Closed traversaro closed 9 years ago

traversaro commented 9 years ago

Ref: https://github.com/robotology/icub-tests/issues/8 Example in Travis: https://travis-ci.org/robotology/gazebo-yarp-plugins/jobs/62661440

apaikan commented 9 years ago

should be fixed!

$ testrunner -v -s ../suits/basics-icubSim.xml 
Loading ../suits/basics-icubSim.xml
Staring test runner.
Test suit Basic Tests Suite started...
[INFO]  (Basic Tests Suite) reports: yarpmanager is setuping the fixture...
[ERROR] (Basic Tests Suite) asserts error on (ret) with exception: yarpmanager cannot setup the fixture because Failed to stablish some of connections.
[INFO]  (Basic Tests Suite) reports: yarpmanager is tearing down the fixture...
Test suit Basic Tests Suite failed!
Ending test runner.

---------- results -----------
Total number of test suites  : 1
Number of passed test suites : 0
Number of failed test suites : 1
Total number of test cases   : 0
Number of passed test cases  : 0
Number of failed test cases  : 0