diff --git a/recipe/meta.yaml b/recipe/meta.yaml index 52e94e9..201165e 100644 --- a/recipe/meta.yaml +++ b/recipe/meta.yaml @@ -13,7 +13,7 @@ source: sha256: 8edb028efb1e61bcf25c10e1961a3575fee2af18334ed66ececc23151c49d42c build: - number: 1 + number: 2 skip: true # [osx or win] run_exports: - {{ pin_subpackage(name, max_pin='x') }} diff --git a/recipe/run_test.sh b/recipe/run_test.sh new file mode 100644 index 0000000..66a83d8 --- /dev/null +++ b/recipe/run_test.sh @@ -0,0 +1,13 @@ +#!/bin/bash -e + +# First smoke test: just print Ignition Gazebo version +ign gazebo --version + +# Run ign-gazebo -s for few seconds +timeout 2 ign gazebo -s &> ./ign_gazebo_s_out || true + +# Print output +cat ./ign_gazebo_s_out + +# Fail if [Err] is found +grep -v -q "[Err]" ./ign_gazebo_s_out