Commit Graph

3875 Commits

Author SHA1 Message Date
Billy Lando 91961447c9 Update installation link in README (#157) 2018-01-26 10:40:13 -08:00
Mikael Arguedas fca1cd0e8e use python constants rather than hardcoded integers for error codes 2018-01-26 10:40:07 -08:00
Dirk Thomas 9a509a6531 1.13.6 2017-10-31 10:35:16 -07:00
Dirk Thomas 06445d12b5 update changelogs 2017-10-31 10:34:44 -07:00
Dirk Thomas 816ffda9d6
Merge pull request #155 from ros/backports_kinetic
changes between 1.13.5 and 1.14.2 for backporting
2017-10-31 10:30:46 -07:00
Dirk Thomas e82bc9363f fix syntax of unicode raw string in Python 3 2017-10-26 14:47:28 -07:00
Michael Kopp 36dcbd7715 add options in completion for roslaunch to roszsh 2017-10-26 14:46:30 -07:00
Isaac I.Y. Saito 80990117d0 [rosunit] More searchable testcase result message.
Printed message of the result of each testcase/testmethod? is hard to find when browsing through the test result. Example below:
```
:
[ INFO] [1487343289.092146469]: Constructing FaceDetector.
[ INFO] [1487343289.537363058]: You must subscribe to one of FaceDetector's outbound topics or else it will not publish anything.
Error opening rosout log file '/root/.ros/07335a6c-f521-11e6-a2a7-0242ac110002/rosout.log': No such file or directoryError opening rosout log file '/root/.ros/07335a6c-f521-11e6-a2a7-0242ac110002/rosout.log': No such file or directoryWaiting for service /wide_stereo/driver/set_parameters...
hztest_withface_/face_detector/faces_cloud ... ok

[ROSTEST]-----------------------------------------------------------------------
:
```

(This example is easier.)

This PR makes the result line(s) stand out more, also text-searchable.
2017-10-26 14:45:59 -07:00
Attila Sztupak 8b7dc3cc41 allow arguments in EDITOR env in zsh rosed 2017-10-26 14:45:12 -07:00
Dirk Thomas fb6c2c79b9 ensure cwd exists 2017-10-26 14:41:56 -07:00
Dirk Thomas 96b37e2197 1.13.5 2017-02-14 16:34:11 -08:00
Dirk Thomas 9cb4580dfc update changelogs 2017-02-14 16:34:01 -08:00
Dirk Thomas d9d354e931 Merge pull request #138 from mikepurvis/patch-2
Add completion for "rosmsg info"
2017-02-14 10:43:18 -08:00
Mike Purvis 6cbaa9976e Add completion for "rosmsg info" 2017-02-09 17:01:49 -05:00
Dirk Thomas bf3e45955e Merge pull request #136 from ros/rostopic_pub_complete_with_options
rostopic pub autocomplete's works when options are provided
2017-01-31 14:15:56 -08:00
Kazumi Malhan a7feabdb2d Added --size option to rosclean purge (#126)
* Added size option to rosclean purge.

When --size option is specified, it will delete old log files until log
directory reaches specified size (in MB), but never below specified
size. Otherwise, it will delete everything inside log directory.

* Changed help message and restored deleted comment.

* Cleaned up the patch to reflect comments.

* Updated functions based on comments.

- Fixed typo
- Removed _check_user_input and check_delete_file_size functions

* Changed logic from keeping minimum to keeping maximum.

* remove unnecessary parenthesis

* check size before asking, use 1024 instead of 1000
2017-01-30 14:52:49 -08:00
Javier e2c45e7269 rostopic pub autocomplete's works when options are provided 2017-01-25 12:58:53 -08:00
Dirk Thomas 58acf513df Merge pull request #134 from v4hn/pr-kinetic-show-mkdir-exception
don't hide error strings from the reader
2017-01-12 13:58:49 -08:00
v4hn 06ed7eba97 don't hide error strings from the reader
This except-and-raise pattern hides the actual error messages and leaves
us with a generic string "cannot create test results..." instead.
This makes it much harder to track down bugs.

On the other hand the exception text "[Errno 13] Permission denied: 'foobar'"
alone does not tell you that "foobar" is supposed to be the directory for the
tests results.

Thus I fused both exception texts. Because the error message in case of
missing permissions is (given above) "Permission denied", I removed the
"Please check permissions." hint.
2017-01-12 22:27:29 +01:00
Dirk Thomas 9ec590bcc8 Merge pull request #133 from v4hn/pr-kinetic-fix-url
set correct repository/bugtracker url for rosunit repo
2017-01-12 13:22:36 -08:00
v4hn 6189def5e2 set correct url for rosunit repo
I suppose this got moved at some point
or that part of the package.xml was copied over?

Either way, I just spend 5 minutes looking for this package
in the wrong repository...
2017-01-12 22:13:30 +01:00
Dirk Thomas c11ee6476d Merge pull request #130 from ros/mkdir_race
fix race condition creating folder
2016-11-29 03:58:17 +01:00
Dirk Thomas 20697c547d fix race condition creating folder 2016-11-25 01:19:07 -08:00
Dirk Thomas 6d313131cd Merge pull request #129 from Sarcasm/kinetic-devel
roslib: add rospack to CATKIN_DEPENDS (#128)
2016-11-10 08:47:26 -08:00
Guillaume Papin dac73ad913 roslib: add rospack to CATKIN_DEPENDS (#128)
This fixes a linker issue that can arise on some build environments:

    ld: warning: librospack.so, needed by /opt/ros/indigo/lib/libroslib.so, not found (try using -rpath or -rpath-link)
    /opt/ros/indigo/lib/libroslib.so: undefined reference to `rospack::ROSPack::run(std::string const&)'
    collect2: error: ld returned 1 exit status
2016-11-10 11:02:23 +01:00
Dirk Thomas 7bb3ba7a9b Merge pull request #125 from abrzozowski/kinetic-devel
Add deduction message type to rostopic pub.
2016-10-26 14:10:36 -07:00
abrzozowski 17c7e69448 Add deduction message type to rostopic pub. 2016-10-26 22:45:30 +02:00
Dirk Thomas 508271ce4b 1.13.4 2016-09-19 09:12:56 -07:00
Dirk Thomas 8094263fe5 update changelogs 2016-09-19 09:12:48 -07:00
Dirk Thomas 2736a11ad9 fix test type handling (#123) 2016-09-19 09:04:30 -07:00
Dirk Thomas 69ec1cd9a7 1.13.3 2016-09-16 14:20:26 -07:00
Dirk Thomas 4dc42a94a7 update changelogs 2016-09-16 14:20:13 -07:00
Dirk Thomas 59e08bd665 fix check of test type (#121) (#123) 2016-09-16 14:15:58 -07:00
Mike Purvis e49604d5bc Allow custom class_name, testcase_name in test_xx_junit_xml. (#119)
* Allow custom class_name and testcase_name in test_xx_junit_xml.
2016-09-16 10:52:14 -07:00
Dirk Thomas 4ea42a76d0 Merge pull request #122 from mikepurvis/allow-ros-distro-override
Allow expected ROS_DISTRO value to be overridden at compile time.
2016-09-16 08:48:57 -07:00
Mike Purvis 5a5f2a1375 Allow expected ROS_DISTRO value to be overridden at compile time. 2016-09-16 10:39:58 -04:00
Jacob Mason e39d114e1a Correct spelling of 'rosed'
Found this misspelling. There are a couple more instances of 'rossed' in this file, but those may be intentional.
2016-09-08 14:26:44 -07:00
Dirk Thomas 76c860373f 1.13.2 2016-09-02 11:35:54 -07:00
Dirk Thomas 7a6bffaeca update changelogs 2016-09-02 11:35:45 -07:00
Dirk Thomas 0b34080563 Merge pull request #111 from mikepurvis/avoid-stacks
Avoid putting the rosbuild stacks dir on RPP if it doesn't exist.
2016-08-05 10:19:55 -07:00
Dirk Thomas 8533286a9c Merge pull request #117 from ros/rosservice_completion
add missing verbs to rosservice completion
2016-07-25 14:24:40 -07:00
Dirk Thomas 1bcb8f8578 add missing verbs to rosservice completion 2016-07-25 10:39:10 -07:00
Ed Venator e190f82b40 Changes rosunit test strings so tests pass. (#113)
The xml output of rosunit has changed such that it no longer
"pretty-prints" the output. These changes update the expected
results to match the actual output of rosunit. Note that these
tests pass even with the currently incorrect serialization of
CDATA described in #112.
2016-04-12 11:13:44 -07:00
Ed Venator 67e8c57bdd Enables unit tests on xmlrunner.py (#113) 2016-04-12 11:13:35 -07:00
Mike Purvis 6b88eb6a52 Avoid putting the rosbuild stacks dir on RPP if it doesn't exist. 2016-03-16 21:36:02 -04:00
Dirk Thomas f475f9499a 1.13.1 2016-03-13 12:24:08 -07:00
Dirk Thomas 492f5165cd update changelogs 2016-03-13 12:23:53 -07:00
Ed Venator b40a0b775e Fix a regression in XML reports introduced by #89
The changes in #89 to use an XML framework to generate test reports
introduced a bug caused by variable name collisions in the
_print_error() method. This resolves that bug and corrects the
docstring of the method.
2016-03-13 12:10:15 -07:00
Dirk Thomas b095e33ca7 1.13.0 2016-03-10 15:11:05 -08:00
Dirk Thomas 845007f5f4 update changelogs 2016-03-10 15:10:45 -08:00