From patchwork Sun Mar 15 09:34:23 2020 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Xiaoyao Li X-Patchwork-Id: 11438795 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 1BE9214B4 for ; Sun, 15 Mar 2020 09:52:18 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.kernel.org (Postfix) with ESMTP id 03A8920737 for ; Sun, 15 Mar 2020 09:52:18 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1728192AbgCOJwR (ORCPT ); Sun, 15 Mar 2020 05:52:17 -0400 Received: from mga17.intel.com ([192.55.52.151]:35235 "EHLO mga17.intel.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1728108AbgCOJwR (ORCPT ); Sun, 15 Mar 2020 05:52:17 -0400 IronPort-SDR: HChpFelIJng41hdn2vxch5buzBS3a9o6bVvl3+U2mcGDDvesItcWJkwaWkQ4yoC8aTkzjMIBHy /3BMTf11vVgA== X-Amp-Result: SKIPPED(no attachment in message) X-Amp-File-Uploaded: False Received: from orsmga005.jf.intel.com ([10.7.209.41]) by fmsmga107.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 15 Mar 2020 02:52:16 -0700 IronPort-SDR: cuxcG9ERSYwCjvd61maY4zMtxSP5zttqBeHAybX768mImW+t4oxgyWF4bz4w1dRLN2ujMXQQnc l5XF4a8P1Abg== X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.70,556,1574150400"; d="scan'208";a="416800326" Received: from lxy-clx-4s.sh.intel.com ([10.239.43.160]) by orsmga005.jf.intel.com with ESMTP; 15 Mar 2020 02:52:15 -0700 From: Xiaoyao Li To: Shuah Khan , Paolo Bonzini , linux-kselftest@vger.kernel.org, linux-kernel@vger.kernel.org, kvm@vger.kernel.org Cc: Xiaoyao Li Subject: [PATCH 0/2] Fix errors when try to build kvm selftests on Date: Sun, 15 Mar 2020 17:34:23 +0800 Message-Id: <20200315093425.33600-1-xiaoyao.li@intel.com> X-Mailer: git-send-email 2.20.1 MIME-Version: 1.0 Sender: linux-kselftest-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kselftest@vger.kernel.org I attempted to build KVM selftests on a specified dir, unfortunately neither "make O=~/mydir TARGETS=kvm" in tools/testing/selftests, nor "make OUTPUT=~/mydir" in tools/testing/selftests/kvm work. This series aims to make both work. Xiaoyao Li (2): kvm: selftests: Fix no directory error when OUTPUT specified selftests: export INSTALL_HDR_PATH if using "O" to specify output dir tools/testing/selftests/Makefile | 6 +++++- tools/testing/selftests/kvm/Makefile | 3 ++- 2 files changed, 7 insertions(+), 2 deletions(-)