From patchwork Wed Mar 18 11:58:46 2020 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Kaaira Gupta X-Patchwork-Id: 3168 Return-Path: Received: from mail-pl1-x642.google.com (mail-pl1-x642.google.com [IPv6:2607:f8b0:4864:20::642]) by lancelot.ideasonboard.com (Postfix) with ESMTPS id 884AD60418 for ; Wed, 18 Mar 2020 12:59:39 +0100 (CET) Received: by mail-pl1-x642.google.com with SMTP id g2so8585619plo.3 for ; Wed, 18 Mar 2020 04:59:39 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=es-iitr-ac-in.20150623.gappssmtp.com; s=20150623; h=from:to:cc:subject:date:message-id:in-reply-to:references; bh=tsazxHH1+SOiGiAm5erMhZ+1DNE5amuFMkfAMcCKrrw=; b=wmg7t80qiT3hfOo1m7iVTjydFkh+/PfPp5CGHjaiT10hs993GQ3f1V13s9aZ+BEJIi U+l/5JvGcqI/wBcF4BQsz6S5zs9/r9FEdloHx15yqk+g+3DJkcohIiJbRBG4++e11DC7 ShCT94+ErSnCPxvHeKMnAufzRgZq+Z8VssJ4yiHLfiV9zHdBovaC65EJFh/NV6PJWA08 Uo7htoVNH0Ft9wMe3zYLaDq/vYfw2pUk+Op95FtK4EOmtyv7OFDPTAwERZPhtEfGeQDK vnr8G6AIZnd0pE0rCfwxv/S3Pcpj98jW55cEZH4krlahShg3xXeZSILa7lcDY6czogHn +jUg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references; bh=tsazxHH1+SOiGiAm5erMhZ+1DNE5amuFMkfAMcCKrrw=; b=DQyS3WXrvbby3SnLvwgBPfUe/fOkcnXwk/hNZT/Ghw47rvoVA14atva4wAMffZEIUN ReUUD4B1ZKxfkjmcRAAB3saq6MCabUn5yOZVeqHBpfiuwh9pbsTMN47Xai2CWjf36iW1 11SEA56SOexw7PpQA50Xc2V/ujp7JS5ivetTmbczHnxXU7kbNAXImcn8M/iLI//y8UVs LnHROBIHP/tfEKYaY8TNku3DZXu4GAu64B/SLfw2ZfKd3WpdxLgqkOLkR0/oCy1osTnc NrT6mJQlX+jYOvZN9rmQxYnmICdjaUt60QWFWXUQxcqy4F3LrcYVMvndV+9Cs2FAKpzS 6niQ== X-Gm-Message-State: ANhLgQ2BVvy4Q37yD25APXvpE61Y9CUiuE7ZxwNhAm6VUZlZ4FIO4WiG AMOnyHms8MrFIRDRn1dyE0AS7w== X-Google-Smtp-Source: ADFU+vscHbD7d5daoSVcc9awgTcbwNO2nRprxxq+smCOsyWAbReENp8iJm0C22K+Ywl69EKWMnK9Ig== X-Received: by 2002:a17:90b:355:: with SMTP id fh21mr4155079pjb.147.1584532778017; Wed, 18 Mar 2020 04:59:38 -0700 (PDT) Received: from kaaira-HP-Pavilion-Notebook ([103.113.213.153]) by smtp.gmail.com with ESMTPSA id q6sm2344750pja.34.2020.03.18.04.59.37 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 18 Mar 2020 04:59:37 -0700 (PDT) From: Kaaira Gupta To: Helen Koike , Vaishali Thakkar , kieran.bingham@ideasonboard.com, libcamera-devel@lists.libcamera.org Cc: Kaaira Gupta Date: Wed, 18 Mar 2020 17:28:46 +0530 Message-Id: <20200318115846.7975-7-kgupta@es.iitr.ac.in> X-Mailer: git-send-email 2.17.1 In-Reply-To: <20200318115846.7975-1-kgupta@es.iitr.ac.in> References: <20200318115846.7975-1-kgupta@es.iitr.ac.in> Subject: [libcamera-devel] [PATCH LIBCAMERA v3 6/6] tests: remove IPA_PROXY_PATH environment variable 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: , X-List-Received-Date: Wed, 18 Mar 2020 11:59:39 -0000 The tests declare a hard-coded LIBCAMERA_IPA_PROXY_PATH to allow tests to run from tests-suite. Now that the proxy path is determined at runtime, we can remove the redundant setting of LIBCAMERA_IPA_PROXY_PATH for tests. Signed-off-by: Kaaira Gupta Reviewed-by: Laurent Pinchart Reviewed-by: Kieran Bingham --- test/libtest/test.cpp | 4 ---- 1 file changed, 4 deletions(-) diff --git a/test/libtest/test.cpp b/test/libtest/test.cpp index 6cd3fbe..fd9f3d7 100644 --- a/test/libtest/test.cpp +++ b/test/libtest/test.cpp @@ -21,10 +21,6 @@ int Test::execute() { int ret; - ret = setenv("LIBCAMERA_IPA_PROXY_PATH", "src/libcamera/proxy/worker", 1); - if (ret) - return errno; - ret = init(); if (ret) return ret;