[prev in list] [next in list] [prev in thread] [next in thread]
List: freedesktop-xorg-devel
Subject: [PATCH XTS 2/7] Describe how to run only a single test case in the
From: Peter Hutterer <peter.hutterer () who-t ! net>
Date: 2010-06-29 23:10:20
Message-ID: 1277853025-19984-3-git-send-email-peter.hutterer () who-t ! net
[Download RAW message or body]
Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
---
README | 18 ++++++++++++++++++
1 files changed, 18 insertions(+), 0 deletions(-)
diff --git a/README b/README
index 130cac4..af18b04 100644
--- a/README
+++ b/README
@@ -55,6 +55,24 @@ the xts-report tool (formerly vswrpt):
$ xts-report -f /xts/output/dir/journal
+Running a Single Test
+=====================
+The pt script can be used to run a single set of tests or a single test case
+only. For example, to run only the XGrabButton tests, run
+ $ pt ./XGrabButton
+
+The logs for the test are saved in a file <testcase>.log, for the example
+above the log file would be ./XGrabButton.log.
+
+The pt script sets up some environment variables, based on TET_ROOT and
+other settings. To start the debugger automatically after the environment is
+set up, run:
+ $ pt -gdb ./XGrabButton
+
+To run only a single test-case inside one test set, use the -i flag.
+ $ pt -i 10 ./XGrabButton
+
+This command only runs test case 10 (t010() in the source).
Bugs
====
--
1.7.1
_______________________________________________
xorg-devel@lists.x.org: X.Org development
Archives: http://lists.x.org/archives/xorg-devel
Info: http://lists.x.org/mailman/listinfo/xorg-devel
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic