From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mails.dpdk.org (mails.dpdk.org [217.70.189.124]) by inbox.dpdk.org (Postfix) with ESMTP id CAF17A0579; Fri, 9 Apr 2021 15:27:33 +0200 (CEST) Received: from [217.70.189.124] (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id 444184068B; Fri, 9 Apr 2021 15:27:33 +0200 (CEST) Received: from us-smtp-delivery-124.mimecast.com (us-smtp-delivery-124.mimecast.com [170.10.133.124]) by mails.dpdk.org (Postfix) with ESMTP id 1A3174014D for ; Fri, 9 Apr 2021 15:27:31 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com; s=mimecast20190719; t=1617974851; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type:content-type: in-reply-to:in-reply-to:references:references; bh=GJnY1K9yhNVtIzpK2Ds58GvcG2UekewhQd3vWpuev8w=; b=LFuEEs7YUraDMYPxyT1D0PJgya+tPdwkiomnn25eJYHFfZsZTVv6L0L+2IYsgSls4bST6k GzVqf8jrtj+E8PmaDuypwzRBnyctF+WNSXto0jdQ6xl+r4fV6ZyS9ve5rnVzxaGNC4HAQr e91msenSEJG2dWaKqi3X9+/LNTYVBBY= Received: from mail-vk1-f199.google.com (mail-vk1-f199.google.com [209.85.221.199]) (Using TLS) by relay.mimecast.com with ESMTP id us-mta-434-vSsrX5ZkO2uap1bLshe1jw-1; Fri, 09 Apr 2021 09:27:29 -0400 X-MC-Unique: vSsrX5ZkO2uap1bLshe1jw-1 Received: by mail-vk1-f199.google.com with SMTP id b141so1256966vka.23 for ; Fri, 09 Apr 2021 06:27:29 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=GJnY1K9yhNVtIzpK2Ds58GvcG2UekewhQd3vWpuev8w=; b=b4nFhMOXlhrs+m28d0XcCMe5YW8Yudc/139Opupg3ZuFRlbMedEvVdBoWM0bltVd4U u9OSx9g87PSo8uIlC+4b4BXN3QzbaxLOWN3oO4r61TdltsBZ95OAj2AJCQlOb02yZ19B xo+roqmCrC7hallhiQP2t+9j518srwDzSiXSltuJG2kcFy4vmgw9EshsQ3w8StSq0pNn Vb64sK7ZDV22HwJSo+tI11ueEPiyjcNFeX7qPD8gY6U6l+no9qL2xOkIAENo6ad/WIzS y2gQYsyo6P9UP9WTd8SwI5wp+mibxrTYIaDdDe+832fmRPrzcElqOFFIyd07BJ5ToiSR peJQ== X-Gm-Message-State: AOAM530HtgLSmtn2Me/UCPfahKDDUJdAW0J+8uWuFjWVNc+oWIieMMnB /dhYsg+PGFu4ISSjvOkULAzn4hJbn0fWDSKWiQTejkdwlOy0xEsy49IXNw4YKEVSSWlKwOeV7ww Q45O+JwniqwEFCJ2vu+s= X-Received: by 2002:a67:2b05:: with SMTP id r5mr10965800vsr.5.1617974849428; Fri, 09 Apr 2021 06:27:29 -0700 (PDT) X-Google-Smtp-Source: ABdhPJyljLOghOX8Fag5pUN5OHvqK/NbZuJjRg2nPqxsqnX3vhQhbsD92+0gbb25esncCxYdWIU9QHvDIIH/yajTEcw= X-Received: by 2002:a67:2b05:: with SMTP id r5mr10965764vsr.5.1617974849173; Fri, 09 Apr 2021 06:27:29 -0700 (PDT) MIME-Version: 1.0 References: <20210127174255.1671738-1-bruce.richardson@intel.com> In-Reply-To: <20210127174255.1671738-1-bruce.richardson@intel.com> From: David Marchand Date: Fri, 9 Apr 2021 15:27:17 +0200 Message-ID: To: Bruce Richardson Cc: dev , Aaron Conole Authentication-Results: relay.mimecast.com; auth=pass smtp.auth=CUSA124A263 smtp.mailfrom=dmarchan@redhat.com X-Mimecast-Spam-Score: 0 X-Mimecast-Originator: redhat.com Content-Type: text/plain; charset="UTF-8" Subject: Re: [dpdk-dev] [PATCH] test: allow taking test names from commandline X-BeenThere: dev@dpdk.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: DPDK patches and discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: dev-bounces@dpdk.org Sender: "dev" On Wed, Jan 27, 2021 at 6:43 PM Bruce Richardson wrote: > > While having the ability to run a test based off the DPDK_TEST environment > variable is useful, it's often easier to specify the test name as a > commandline parameter to a test binary. This also allows the test runs to > be saved as part of the shell cmdline history. I don't get the argument about history: $ history |grep DPDK_TEST 10615 2021-03-24 10:42:11 ninja-build -C build -j4 && DPDK_TEST=logs_autotest ./build/app/test/dpdk-test --no-huge -m 512 --log-level=lib.eal:debug 10636 2021-03-24 10:51:09 ninja-build -C build -j4 && DPDK_TEST=logs_autotest ./build/app/test/dpdk-test --no-huge -m 512 --log-level=lib.eal:debug 10653 2021-03-24 11:17:01 ninja-build -C build -j4 && DPDK_TEST=kvargs_autotest ./build/app/test/dpdk-test --no-huge -m 512 --log-level=lib.eal:debug 10794 2021-03-25 18:37:48 history |grep DPDK_TEST > > This patch adds support for checking all parameters after the EAL ones, and > running all valid autotests requested - either from DPDK_TEST or on the > commandline. This also allows multiple tests to be run in a single > automated session, which is useful for working with components which have > multiple test suites. The same could be achieved splitting DPDK_TEST content with spaces, since test names don't contain one. -- David Marchand