linux-btrfs.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: Gu Jinxiang <gujx@cn.fujitsu.com>
To: <linux-btrfs@vger.kernel.org>
Cc: <dsterba@suse.cz>, <quwenruo.btrfs@gmx.com>
Subject: [RFC PATCH v2 4/4] btrfs-progs: Add readme for export testsuits
Date: Fri, 2 Feb 2018 16:34:05 +0800	[thread overview]
Message-ID: <1517560445-5712-5-git-send-email-gujx@cn.fujitsu.com> (raw)
In-Reply-To: <1517560445-5712-1-git-send-email-gujx@cn.fujitsu.com>

Add the readme of command for export testsuits.
And add the excute method of exported testsuits.

Signed-off-by: Gu Jinxiang <gujx@cn.fujitsu.com>
---
 tests/README.md | 20 ++++++++++++++++++++
 1 file changed, 20 insertions(+)

diff --git a/tests/README.md b/tests/README.md
index 04d2ce2a..9f4c01ac 100644
--- a/tests/README.md
+++ b/tests/README.md
@@ -48,6 +48,26 @@ $ TEST=001\* ./fsck-tests.sh
 will run the first test in fsck-tests subdirectory.
 
 
+## Package testsuit
+
+The tests can be export as a tests.tar.gz into path given. Use:
+
+```shell
+$ make EXPORT=PATH package
+```
+
+where `PATH` is a directory where tests.tar.gz be genereated.
+Here comes handy:
+
+```shell
+$ make EXPORT=/home/user/ package
+$ make EXPORT=../../dir/ package
+```
+
+And, after decompress tests.tar.gz, test can be run selectively
+from `tests/` directory introduced above.
+
+
 ## Test structure
 
 *tests/fsck-tests/:*
-- 
2.14.3




  parent reply	other threads:[~2018-02-02  8:34 UTC|newest]

Thread overview: 12+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2018-02-02  8:34 [RFC PATCH v2 0/4] Add support for export testsuits Gu Jinxiang
2018-02-02  8:34 ` [RFC PATCH v2 1/4] btrfs-progs: Add package command for packaging tests Gu Jinxiang
2018-02-02  8:34 ` [RFC PATCH v2 2/4] btrfs-progs: Add EXEC represent path of executable file Gu Jinxiang
2018-02-02 18:07   ` David Sterba
2018-02-03  9:07     ` Gu, Jinxiang
2018-02-05 17:17       ` David Sterba
2018-02-02  8:34 ` [RFC PATCH v2 3/4] btrfs-progs: Modify rootdir files when use mkfs.btrfs Gu Jinxiang
2018-02-02 18:11   ` David Sterba
2018-02-02  8:34 ` Gu Jinxiang [this message]
2018-02-02 10:41 ` [RFC PATCH v2 0/4] Add support for export testsuits Nikolay Borisov
2018-02-02 10:59   ` Qu Wenruo
2018-02-02 18:47 ` David Sterba

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1517560445-5712-5-git-send-email-gujx@cn.fujitsu.com \
    --to=gujx@cn.fujitsu.com \
    --cc=dsterba@suse.cz \
    --cc=linux-btrfs@vger.kernel.org \
    --cc=quwenruo.btrfs@gmx.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).