From patchwork Wed Jan 11 16:28:38 2017 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: =?utf-8?q?Alex_Benn=C3=A9e?= X-Patchwork-Id: 9510593 Return-Path: Received: from mail.wl.linuxfoundation.org (pdx-wl-mail.web.codeaurora.org [172.30.200.125]) by pdx-korg-patchwork.web.codeaurora.org (Postfix) with ESMTP id 446AC606E1 for ; Wed, 11 Jan 2017 16:29:14 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 23FE8204C1 for ; Wed, 11 Jan 2017 16:29:14 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 187B9284DA; Wed, 11 Jan 2017 16:29:14 +0000 (UTC) X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on pdx-wl-mail.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-6.8 required=2.0 tests=BAYES_00,DKIM_SIGNED, RCVD_IN_DNSWL_HI,T_DKIM_INVALID autolearn=ham version=3.3.1 Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id F0A4E28584 for ; Wed, 11 Jan 2017 16:29:02 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1765711AbdAKQ24 (ORCPT ); Wed, 11 Jan 2017 11:28:56 -0500 Received: from mail-wj0-f169.google.com ([209.85.210.169]:35535 "EHLO mail-wj0-f169.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1030652AbdAKQ2x (ORCPT ); Wed, 11 Jan 2017 11:28:53 -0500 Received: by mail-wj0-f169.google.com with SMTP id i20so106232847wjn.2 for ; Wed, 11 Jan 2017 08:28:53 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=from:to:cc:subject:date:message-id:in-reply-to:references :mime-version:content-transfer-encoding; bh=8nq7LuDJOrYTvoKrrRPUQmQnJhTwE0u5bJ8YPBpvKLU=; b=bROkshTeLZCTtwJVlGoB2fNltotK0ef4pPXdb5MhLSunv3K18/w19aug3Pghl4ibvM Gwvemi6OPHFp3qcHwtZaXEQ9I+3YAaklnpiVNVTqP/2wsQSo+j+4rkOTAFsMdP2ngpMO oht6z557piHnTzsyhCRfpiHTTbuUFNYLnoIA4= 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:in-reply-to :references:mime-version:content-transfer-encoding; bh=8nq7LuDJOrYTvoKrrRPUQmQnJhTwE0u5bJ8YPBpvKLU=; b=nP7aWva5C4RoMB/G6IM19Wl35QNC8i0N0gmO+nHfoG4/A55mTYPUkXdaX61vMEFMb4 53uU40uP6gNMQq9LugXUE6IFHFnXyLr+nf8UguzJUqiC//dnzIgJSBF5qN0ki54pHB/9 HnOXhVaYGk4X+vqegShV+Ek5sdHMSPU+hfP4UHU4j9/5hXFS7lbNdEXtHcFGVudwhalv YTudyfuI6l5/1x6CPbdKY0dh8A9HKlQIvyk9gDq9/KIOC+qS/5jdCaJVfN9vX9wR6XwB I5eVhpAE1FG0zoF4gQ1wHYeTORdkyhcBkmlRxN8OBw1sCEu9gCn67MIGO5YSFoZbrhfi H0eg== X-Gm-Message-State: AIkVDXIAHYauzx1GzB3h7eLHUbCVaPBdna0yj6LsaPs38+8BEf9ksQ/uj6fRc3sDg5N8pvTx X-Received: by 10.195.11.41 with SMTP id ef9mr5815432wjd.89.1484152132074; Wed, 11 Jan 2017 08:28:52 -0800 (PST) Received: from zen.linaro.local ([81.128.185.34]) by smtp.gmail.com with ESMTPSA id k7sm9299317wjz.33.2017.01.11.08.28.49 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Wed, 11 Jan 2017 08:28:50 -0800 (PST) Received: from zen.linaroharston (localhost [127.0.0.1]) by zen.linaro.local (Postfix) with ESMTP id C71F63E06B6; Wed, 11 Jan 2017 16:28:48 +0000 (GMT) From: =?UTF-8?q?Alex=20Benn=C3=A9e?= To: drjones@redhat.com, pbonzini@redhat.com Cc: kvm@vger.kernel.org, linux-arm-kernel@lists.infradead.org, kvmarm@lists.cs.columbia.edu, christoffer.dall@linaro.org, marc.zyngier@arm.com, =?UTF-8?q?Alex=20Benn=C3=A9e?= Subject: [kvm-unit-tests PATCH 3/6] docs: move README to README.md and symlink Date: Wed, 11 Jan 2017 16:28:38 +0000 Message-Id: <20170111162841.15569-4-alex.bennee@linaro.org> X-Mailer: git-send-email 2.11.0 In-Reply-To: <20170111162841.15569-1-alex.bennee@linaro.org> References: <20170111162841.15569-1-alex.bennee@linaro.org> MIME-Version: 1.0 Sender: kvm-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: kvm@vger.kernel.org X-Virus-Scanned: ClamAV using ClamSMTP This allows a slightly nicer formatting of the text when displayed on some repository hosts. We keep a symlink from README for the old-school purists. Signed-off-by: Alex Bennée --- README | 69 +---------------------------------------------------- README.md | 81 +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ 2 files changed, 82 insertions(+), 68 deletions(-) mode change 100644 => 120000 README create mode 100644 README.md diff --git a/README b/README deleted file mode 100644 index f8f196d..0000000 --- a/README +++ /dev/null @@ -1,68 +0,0 @@ -Welcome to kvm-unit-tests - -See http://www.linux-kvm.org/page/KVM-unit-tests for a high-level -description of this project, as well as running tests and adding -tests HOWTOs. - -This directory contains sources for a kvm test suite. - -To create the test images do - ./configure - make -in this directory. Test images are created in .//*.flat - -Then use the runner script to detect the correct invocation and -invoke the test, e.g. - ./x86-run ./x86/msr.flat -or - ./run_tests.sh -to run them all. - -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 -./scripts: helper scripts for building and running tests -./lib: general architecture neutral services for the tests -./lib/: architecture dependent services for the tests -./: the sources of the tests and the created objects/images - -See /README for architecture specific documentation. - -CONTRIBUTING: -============= - -Style ------ - -Currently there is a mix of indentation styles so any changes to -existing files should be consistent with the existing style. For new -files: - - - C: please use standard linux-with-tabs - - Shell: use TABs for indentation - -Patches -------- - -Patches are welcome at the KVM mailing list . - -Please prefix messages with: [kvm-unit-tests PATCH] - -You can add the following to .git/config to do this automatically for you: - -[format] - subjectprefix = kvm-unit-tests PATCH - diff --git a/README b/README new file mode 120000 index 0000000..42061c0 --- /dev/null +++ b/README @@ -0,0 +1 @@ +README.md \ No newline at end of file diff --git a/README.md b/README.md new file mode 100644 index 0000000..5027b62 --- /dev/null +++ b/README.md @@ -0,0 +1,81 @@ +# Welcome to kvm-unit-tests + +See http://www.linux-kvm.org/page/KVM-unit-tests for a high-level +description of this project, as well as running tests and adding +tests HOWTOs. + +# Building the tests + +This directory contains sources for a kvm test suite. + +To create the test images do: + + ./configure + make + +in this directory. Test images are created in .//*.flat + +## Standalone tests + +The tests can be built as standalone +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. + + +# Running the tests + +Then use the runner script to detect the correct invocation and +invoke the test: + + ./x86-run ./x86/msr.flat +or: + + ./run_tests.sh + +to run them all. + +To select a specific qemu binary, specify the QEMU= +environment variable: + + QEMU=/tmp/qemu/x86_64-softmmu/qemu-system-x86_64 ./x86-run ./x86/msr.flat + +# Contributing + +## Directory structure + + .: configure script, top-level Makefile, and run_tests.sh + ./scripts: helper scripts for building and running tests + ./lib: general architecture neutral services for the tests + ./lib/: architecture dependent services for the tests + ./: the sources of the tests and the created objects/images + +See /README for architecture specific documentation. + +## Style + +Currently there is a mix of indentation styles so any changes to +existing files should be consistent with the existing style. For new +files: + + - C: please use standard linux-with-tabs + - Shell: use TABs for indentation + +## Patches + +Patches are welcome at the KVM mailing list . + +Please prefix messages with: [kvm-unit-tests PATCH] + +You can add the following to .git/config to do this automatically for you: + + [format] + subjectprefix = kvm-unit-tests PATCH +