From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from dpdk.org (dpdk.org [92.243.14.124]) by inbox.dpdk.org (Postfix) with ESMTP id 03903A0524; Tue, 25 Feb 2020 10:15:03 +0100 (CET) Received: from [92.243.14.124] (localhost [127.0.0.1]) by dpdk.org (Postfix) with ESMTP id 2725E1F1C; Tue, 25 Feb 2020 10:15:03 +0100 (CET) Received: from us-smtp-delivery-1.mimecast.com (us-smtp-1.mimecast.com [205.139.110.61]) by dpdk.org (Postfix) with ESMTP id 238A72C4F for ; Tue, 25 Feb 2020 10:15:01 +0100 (CET) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com; s=mimecast20190719; t=1582622100; 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: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=buSMlkPrYkVXLYgyVBsR1BYQM3kzaPmq6UuUbZ/c2kA=; b=ffrEPIrbwuwtDcsw8lNQz+jDvtyP6WznUQ89dv/zFSR8YUCG3VMAIsCrCNEahrkEZv/IK/ Ew/96eAFBAcb9e+wR4yFnZVGIFmptOU8K2Ek30qYog2IbAd7aWDGNdtnatH7pAc9AFX+hH aR/bxiN8TmdSt1CE7uYfFcEx1wev58o= Received: from mail-vs1-f70.google.com (mail-vs1-f70.google.com [209.85.217.70]) (Using TLS) by relay.mimecast.com with ESMTP id us-mta-222-xlLvlPefOM6BE2PVgxZtEw-1; Tue, 25 Feb 2020 04:14:58 -0500 X-MC-Unique: xlLvlPefOM6BE2PVgxZtEw-1 Received: by mail-vs1-f70.google.com with SMTP id t3so1079290vsa.18 for ; Tue, 25 Feb 2020 01:14:58 -0800 (PST) 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=vh38zw7xJEf3kNa24m50EeWJqsJytde6YcIiSsY/qNI=; b=KFRkPYQ2nrmyXzwEdQ8GlrWrSeQJSOUHpdRDvGwSBajhz8nHRdrOTmPLaqL2QrcbRl XfY+z83j1jNSfMPFZwki82ju/dv78i7UBHiQ1I120x1dYbtH0YTEXUOrKMM/QEb8SsU+ dBU444VtNA7V5ucW8mRMh+85Rv3//saNQ4IHaXEMxtlGNPA+C26m+ZpU0TlY5NyybUKA JnXduimEUrJmKsCxvKasA6I4Ry+BShdO2vsEbesKE38SPd/OKNrbSQRYq0NbrcjRXpm3 B5FGSz2c5+wqiBK8i6QwNITs2+RrG/SFQ8I6M/aOYfaG8GSX4tT8TD/9wxyRdqExNBDY NR0g== X-Gm-Message-State: APjAAAWHZx1odkc1OfQDe8XQ6UO5mGUe+6k9A2kUGOlhZW6kYT4+vCbk lpicaTRiilsC/vTx4LAVJg6bUbgg0fOslHCwanJ+ViEW6vamYzPKS/cCNANOMaGVrpYv3xnF1As zAiYW20IuhcQ6rbfBIJk= X-Received: by 2002:a67:b303:: with SMTP id a3mr30116836vsm.141.1582622098160; Tue, 25 Feb 2020 01:14:58 -0800 (PST) X-Google-Smtp-Source: APXvYqz5wdICfVbww1GGNNWdwRJh8YY5w0bUdPOTiNAC63BEzjOlWXDeNMm9vOempzQrbQq72mWscMbogypjfAfeddQ= X-Received: by 2002:a67:b303:: with SMTP id a3mr30116821vsm.141.1582622097794; Tue, 25 Feb 2020 01:14:57 -0800 (PST) MIME-Version: 1.0 References: <20200225073236.135581-1-ruifeng.wang@arm.com> In-Reply-To: <20200225073236.135581-1-ruifeng.wang@arm.com> From: David Marchand Date: Tue, 25 Feb 2020 10:14:45 +0100 Message-ID: To: Ruifeng Wang Cc: Aaron Conole , Michael Santana , Bruce Richardson , dev , Gavin Hu , Honnappa Nagarahalli , nd X-Mimecast-Spam-Score: 0 X-Mimecast-Originator: redhat.com Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable Subject: Re: [dpdk-dev] [PATCH v1] ci: add test suite run without hugepage X-BeenThere: dev@dpdk.org X-Mailman-Version: 2.1.15 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 Tue, Feb 25, 2020 at 8:33 AM Ruifeng Wang wrote: > > This test suite is derived from fast-tests suite. Cases in this > suite are run with '--no-huge' flag. > > The suite aims to cover as many as possible test cases out of the > fast-tests suites in the environments without huge pages support, > like containers. > > Signed-off-by: Ruifeng Wang > Reviewed-by: Gavin Hu Compilation time is what makes the most of a "tests" job in Travis. So I'd prefer we avoid adding more jobs for x86_64 (see below). > --- > .ci/linux-build.sh | 4 +++ > .travis.yml | 12 +++++++ > app/test/meson.build | 75 ++++++++++++++++++++++++++++++++++++++++++++ > 3 files changed, 91 insertions(+) > > diff --git a/.ci/linux-build.sh b/.ci/linux-build.sh > index d500c4c00..39515d915 100755 > --- a/.ci/linux-build.sh > +++ b/.ci/linux-build.sh > @@ -92,3 +92,7 @@ fi > if [ "$RUN_TESTS" =3D "1" ]; then > sudo meson test -C build --suite fast-tests -t 3 > fi > + > +if [ "$RUN_TESTS_NO_HUGE" =3D "1" ]; then > + sudo meson test -C build --suite nohuge-tests -t 3 > +fi You can replace the "boolean" RUN_TESTS with a TESTSUITES variable that contains a list of testsuites. Then this part becomes: for testsuite in ${TESTSUITES:-}; do sudo meson test -C build --suite $testsuite -t 3 done (I wonder if we reaaaally need to be root to run those tests w/ and w/o hugepages, Aaron?) > diff --git a/.travis.yml b/.travis.yml > index b64a81bd0..0e07d52d0 100644 > --- a/.travis.yml > +++ b/.travis.yml > @@ -43,6 +43,9 @@ jobs: > - env: DEF_LIB=3D"shared" RUN_TESTS=3D1 > arch: amd64 > compiler: gcc > + - env: DEF_LIB=3D"shared" RUN_TESTS_NO_HUGE=3D1 > + arch: amd64 > + compiler: gcc And then we only need to update the existing RUN_TESTS jobs for x86_64. > - env: DEF_LIB=3D"shared" BUILD_DOCS=3D1 > arch: amd64 > compiler: gcc > @@ -66,6 +69,9 @@ jobs: > - env: DEF_LIB=3D"shared" RUN_TESTS=3D1 > arch: amd64 > compiler: clang > + - env: DEF_LIB=3D"shared" RUN_TESTS_NO_HUGE=3D1 > + arch: amd64 > + compiler: clang > - env: DEF_LIB=3D"shared" BUILD_DOCS=3D1 > arch: amd64 > compiler: clang > @@ -101,6 +107,9 @@ jobs: > - env: DEF_LIB=3D"static" > arch: arm64 > compiler: gcc > + - env: DEF_LIB=3D"shared" RUN_TESTS_NO_HUGE=3D1 > + arch: arm64 > + compiler: gcc > - env: DEF_LIB=3D"shared" BUILD_DOCS=3D1 > arch: arm64 > compiler: gcc > @@ -124,3 +133,6 @@ jobs: > - env: DEF_LIB=3D"shared" > arch: arm64 > compiler: clang > + - env: DEF_LIB=3D"shared" RUN_TESTS_NO_HUGE=3D1 > + arch: arm64 > + compiler: clang -- David Marchand