summaryrefslogtreecommitdiff
path: root/README
diff options
context:
space:
mode:
authorLars Wirzenius <lars.wirzenius@codethink.co.uk>2012-03-26 16:05:50 +0100
committerLars Wirzenius <lars.wirzenius@codethink.co.uk>2012-03-26 16:05:50 +0100
commit01b418b905a1f49d485a15b18130ea0722330ea6 (patch)
treec7f7402a0492401448f5cef3aa859eadf991e684 /README
parentcec317a2d4e78f38665b59c142618f88ee86dd4c (diff)
downloadmorph-01b418b905a1f49d485a15b18130ea0722330ea6.tar.gz
Remove test stories from README
We no longer support test stories.
Diffstat (limited to 'README')
-rw-r--r--README32
1 files changed, 0 insertions, 32 deletions
diff --git a/README b/README
index 5aefaf71..8dceaa72 100644
--- a/README
+++ b/README
@@ -135,8 +135,6 @@ For systems, use the following fields:
`M` and `G`; **required**
* `strata`: a list of stratum names to include in the system image;
**required**
-* `test-stories`: a list of filenames with "test stories" for morph to
- run against the built image (see `morph test` subcommand); optional
Example chunk (simplified commands):
@@ -198,42 +196,12 @@ Example system:
"strata": [
"foundation",
"linux-stratum"
- ],
- "test-stories": [
- "stories/login.py",
- "stories/hostname-is-set.py",
- "stories/basic-utilities-work.py",
- "stories/halt-works.py"
]
}
Note that unknown keys in morphologies are silently ignored.
-Test stories for system images
-------------------------------
-
-The `morph test` subcommand will run a series of automated tests against
-an x86 system image under KVM using the serial console. Each test is
-stored in a separate file, and consist of a sequence of send/expect pairs.
-Example:
-
- story = [
- ('', 'login: '),
- ('root\r', '^~ # '),
- ]
-
-Each file is a Python module, with a variable called `story`,
-which is a list of tuples of two strings, or two strings and a
-number. The first string is sent to the serial console. The second
-string specifies a regular expression that is matched against the
-output from the serial console. The optional number is a timeout,
-in seconds, for how long to wait for a match. The default is ten
-seconds, and can be set with the `--test-timeout` option.
-
-The test succeeds if all tuples are sent/matched successfully.
-
-
Build environment
-----------------