From patchwork Tue Mar 17 17:31:45 2020 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Kaaira Gupta X-Patchwork-Id: 3144 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 1E0D862923 for ; Tue, 17 Mar 2020 18:32:41 +0100 (CET) Received: by mail-pl1-x642.google.com with SMTP id g6so9925254plt.2 for ; Tue, 17 Mar 2020 10:32:41 -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=Q+/gkTXzUvkd9cyfeBi7bBC80hcBn5fLvLaWGonCDm0=; b=v8I/MsskR1B4YNqt1oniFYrwKQ7pJeRt1r6CYBYcm5XtOuQnH6cSx7X9PmlCKUJCKm qJwDpPpC45yjIlP6UDdJoeW6BGByWMwpSvaPvuFwMd9CcB+BI+GCfQ66J8ikZJB9aLxU 0Czi3iiI2szwRYwtrFsPV33nQO7SJSwAs9AxpJAImExdOZ4ssx6IBMhPmkVlpVsQPjT8 bxHc2QUs8zW0VwzU0wIJ2/mL2mZnSZ+l+v4EJIXrl8X2gmz3rr+Te3PqC3nEIyXEEaae 30c9R3oOlPUumTmCp/0HGr7KQrKPgMZ0XtZK3wrEyK6qxUrgwR6oVQ1dfkYr/hAM8vRX h46Q== 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=Q+/gkTXzUvkd9cyfeBi7bBC80hcBn5fLvLaWGonCDm0=; b=Y4QjYxbZdXGnENOuEi+l+ffF7QbrcNqI08Bd1wEq+8UoCcuKmWF7YhO6BulrF3oJGj rjXP5/Md4DUw0zEX2WYrNYFgxtHafB6BG3hVgfzQ/m8w8fGBkAF9JH2iWysDz/yFmkkC KrP+X6UcRZL5UbmZ32+z/aHT4RrN8PVWpsDyFJy+dj0G5dcOIK3LxFy3LPLi1MEeRuhk 4W3qyuJzcRzLZw1l8r+Q6YN9nz9YyyO3faTC8KPXHSsbAIPSWZ8vyy0KeWEiQLVIYuG8 G7npPNpsBsp42R9dEyFZ16JDbyOVyoyYQl0dCH37/TSuS24HtQLhigGvGE/cG+nO7Ru1 nnww== X-Gm-Message-State: ANhLgQ12Qje2PvpLsUVJXWmpG92i6oHUqQKqqUew6pp+E3j+eCzRaA+C tqJUqjB6pXGTcjIy/0ZT9xWWW5umM/U= X-Google-Smtp-Source: ADFU+vuVdl0e3ul3hhqidREn0HWFFjMsLwVr2VApvtf6tQxiN9fP1IP0525uwvpOvbuB2nd9Gk/W+Q== X-Received: by 2002:a17:90a:730b:: with SMTP id m11mr276487pjk.195.1584466359704; Tue, 17 Mar 2020 10:32:39 -0700 (PDT) Received: from kaaira-HP-Pavilion-Notebook ([103.113.213.153]) by smtp.gmail.com with ESMTPSA id q8sm70516pje.2.2020.03.17.10.32.38 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 17 Mar 2020 10:32:39 -0700 (PDT) From: Kaaira Gupta To: libcamera-devel@lists.libcamera.org, kieran.bingham@ideasonboard.com, Helen Koike , Vaishali Thakkar Cc: Kaaira Gupta Date: Tue, 17 Mar 2020 23:01:45 +0530 Message-Id: <20200317173145.18226-5-kgupta@es.iitr.ac.in> X-Mailer: git-send-email 2.17.1 In-Reply-To: <20200317173145.18226-1-kgupta@es.iitr.ac.in> References: <20200317173145.18226-1-kgupta@es.iitr.ac.in> Subject: [libcamera-devel] [PATCH LIBCAMERA 4/4] 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: Tue, 17 Mar 2020 17:32:41 -0000 The tests declare a hard-coded LIBCAMERA_IPA_PROXY_PATH to allow tests to run from the 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: 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;