I used the below link to build ros2,
https://github.com/ros2/ros2/wiki/Windows-Development-Setup
when i tried testing and running using,
> python src\ament\ament_tools\scripts\ament.py test
> python src\ament\ament_tools\scripts\ament.py test_results
i got an error,
Traceback (most recent call last):
File "src\ament\ament_tools\scripts\ament.py", line 161, in <module>
sys.exit(main() or 0)
File "C:\dev\ros2\src\ament\ament_tools\ament_tools\commands\ament.py", line 88, in main
rc = args.main(args)
File "C:\dev\ros2\src\ament\ament_tools\ament_tools\verbs\test\cli.py", line 60, in main
build_main(opts, test_pkg_main_wrapper)
File "C:\dev\ros2\src\ament\ament_tools\ament_tools\verbs\build\cli.py", line 172, in main
return iterate_packages(opts, packages, per_package_main)
File "C:\dev\ros2\src\ament\ament_tools\ament_tools\verbs\build\cli.py", line 300, in iterate_packages
rc = process_sequentially(jobs)
File "C:\dev\ros2\src\ament\ament_tools\ament_tools\verbs\build\cli.py", line 340, in process_sequentially
rc = job['callback'](job['opts'])
File "C:\dev\ros2\src\ament\ament_tools\ament_tools\verbs\test\cli.py", line 50, in test_pkg_main_wrapper
rc = test_pkg_main(opts)
File "C:\dev\ros2\src\ament\ament_tools\ament_tools\verbs\test_pkg\cli.py", line 83, in main
handle_build_action(on_test_ret, context)
File "C:\dev\ros2\src\ament\ament_tools\ament_tools\verbs\build_pkg\cli.py", line 268, in handle_build_action
for build_action in build_action_ret:
File "C:\dev\ros2\src\ament\ament_tools\ament_tools\build_types\ament_python.py", line 118, in on_test
assert pytest, 'Could not find pytest'
AssertionError: Could not find pytest
Please help me get over this issue. Thanks.
---
[Visit Topic](
https://discourse.ros.org/t/assertionerror-could-not-find-pytest/3969/1) or reply to this email to respond.
If you do not want to receive messages from ros-users please use the unsubscribe link below. If you use the one above, you will stop all of ros-users from receiving updates.
______________________________________________________________________________
ros-users mailing list
ros-users@lists.ros.org
http://lists.ros.org/mailman/listinfo/ros-users
Unsubscribe: <
http://lists.ros.org/mailman//options/ros-users>