From patchwork Wed Mar 18 15:24:27 2020 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Kaaira Gupta X-Patchwork-Id: 3175 Return-Path: Received: from mail-pj1-x1041.google.com (mail-pj1-x1041.google.com [IPv6:2607:f8b0:4864:20::1041]) by lancelot.ideasonboard.com (Postfix) with ESMTPS id 9DB6860418 for ; Wed, 18 Mar 2020 16:26:09 +0100 (CET) Received: by mail-pj1-x1041.google.com with SMTP id ng8so1487492pjb.2 for ; Wed, 18 Mar 2020 08:26:09 -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=u1ntxBuNTbbqrVg4QEXssaxxiPmpjxgpa4csxN5ekeU=; b=hfniWsPrIWeFDmjMtGLVrzTdDvLLysFXBdcyQUNW7pkfVPjad9ct6PwXEuGXOvFqnQ KchGXhv6HU37QaIYmwRlQyTtqMBarfs0g6Eged1P8JX7DqhnPe5xamQt+oO9xonSRVWo 7JmI/HyO0VWuQt88x2hKf+2B1hmiHWRPinTunJOwU98639GD8WnWqT0+5VELpebGBxCi CiPups/cdTwYjjKyP4xNtkX7yrwwPVlsq8jSS5P6O5F2U6YyuxArajNg/0o+trCPcipD lcG9LRSiaqxOCiRpfYwfPQ0wXdDzCEM0fWp5x3JslW5kFPAxZ7Tgia0LajVeApP2oRm9 UBKw== 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=u1ntxBuNTbbqrVg4QEXssaxxiPmpjxgpa4csxN5ekeU=; b=hF527jx2FW0itWjnBkP9V0bJtd/hQ+5U4eLSohhTEApacn920IAItALVefu4MnPpXq xIpLMCmn509YM4UgFeKGP1+yHoeNOo7/SnwfvDFarWqO03CMfDFknZp0ub+yd+oEGuiW BN/CtY2534rSoBY5LbCi+Tjl7Wk5QGV6JZa+qy0zGJ81epI1lloWGln4wShxJZ7CiBPu rdwnApoPSGOCTmtvwwAzrzibcalJRE32Q6rlsQZGB1fOiMFB/pPw/irb8HCPabQ3JR/a 4c6zqJUX04p1B3ZRR/oaNOMs3STREh5DGCFYgIKEVp74bYzbAjg5JCTFlMCO4h4qL7qd 6E2g== X-Gm-Message-State: ANhLgQ2Q7g2ouweOwTgVbuikpS8TUE4mod+N7fHsKTpusHBEgCNqUozK N0lVD2VHYahmHUW8Io1HJmzTNFEIQGs= X-Google-Smtp-Source: ADFU+vs3lE7d/gNByUbbpAPZUGuC2qcQIv5KLbtQRHXdRKPZ/s37lR3c9oSEIVPfldU3tM8cMNP+XA== X-Received: by 2002:a17:90a:26e1:: with SMTP id m88mr5210355pje.60.1584545168213; Wed, 18 Mar 2020 08:26:08 -0700 (PDT) Received: from kaaira-HP-Pavilion-Notebook ([103.113.213.153]) by smtp.gmail.com with ESMTPSA id j126sm4962221pfg.60.2020.03.18.08.26.07 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 18 Mar 2020 08:26:07 -0700 (PDT) From: Kaaira Gupta To: Vaishali Thakkar , Helen Koike , kieran.bingham@ideasonboard.com, libcamera-devel@lists.libcamera.org Cc: Kaaira Gupta Date: Wed, 18 Mar 2020 20:54:27 +0530 Message-Id: <20200318152427.13126-6-kgupta@es.iitr.ac.in> X-Mailer: git-send-email 2.17.1 In-Reply-To: <20200318152427.13126-1-kgupta@es.iitr.ac.in> References: <20200318152427.13126-1-kgupta@es.iitr.ac.in> Subject: [libcamera-devel] [PATCH LIBCAMERA v4 5/5] 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 15:26:09 -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: 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;