From patchwork Wed Mar 18 16:44:50 2020 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Tamas K Lengyel X-Patchwork-Id: 11445727 Return-Path: Received: from mail.kernel.org (pdx-korg-mail-1.web.codeaurora.org [172.30.200.123]) by pdx-korg-patchwork-2.web.codeaurora.org (Postfix) with ESMTP id 1105A14DD for ; Wed, 18 Mar 2020 16:47:00 +0000 (UTC) Received: from lists.xenproject.org (lists.xenproject.org [192.237.175.120]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPS id EBF1520753 for ; Wed, 18 Mar 2020 16:46:59 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org EBF1520753 Authentication-Results: mail.kernel.org; dmarc=none (p=none dis=none) header.from=tklengyel.com Authentication-Results: mail.kernel.org; spf=pass smtp.mailfrom=xen-devel-bounces@lists.xenproject.org Received: from localhost ([127.0.0.1] helo=lists.xenproject.org) by lists.xenproject.org with esmtp (Exim 4.89) (envelope-from ) id 1jEboV-0002Ee-Sa; Wed, 18 Mar 2020 16:45:03 +0000 Received: from all-amaz-eas1.inumbo.com ([34.197.232.57] helo=us1-amaz-eas2.inumbo.com) by lists.xenproject.org with esmtp (Exim 4.89) (envelope-from ) id 1jEboU-0002EZ-4E for xen-devel@lists.xenproject.org; Wed, 18 Mar 2020 16:45:02 +0000 X-Inumbo-ID: cf2bd39a-6937-11ea-bb1a-12813bfff9fa Received: from mail-il1-f195.google.com (unknown [209.85.166.195]) by us1-amaz-eas2.inumbo.com (Halon) with ESMTPS id cf2bd39a-6937-11ea-bb1a-12813bfff9fa; Wed, 18 Mar 2020 16:45:01 +0000 (UTC) Received: by mail-il1-f195.google.com with SMTP id k29so24332121ilg.0 for ; Wed, 18 Mar 2020 09:45:00 -0700 (PDT) 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:mime-version :content-transfer-encoding; bh=CdRKS4xmjJ8QMOfvlPjKEiSBUMfaUEPC/p3SzH6vLRI=; b=ML/BSb2uH2rzTYZgrCv/onpJKqOixAWAc8wbL2+naj0Xne0ZZ4ifwG1yBAOamtSKqR KaVsXGeZ7S2Vod7lx8JofztJr7ay5V/3rEOqsOjL2GajRt90yO/FLjLM/iGrftEfd0JG zvTe9VrBa5C6B8ZcC1CS+y9AIS5MCuSr+IomFESS+H9cvGRUETaWb4WZOiO2tk762Fa0 0sYXDcJFg3zSbdtAK7qQ+jZKvnnQH0oNRWol9fIc+7u3UPAFDsoCYgDiCvM/dzveEp/H XRhSuZk3DCAEwZUsUZl7pWETTFgyaZAfZ/F0AiTdVpoELC+BxK40oWMaN4OyCPMD3NoT OKHA== X-Gm-Message-State: ANhLgQ1zxwowiJYI+6hV72M5yqy4ElECQntlU3aRlK7sBfCaZNEX8f2R I0C6Qzw5qGR5j+iJIfF1VbzCZDQb6YY= X-Google-Smtp-Source: ADFU+vtN5Ipj2k2ExopRubAI8uPWUiPOCgtp3KOqL0zmz33xevJx9bZOv+gM3kyy5mbjJGIca8rpHw== X-Received: by 2002:a92:d4d0:: with SMTP id o16mr4987881ilm.40.1584549899976; Wed, 18 Mar 2020 09:44:59 -0700 (PDT) Received: from t0.lan (c-71-205-12-124.hsd1.co.comcast.net. [71.205.12.124]) by smtp.googlemail.com with ESMTPSA id g78sm2881419ild.36.2020.03.18.09.44.52 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 18 Mar 2020 09:44:52 -0700 (PDT) From: Tamas K Lengyel To: xen-devel@lists.xenproject.org Date: Wed, 18 Mar 2020 10:44:50 -0600 Message-Id: <20200318164450.122932-1-tamas@tklengyel.com> X-Mailer: git-send-email 2.20.1 MIME-Version: 1.0 Subject: [Xen-devel] [PATCH] travis: add mem_sharing compile test X-BeenThere: xen-devel@lists.xenproject.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: Xen developer discussion List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , Cc: Tamas K Lengyel , Doug Goldstein Errors-To: xen-devel-bounces@lists.xenproject.org Sender: "Xen-devel" Add compile test for mem_sharing to avoid future breakage going unnoticed. Signed-off-by: Tamas K Lengyel --- .travis.yml | 3 +++ scripts/travis-build | 3 +++ 2 files changed, 6 insertions(+) diff --git a/.travis.yml b/.travis.yml index 15ca9e9047..908d205d27 100644 --- a/.travis.yml +++ b/.travis.yml @@ -36,6 +36,9 @@ matrix: env: XEN_TARGET_ARCH=arm64 CROSS_COMPILE=aarch64-linux-gnu- XEN_CONFIG_EXPERT=y RANDCONFIG=y debug=n - compiler: gcc env: XEN_TARGET_ARCH=arm64 CROSS_COMPILE=aarch64-linux-gnu- debug=y + - compiler: gcc + env: XEN_TARGET_ARCH=x86_64 XEN_CONFIG_EXPERT=y MEM_SHARING=y debug=y + addons: apt: sources: diff --git a/scripts/travis-build b/scripts/travis-build index 0cb15a89e4..b92437e92e 100755 --- a/scripts/travis-build +++ b/scripts/travis-build @@ -5,6 +5,9 @@ $CC --version # random config or default config if [[ "${RANDCONFIG}" == "y" ]]; then make -C xen KCONFIG_ALLCONFIG=tools/kconfig/allrandom.config randconfig +elif [[ "${MEM_SHARING}" == "y" ]]; then + echo "CONFIG_MEM_SHARING=y" > xen/.config + make -C xen olddefconfig else make -C xen defconfig fi