mirror of
https://github.com/wentasah/ros2nix.git
synced 2025-06-09 07:42:23 +03:00
Add test for --fetch
This commit is contained in:
parent
2669f6e7d9
commit
68126a4b82
1 changed files with 7 additions and 0 deletions
|
@ -72,3 +72,10 @@ setup() {
|
|||
run -2 ros2nix --compare ws/src/{library,ros_node}/package.xml
|
||||
assert_line --partial "Cannot read ws/src/ros_node/package.nix"
|
||||
}
|
||||
|
||||
@test "--fetch from github over https" {
|
||||
git clone https://github.com/wentasah/ros2nix
|
||||
ros2nix --output-as-nix-pkg-name --fetch $(find "ros2nix/test/ws/src" -name package.xml)
|
||||
cat ros-node.nix
|
||||
nix-build -A rosPackages.jazzy.ros-node
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue