Commit Graph

3937 Commits

Author SHA1 Message Date
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 b202645dc6 1.14.2 2017-10-26 14:38:05 -07:00
Dirk Thomas 3e4840dd53 update changelogs 2017-10-26 14:36:02 -07:00
Dirk Thomas 546d8b8e2d Merge pull request #153 from mikaelarguedas/litteral_errorcodes
use python defined error codes rather than hardcoded integers
2017-10-04 14:37:47 -07:00
Mikael Arguedas 6d01a2a75e use python constants rather than hardcoded integers for error codes 2017-09-30 10:31:45 -07:00
Dirk Thomas 782d333f26 1.14.1 2017-07-27 07:39:18 -07:00
Dirk Thomas a1dc9d2b76 update changelogs 2017-07-27 07:38:32 -07:00
Dirk Thomas fc1b1de934 Merge pull request #150 from ros/fix_unicode_raw_string_py3
fix syntax of unicode raw string in Python 3
2017-07-21 10:17:36 -07:00
Dirk Thomas 5479c969a1 fix syntax of unicode raw string in Python 3 2017-07-06 10:34:39 -07:00
Dirk Thomas 819f1c3058 Merge pull request #147 from kopp/fix_zsh_completion
add options in completion for roslaunch to roszsh
2017-05-29 10:49:20 -07:00
Michael Kopp 668b26299a add options in completion for roslaunch to roszsh 2017-05-29 18:29:06 +02:00
Dirk Thomas ee203ef6ef Merge pull request #139 from 130s/k/rosunit/msg_testresult
[rosunit] More searchable testcase result message.
2017-05-23 09:35:14 -07:00
Dirk Thomas 9715503c8d Merge pull request #144 from sztupi/lunar-devel
allow arguments in EDITOR env in zsh rosed
2017-04-20 08:57:30 -07:00
Attila Sztupak e5c31ce604 allow arguments in EDITOR env in zsh rosed 2017-04-20 00:17:38 +01:00
Dirk Thomas 3f5320e647 Merge pull request #143 from ros/ensure_cwd_exists
ensure cwd exists
2017-04-15 10:17:39 +02:00
Dirk Thomas b1bf91c3b4 ensure cwd exists 2017-04-14 03:40:42 -07:00
Dirk Thomas edaa0cf306 1.14.0 2017-02-22 13:59:16 -08:00
Dirk Thomas 391418dc2e update changelogs 2017-02-22 13:58:57 -08:00
Dirk Thomas 89aa1b4875 update ROS_DISTRO to lunar 2017-02-22 13:58:14 -08:00
Isaac I.Y. Saito c73cd611de [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-02-17 07:21:07 -08: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