From fdb6669aa8b14058bd57f4f0d3decea91361c9de Mon Sep 17 00:00:00 2001 From: Silvio Traversaro Date: Tue, 6 Jul 2021 18:23:01 +0200 Subject: [PATCH 1/3] Create run_test.sh --- recipe/run_test.sh | 10 ++++++++++ 1 file changed, 10 insertions(+) create mode 100644 recipe/run_test.sh diff --git a/recipe/run_test.sh b/recipe/run_test.sh new file mode 100644 index 0000000..0345de7 --- /dev/null +++ b/recipe/run_test.sh @@ -0,0 +1,10 @@ +#!/bin/bash -e + +# 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 From 00bed9633a3c8bd99a4756993620dad498360485 Mon Sep 17 00:00:00 2001 From: Silvio Traversaro Date: Tue, 6 Jul 2021 18:24:33 +0200 Subject: [PATCH 2/3] Update meta.yaml --- recipe/meta.yaml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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') }} From d75e21d07cea7a9e95a5729c79330fd76e67254f Mon Sep 17 00:00:00 2001 From: Silvio Traversaro Date: Wed, 7 Jul 2021 10:57:19 +0200 Subject: [PATCH 3/3] Update run_test.sh --- recipe/run_test.sh | 3 +++ 1 file changed, 3 insertions(+) diff --git a/recipe/run_test.sh b/recipe/run_test.sh index 0345de7..66a83d8 100644 --- a/recipe/run_test.sh +++ b/recipe/run_test.sh @@ -1,5 +1,8 @@ #!/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