public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
From: "Michał Górny" <mgorny@gentoo.org>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] proj/pms-test-suite:master commit in: /
Date: Sun, 31 Jul 2011 14:43:36 +0000 (UTC)	[thread overview]
Message-ID: <a18c93feb60e6151044affec1663eb685529b16e.mgorny@gentoo> (raw)

commit:     a18c93feb60e6151044affec1663eb685529b16e
Author:     Michał Górny <mgorny <AT> gentoo <DOT> org>
AuthorDate: Sun Jul 31 14:44:38 2011 +0000
Commit:     Michał Górny <mgorny <AT> gentoo <DOT> org>
CommitDate: Sun Jul 31 14:44:38 2011 +0000
URL:        http://git.overlays.gentoo.org/gitweb/?p=proj/pms-test-suite.git;a=commit;h=a18c93fe

Update README on test execution.

---
 README |   31 +++++++++++++++++++++++--------
 1 files changed, 23 insertions(+), 8 deletions(-)

diff --git a/README b/README
index a0bc0bb..c05f9b5 100644
--- a/README
+++ b/README
@@ -20,18 +20,33 @@ to determine whether the PM does comply to the PMS [1].
 How to run it
 -------------
 
-The code is currently in early stage of development, you can try out some
-of the functions already implemented.
+First, you need to have an overlay for the tests. If you intend to use portage,
+`pms-tester` can create an temporary repository and use it automatically. To do
+so, run:
 
-First you need to clone the project's git repo:
+	pms-tester -R /tmp/your-repo-location
 
-	git clone git://git.overlays.gentoo.org/proj/pms-test-suite.git
+If you intend to test another PM, you need to either create the repository
+yourself or use the above command to let `pms-tester` create it for you. Notice
+you'll need to have portage installed for that. Afterwards, you need to add
+the repository to your PM configuration.
 
-Then run the `pms-tester` script, passing the path to a temporary overlay
-location as its -R option:
+For example, setting up a test repository for portage configs can be achieved
+through:
 
-	cd pms-test-suite
 	umask 022
-	./pms-tester -R /tmp/pms-test-suite-overlay
+	mkdir -p /usr/local/portage/pms-tests/profiles
+	echo 'pms-tests' > /usr/local/portage/pms-tests/profiles/repo_name
+	echo 'PORTDIR_OVERLAY="${PORTDIR_OVERLAY}
+		/usr/local/portage/pms-tests' >> /etc/make.conf
+
+The newly-created repository can be then referenced by name:
+
+	pms-tester -r pms-tests -p yourpm
+
+`pms-tests` is the default name, and pms-tester will use it when no `-r`
+nor `-R` is specified. Thus, the above could be simplified to:
+
+	pms-tester -p yourpm
 
 <!-- vim:se syn=markdown :-->



             reply	other threads:[~2011-07-31 14:43 UTC|newest]

Thread overview: 33+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2011-07-31 14:43 Michał Górny [this message]
  -- strict thread matches above, loose matches on Subject: below --
2012-01-04 16:49 [gentoo-commits] proj/pms-test-suite:master commit in: / Michał Górny
2012-01-02 22:03 Michał Górny
2011-08-20  6:23 Michał Górny
2011-08-14 15:04 Michał Górny
2011-08-13  8:54 Michał Górny
2011-08-08 22:15 Michał Górny
2011-07-31 14:57 Michał Górny
2011-07-10 10:12 Michał Górny
2011-06-29 12:58 Michał Górny
2011-06-28  7:13 Michał Górny
2011-06-28  7:13 Michał Górny
2011-06-25  8:39 Michał Górny
2011-06-25  8:39 Michał Górny
2011-06-23 21:14 Michał Górny
2011-06-23 16:28 Michał Górny
2011-06-22 11:50 Michał Górny
2011-06-22  8:18 Michał Górny
2011-06-22  8:18 Michał Górny
2011-06-19 10:54 Michał Górny
2011-06-08 12:44 Michał Górny
2011-06-05 18:37 Michał Górny
2011-05-31 19:18 Michał Górny
2011-05-31 19:18 Michał Górny
2011-05-31 18:10 Michał Górny
2011-05-31 18:10 Michał Górny
2011-05-29 17:55 Michał Górny
2011-05-27  6:21 Michał Górny
2011-05-26  7:25 Michał Górny
2011-05-25 20:40 Michał Górny
2011-05-25 18:18 Michał Górny
2011-05-24 14:28 Michał Górny
2011-05-16 20:00 Michał Górny

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=a18c93feb60e6151044affec1663eb685529b16e.mgorny@gentoo \
    --to=mgorny@gentoo.org \
    --cc=gentoo-commits@lists.gentoo.org \
    --cc=gentoo-dev@lists.gentoo.org \
    /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