From 92887ec0432cc650996f4581b8f13d8ae9f0ccee Mon Sep 17 00:00:00 2001 From: matlabbe Date: Thu, 15 Feb 2024 21:35:15 -0800 Subject: [PATCH] rtabmap 0.21.3 (fixing qt plugin error on linux) --- Formula/r/rtabmap.rb | 10 ++++++++-- 1 file changed, 8 insertions(+), 2 deletions(-) diff --git a/Formula/r/rtabmap.rb b/Formula/r/rtabmap.rb index 284c2bb197fda..7acdaec512a20 100644 --- a/Formula/r/rtabmap.rb +++ b/Formula/r/rtabmap.rb @@ -25,8 +25,14 @@ def install test do # Test if main app is built and can be launched - output = shell_output("#{bin}/rtabmap --version") - assert_match "RTAB-Map: #{version}", output + on_linux do + # CI linux cannot start windows apps, causing qt plugins failing + output = shell_output("#{bin}/rtabmap-console --version") + assert_match "RTAB-Map: #{version}", output + else + output = shell_output("#{bin}/rtabmap --version") + assert_match "RTAB-Map: #{version}", output + end # Test c++ library ENV.delete "CPATH" # error xcode headers missing