File tree Expand file tree Collapse file tree 1 file changed +10
-0
lines changed
Expand file tree Collapse file tree 1 file changed +10
-0
lines changed Original file line number Diff line number Diff line change @@ -24,6 +24,7 @@ tool_version() {
2424 golangci-lint) ;& # fallthrough
2525 python3) ;& # fallthrough
2626 pytest-3) ;& # fallthrough
27+ dbus-launch) ;& # fallthrough
2728 clang-format)
2829 $tool --version
2930 ;;
@@ -49,6 +50,7 @@ tool_install() {
4950 shellcheck) ;& # fallthrough
5051 python3) ;& # fallthrough
5152 pytest-3) ;& # fallthrough
53+ dbus-launch) ;& # fallthrough
5254 clang-format) ;;
5355 * )
5456 return 1
@@ -79,6 +81,7 @@ tool_configure() {
7981 modernize) ;& # fallthrough
8082 python3) ;& # fallthrough
8183 pytest-3) ;& # fallthrough
84+ dbus-launch) ;& # fallthrough
8285 clang-format) ;;
8386 * )
8487 return 1
@@ -374,6 +377,13 @@ if [ "$STATIC" = 1 ]; then
374377 exit 1
375378 fi
376379
380+ if command -v dbus-launch> /dev/null && [ -z " ${SKIP_DBUS_LAUNCH:- } " ]; then
381+ echo " >> [Shell] Checking for dbus-launch"
382+ dbus-launch --version
383+ else
384+ echo " >> [Shell] Skipping tests that require dbus-launch"
385+ fi
386+
377387 echo " >> [Go] Checking cmd binaries for forbidden dependencies"
378388 forbidden_cmd_go_deps
379389
You can’t perform that action at this time.
0 commit comments