From: Andrew Jones Subject: [kvm-unit-tests PATCH v2 6/6] standalone: add documentation to README Date: Mon, 13 Jul 2015 19:03:03 +0200 Message-ID: <1436806983-29783-7-git-send-email-drjones@redhat.com> References: <1436806983-29783-1-git-send-email-drjones@redhat.com> Cc: pbonzini@redhat.com, mtosatti@redhat.com, jen@redhat.com To: kvm@vger.kernel.org Return-path: Received: from mx1.redhat.com ([209.132.183.28]:39438 "EHLO mx1.redhat.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751978AbbGMRDQ (ORCPT ); Mon, 13 Jul 2015 13:03:16 -0400 Received: from int-mx13.intmail.prod.int.phx2.redhat.com (int-mx13.intmail.prod.int.phx2.redhat.com [10.5.11.26]) by mx1.redhat.com (Postfix) with ESMTPS id B3351BE27B for ; Mon, 13 Jul 2015 17:03:16 +0000 (UTC) In-Reply-To: <1436806983-29783-1-git-send-email-drjones@redhat.com> Sender: kvm-owner@vger.kernel.org List-ID: Signed-off-by: Andrew Jones --- README | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/README b/README index e9869d12bfa20..eab5ea28f7fab 100644 --- a/README +++ b/README @@ -16,6 +16,16 @@ To select a specific qemu binary, specify the QEMU= environment variable, e.g. QEMU=/tmp/qemu/x86_64-softmmu/qemu-system-x86_64 ./x86-run ./x86/msr.flat +To create and use standalone tests do + ./configure + make standalone + (send tests/some-test somewhere) + (go to somewhere) + ./some-test + +'make install' will install all tests in PREFIX/share/kvm-unit-tests/tests, +each as a standalone test. + Directory structure: .: configure script, top-level Makefile, and run_tests.sh ./config: collection of architecture dependent makefiles -- 2.4.3