From patchwork Wed Mar 18 00:10:09 2020 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Kaaira Gupta X-Patchwork-Id: 3152 Return-Path: Received: from mail-pg1-x544.google.com (mail-pg1-x544.google.com [IPv6:2607:f8b0:4864:20::544]) by lancelot.ideasonboard.com (Postfix) with ESMTPS id 5B49060422 for ; Wed, 18 Mar 2020 01:10:55 +0100 (CET) Received: by mail-pg1-x544.google.com with SMTP id t3so12635747pgn.1 for ; Tue, 17 Mar 2020 17:10:55 -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=hWSA3CKQtfc5Cjh9NULyoS94jU3LbbuWTH872Bg4l7eT4jN3vOB5wUV0WGU7n8Gm9w it4hzIWnqVVNcakb7eU1USiTTA0oSounCC10t8zXArjJwr+EAhIkt2SGzkPbF31BSo7T 3vav3/vfZZxdnsZaC9CfsuP8wM1YtzH3Zc0jZBeMmGLPaXRHGLklzw79ABcXdBAGr1CL u/RPDssyO8YWGaJJLJdx0WGmsfiZ0hMG0nIuz9ZwZbri2oSg0kzsCiJWrJxWrBHczOiy cqtGjgRoxLAsyiVaOWrY7oV19tLEd/LvqzhlwFP8AxEYWznXo/uQrFn3NY3EXt7Rrz2Y RqGw== 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=ikyegrS5NaLeTJH6CFTAJcoowkkQS8ngazxTIXVYojb2/Eluq8UY79B2YEF7f8t3KS hl0g5K6XBpNTQwdKsRkrhgeAjAXtutV8G+BovH+ng8z6xaSJxcWM/dDfd3VarDRqVQhU PBmI1dCkmZw29YSvw5jUvLBTQj2KTGBdThcQcYYeSSq9tANKwvfc3x0sTyneX3aJOWJF q2+irtwZdIOOmbXhKnnkn0IVdfkDPx4/BiL8pBzNu5H3UJcR68yZexw8P3MEu+FKq29m b5qp1rqaIZEDXjfxyLLx2Dqb8XqjTYtnpc869mg2l/M6SQ8stI8MhN3qygE2TeMJ4k4R LRdA== X-Gm-Message-State: ANhLgQ1m1HFbGtqxqfil9su50FOLHMUZXSnMwlMO0yzZ+Jhg4M3P/6s8 pRptBFTN0h0gGxhv99tFkVgpJQ== X-Google-Smtp-Source: ADFU+vsqX3c0XRrEXTeG9w1g1vUbtggVFj77AssG+afvOA6OQeZV/8aGRRHq6Cz796mXE8zUN2apqg== X-Received: by 2002:aa7:84cd:: with SMTP id x13mr1433015pfn.310.1584490253962; Tue, 17 Mar 2020 17:10:53 -0700 (PDT) Received: from kaaira-HP-Pavilion-Notebook ([103.113.213.153]) by smtp.gmail.com with ESMTPSA id 127sm4223652pfb.130.2020.03.17.17.10.52 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 17 Mar 2020 17:10:53 -0700 (PDT) From: Kaaira Gupta To: kieran.bingham@ideasonboard.com, libcamera-devel@lists.libcamera.org, Helen Koike , Vaishali Thakkar Cc: Kaaira Gupta Date: Wed, 18 Mar 2020 05:40:09 +0530 Message-Id: <20200318001009.32512-7-kgupta@es.iitr.ac.in> X-Mailer: git-send-email 2.17.1 In-Reply-To: <20200318001009.32512-1-kgupta@es.iitr.ac.in> References: <20200318001009.32512-1-kgupta@es.iitr.ac.in> Subject: [libcamera-devel] [PATCH LIBCAMERA v2 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 00:10:55 -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 --- 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;