From nobody Mon Apr 29 07:34:41 2024 Delivered-To: importer@patchew.org Received-SPF: pass (zoho.com: domain of gnu.org designates 208.118.235.17 as permitted sender) client-ip=208.118.235.17; envelope-from=qemu-devel-bounces+importer=patchew.org@nongnu.org; helo=lists.gnu.org; Authentication-Results: mx.zohomail.com; dkim=fail; spf=pass (zoho.com: domain of gnu.org designates 208.118.235.17 as permitted sender) smtp.mailfrom=qemu-devel-bounces+importer=patchew.org@nongnu.org Return-Path: Received: from lists.gnu.org (lists.gnu.org [208.118.235.17]) by mx.zohomail.com with SMTPS id 1529584074491797.0238228879829; Thu, 21 Jun 2018 05:27:54 -0700 (PDT) Received: from localhost ([::1]:55172 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1fVygr-00088A-OR for importer@patchew.org; Thu, 21 Jun 2018 08:27:53 -0400 Received: from eggs.gnu.org ([2001:4830:134:3::10]:51820) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1fVyfv-0007mr-Hy for qemu-devel@nongnu.org; Thu, 21 Jun 2018 08:26:56 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1fVyfp-00022w-5Q for qemu-devel@nongnu.org; Thu, 21 Jun 2018 08:26:55 -0400 Received: from mail-qt0-x243.google.com ([2607:f8b0:400d:c0d::243]:35813) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1fVyfo-00022g-Vu for qemu-devel@nongnu.org; Thu, 21 Jun 2018 08:26:49 -0400 Received: by mail-qt0-x243.google.com with SMTP id z6-v6so2612765qti.2 for ; Thu, 21 Jun 2018 05:26:48 -0700 (PDT) Received: from x1.local ([138.117.48.222]) by smtp.gmail.com with ESMTPSA id d18-v6sm2860567qtl.32.2018.06.21.05.26.46 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Thu, 21 Jun 2018 05:26:48 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=sender:from:to:cc:subject:date:message-id:mime-version :content-transfer-encoding; bh=0EfZnnwn+vFSkTYZNWhm0BwkbMtC+i7HpQuB9FNUS7E=; b=ekqdLi5w/pETPBii4hLEzy5e/u+6XIHFbPWMgyqLVykRK1PsL6ChAyfte/LUGdy8kV bVngtfbJo2hMDhypTsyT1pDDVP7G3aFBW+FJvQiv4geODD+RRx3qqUnagS0Im7Q3Nn02 ZjFvofIorDvlwUaPNNcG4omZHHajBvOZdk+dYv3rgGdVmi65yfPfTvYZY1cDLat57Cfi eTtkrwUkZltSyr1zYI/lQNfuuhk6PiNG6gIZ9RRyEV82rLBhOnDlmkYpG/J6RLvxnYV6 zPBKN//hXuBneoclONvx6p7KYUY+r9hpJQ5gl9VtCcl5/acN48YnOB+GySat9yg78MiA 2M/Q== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:sender:from:to:cc:subject:date:message-id :mime-version:content-transfer-encoding; bh=0EfZnnwn+vFSkTYZNWhm0BwkbMtC+i7HpQuB9FNUS7E=; b=sPntcFTpDjuud4S6aFcqmUYTHcXUkaBKL1U3E9M+/dCyrocOSYkWIANdXixm4h0pXR J0HDjofC8l5qkd7/CbG6hoPDN80KNtCaoZEpqI37M16OeAxKbfqj31O2T+tOf34GpIze 2iQD7vRIcUNsI6cNyf6cwCPxCEeM1iOvUL89VtvgtUoRxCmiRbB85R751TrQDO52oBAQ NqQ1VWYSaXmg7ltdC0CjXevbPGqoA3ToFV4x1cbL94jNR6LA3bfZQa4gmmH7MdfJFtcV rj7/0HJO6HbQ+0tP1Ri7yr8Uz19QxEPorsvg9IkmFfrewWX06j0eY6tdUgcpm4Bvy8Jw MmWQ== X-Gm-Message-State: APt69E0aq2PzFLrpEgRUSwEMUOquiGhqspwj2d0ezoCFcAu6TDcZEKg4 tNKVHAey9rw5zf1wF/FwJ6U= X-Google-Smtp-Source: ADUXVKKHXYWs8q+yG8SQYrFo6xXJv/L+2ocZZqf/1Ej9fvQFVlyUng6UftxSxKs8rhATWaLzJjMkCg== X-Received: by 2002:ac8:3661:: with SMTP id n30-v6mr23478690qtb.1.1529584008457; Thu, 21 Jun 2018 05:26:48 -0700 (PDT) From: =?UTF-8?q?Philippe=20Mathieu-Daud=C3=A9?= To: =?UTF-8?q?Alex=20Benn=C3=A9e?= , Fam Zheng Date: Thu, 21 Jun 2018 09:26:37 -0300 Message-Id: <20180621122638.12113-1-f4bug@amsat.org> X-Mailer: git-send-email 2.18.0.rc2 MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: quoted-printable X-detected-operating-system: by eggs.gnu.org: Genre and OS details not recognized. X-Received-From: 2607:f8b0:400d:c0d::243 Subject: [Qemu-devel] [RFC PATCH] travis: Test out-of-tree builds X-BeenThere: qemu-devel@nongnu.org X-Mailman-Version: 2.1.21 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: =?UTF-8?q?Philippe=20Mathieu-Daud=C3=A9?= , qemu-devel@nongnu.org Errors-To: qemu-devel-bounces+importer=patchew.org@nongnu.org Sender: "Qemu-devel" X-ZohoMail-DKIM: fail (Header signature does not verify) X-ZohoMail: RDKM_2 RSF_0 Z_629925259 SPT_0 Force one config to build 'out-of-tree' (object files and executables are created in a tree outside the project source code). Signed-off-by: Philippe Mathieu-Daud=C3=A9 --- I noticed various out-of-tree issue in the last 2 merge windows. Pseudo-randomly picked a build from the matrix which covers system + user. .travis.yml | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/.travis.yml b/.travis.yml index fabfe9ec34..02e096f6a9 100644 --- a/.travis.yml +++ b/.travis.yml @@ -50,6 +50,8 @@ notifications: on_failure: always env: global: + - SRC_DIR=3D"." + - BUILD_DIR=3D"." - TEST_CMD=3D"make check" - MAKEFLAGS=3D"-j3" matrix: @@ -69,11 +71,15 @@ before_install: - wget -O - http://people.linaro.org/~alex.bennee/qemu-submodule-git-see= d.tar.xz | tar -xvJ - git submodule update --init --recursive before_script: - - ./configure ${CONFIG} || { cat config.log && exit 1; } + - mkdir -p ${BUILD_DIR} && cd ${BUILD_DIR} + - ${SRC_DIR}/configure ${CONFIG} || { cat config.log && exit 1; } script: - make ${MAKEFLAGS} && ${TEST_CMD} matrix: include: + # Test out-of-tree builds + - env: CONFIG=3D"--enable-debug --enable-debug-tcg" + BUILD_DIR=3D"out-of-tree/build/dir" SRC_DIR=3D"../../.." # Test with Clang for compile portability (Travis uses clang-5.0) - env: CONFIG=3D"--disable-system" compiler: clang --=20 2.18.0.rc2