From patchwork Sat Jul 25 12:24:39 2020 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: You-Sheng Yang X-Patchwork-Id: 8996 Return-Path: X-Original-To: parsemail@patchwork.libcamera.org Delivered-To: parsemail@patchwork.libcamera.org Received: from lancelot.ideasonboard.com (lancelot.ideasonboard.com [92.243.16.209]) by patchwork.libcamera.org (Postfix) with ESMTPS id 162E6BD878 for ; Sat, 25 Jul 2020 13:03:28 +0000 (UTC) Received: from lancelot.ideasonboard.com (localhost [IPv6:::1]) by lancelot.ideasonboard.com (Postfix) with ESMTP id 8AEA36123B; Sat, 25 Jul 2020 15:03:27 +0200 (CEST) Received: from mail-pg1-f171.google.com (mail-pg1-f171.google.com [209.85.215.171]) by lancelot.ideasonboard.com (Postfix) with ESMTPS id 7571460399 for ; Sat, 25 Jul 2020 14:24:47 +0200 (CEST) Received: by mail-pg1-f171.google.com with SMTP id k27so6870064pgm.2 for ; Sat, 25 Jul 2020 05:24:47 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:subject:date:message-id:mime-version :content-transfer-encoding; bh=LQP4W8nO8n/1937/TBfWvwYu8ik/qNWZoCOq7fCulRY=; b=RyRVpEWWADrK3m34yX/3tgNeryYJTT/I6kbKQ1nSfRJgon8AWEPABc7VEd5F7+Lgnx s5famhb1M49Duat4zJcw8ThjdP14Ki4voW+smFR5/Ozi/gepjzmS5/QQD+DSJoBcNcXa kQJULBEfZfecGtCP/jQhXMa30kw2V2sCzbKjbCA0HD0dgLNp6y247gC0+RI/X9abSv9L ufvEetcnqoxtK4nyIMTN1VOnKY06ntuDMKUBkgGW/CkZKlSyfqRhv3AsGtwNVfD2sOy/ hZRT2N7Mgxj7J2T+ZpQ+nmXqMMoZC7FCJXJWwtUlopdvsnWFo1hyndHc5sfP8Ryhb04d Ocog== X-Gm-Message-State: AOAM530BhNBs1JzdSfOseZ0OY27R/FAsdahZdnDFxYRgK5ZnHPk6s2ep FTdRE97ZDuFXeINnlip2Ygz+P2AcFs4= X-Google-Smtp-Source: ABdhPJxQ3VubVDM4YTVqaKbxPsUb2n98YvCComX4RmxFX7pUr4h8YEDewUY38bHC9TI/b29Xs/jy1Q== X-Received: by 2002:a63:fe0a:: with SMTP id p10mr12058550pgh.255.1595679885348; Sat, 25 Jul 2020 05:24:45 -0700 (PDT) Received: from localhost (61-220-137-37.HINET-IP.hinet.net. [61.220.137.37]) by smtp.gmail.com with ESMTPSA id i132sm9392849pfe.9.2020.07.25.05.24.43 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sat, 25 Jul 2020 05:24:44 -0700 (PDT) From: You-Sheng Yang To: libcamera-devel@lists.libcamera.org Date: Sat, 25 Jul 2020 20:24:39 +0800 Message-Id: <20200725122442.1679820-1-vicamo.yang@canonical.com> X-Mailer: git-send-email 2.27.0 MIME-Version: 1.0 X-Mailman-Approved-At: Sat, 25 Jul 2020 15:03:26 +0200 Subject: [libcamera-devel] [PATCH 0/3] fix test failures in package build systems X-BeenThere: libcamera-devel@lists.libcamera.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: libcamera-devel-bounces@lists.libcamera.org Sender: "libcamera-devel" From: You-Sheng Yang These patches try to address build failures when compiled/tested under build systems that are usually minimum chroots nowadays without additional hareware attached. You-Sheng Yang (3): libcamera: process: fix killing innocent processes unexpectedly test: log/process: check CAP_SYS_ADMIN in test init test: list-cameras: skip if no camera is available src/libcamera/process.cpp | 3 ++- test/list-cameras.cpp | 2 +- test/log/log_process.cpp | 20 ++++++++++++++++++++ test/log/meson.build | 2 +- test/meson.build | 2 ++ test/process/meson.build | 2 +- test/process/process_test.cpp | 23 +++++++++++++++++++++++ 7 files changed, 50 insertions(+), 4 deletions(-)