summaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAgeFilesLines
* Merge branch 'baserock/richardmaw/parallel' into baserock/morphbaserock/morphRichard Maw2014-10-245-79/+302
|\ | | | | | | | | Reviewed-by: Sam Thursfield Reviewed-by: Richard Ipsum
| * Paper over the lack of unit test coverageRichard Maw2014-10-242-6/+7
| |
| * yarn: Improve parallel testing progress reportingbaserock/richardmaw/parallelRichard Maw2014-10-221-8/+13
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Previously it would list [x/y] where x was the step id, and y was the total number of steps. This stopped producing sensible output after we started being able to run scenarios in parallel, since jobs were started in non-sequential id order. Now it's just a counter, with x as the number of steps completed. This also fixes it listing the wrong scenario name for each step, since previously it would set the scenario name when a scenario was started, now since they are interleaved, we need to report it when we start a new step. Also, as a consequence of moving to ID order, we need to adjust the steps completed when we skip because an ASSUMING failed. It may be better to make the scenario runners track the number of remaining steps, since we're currently encoding this information both in the runner, and in yarn where we're reporting status.
| * yarn: Don't crash when a command failed with binary outputRichard Maw2014-10-151-1/+1
| |
| * yarn: Allow multi-runner when called with -jNRichard Maw2014-10-151-0/+10
| |
| * yarnlib: Add a scenario runner that runs scenarios in parallelRichard Maw2014-10-152-0/+165
| | | | | | | | | | | | This uses an asyncore select loop to process the output of multiple subprocesses, start new steps when a previous step exits, and start a new scenario when that one has finished.
| * yarnlib: Split out scenario and step setupRichard Maw2014-10-151-17/+30
| | | | | | | | | | This is so the future scenario multi-runner can re-use the common setup code.
| * yarn: Move scenario setup into ScenarioRunnerRichard Maw2014-10-152-46/+55
| | | | | | | | | | | | | | | | Now you should call .run_scenarios instead of .run_scenario, and pass testdir to the ScenarioRunner class. You can still call .run_scenario directly instead. The testdir argument isn't required when used that way.
| * yarn: Move --no-act logic out of .run_scenarioRichard Maw2014-10-152-13/+23
| |
| * yarn: Move timing out of .run_scenarioRichard Maw2014-10-151-20/+30
|/ | | | | This is in effort of moving the scenario running code into yarnlib, and being able to make it run scenarios in parallel.
* Merge branch 'baserock/richardmaw/space-efficient' into baserock/morphRichard Maw2014-10-137-11/+62
|\ | | | | | | | | | | | | | | This extends the temporary fork of yarn further, so that it can be demonstrated that the changes are being used. Reviewed-by: Richard Ipsum Reviewed-by: Sam Thursfield
| * yarn: Remove scenario DATADIR after runningbaserock/richardmaw/space-efficientRichard Maw2014-10-111-0/+3
| | | | | | | | | | | | | | | | Now it will remove the DATADIR of the scenario after it has run, rather than after every scenario has been run, if --snapshot has not been specified. This reduces the amount of space needed to run yarn tests further.
| * yarn: Don't snapshot datadir without --snapshotRichard Maw2014-10-111-2/+3
| | | | | | | | | | | | | | | | It would previously create the snapshots, then remove them again after all the scenarios have been run. This is unhelpful if you're running tests in a tmpfs, and you've got non-trivial amounts of data in DATADIR.
| * Merge remote-tracking branch 'origin/master' into baserock/morphRichard Maw2014-10-117-9/+56
| |\ |/ /
| * Document in README that cmdtest is in maint modeLars Wirzenius2014-08-261-0/+5
| |
| * Tweak debian/controlLars Wirzenius2014-03-292-2/+11
| |
| * Prepare release version 0.12cmdtest-0.12Lars Wirzenius2014-03-283-2/+8
| |
| * Ignore errors when removing DATADIR as wellLars Wirzenius2014-03-271-1/+1
| |
| * Stop yarn from failing test if snapshot failsLars Wirzenius2014-03-272-1/+11
| |
| * Prepare release 0.11cmdtest-0.11Lars Wirzenius2014-03-153-3/+10
| |
| * Add test for yarn for a missing stepLars Wirzenius2014-03-151-0/+10
| |
| * Fix doc for --run to speak of scenariosLars Wirzenius2014-03-101-2/+2
| |
| * When snapshotting datadir, don't cross mountsLars Wirzenius2014-02-271-1/+1
| | | | | | | | | | This should fix problems with snapshotting datadir when there is a FUSE mount in there, for example.
| * elements: remove unused execute methodRichard Maw2014-02-101-5/+0
| |
* | Merge branch 'baserock/richardmaw/S10275/factor-out-modules-v3' into ↵Richard Maw2014-02-1119-197/+1254
|\ \ | | | | | | | | | | | | | | | | | | | | | | | | baserock/morph Update the version of cmdtest used in Baserock and include the patches to move functionality into yarnlib. Reviewed-by: Lars Wirzenius
| * | Factor scenario running logic out into yarnlibbaserock/richardmaw/S10275/factor-out-modules-v3Richard Maw2014-02-114-106/+377
| | | | | | | | | | | | | | | | | | | | | | | | There's now ScenarioRunner, which is given the environment to run scenarios in, such as the shell prelude, environment variables and the path to the source tree of the project being tested. This is then given scenarios and the state directories.
| * | Factor scenario step and implementation connector into yarnlibRichard Maw2014-02-114-47/+217
| | | | | | | | | | | | | | | | | | | | | | | | Rather than passing allow-missing-steps in, `missing_step_cb` can be passed to the ScenarioStepConnector, which if it returns true, will exclude that scenario, rather than raising an exception. This was chosen, as it also works as a status update callback.
| * | Factor out shell library loading into yarnlibRichard Maw2014-02-114-8/+109
| | |
| * | Factor scenario validation into yarnlibRichard Maw2014-02-114-35/+156
| | |
| * | elements: remove unused execute methodRichard Maw2014-02-111-6/+1
| |/
| * Add --allow-missing-stepsLars Wirzenius2014-01-212-2/+24
| |
| * Make yarn set $HOME to an existing directoryLars Wirzenius2014-01-213-1/+17
| |
| * Make step progress reporting nicerLars Wirzenius2014-01-211-7/+10
| | | | | | | | A count of all steps is nicer than separate scenario/step counts.
| * Update NEWS about no-thens bugLars Wirzenius2013-11-151-2/+4
| |
| * Merge remote-tracking branch 'origin/pf/fix-no-thens-bug'Lars Wirzenius2013-11-154-1/+28
| |\
| | * Fix bug where yarn reports all yarns as having no THENSpf/fix-no-thens-bugPete Fotheringham2013-11-111-1/+1
| | |
| | * Given one invalid yarn and one valid one, check yarn reports the correct one ↵Pete Fotheringham2013-11-113-0/+27
| | | | | | | | | | | | as invalid
| * | Add installation instructions to README.yarnLars Wirzenius2013-11-151-0/+20
| | | | | | | | | | | | Suggested-by: David Harrison
| * | Merge remote-tracking branch 'remotes/origin/pf/add-test-language-spec'Lars Wirzenius2013-11-151-49/+238
| |\ \ | | |/ | |/| | | | Some content for the yarn manual from Pete.
| | * Fix nested bulletspf/add-test-language-specPete Fotheringham2013-10-301-40/+40
| | |
| | * S9399 Yarn manual - Test language specification (from README.yarn)Pete Fotheringham2013-10-301-9/+198
| |/ | | | | | | | | | | | | | | | | | | Also started Introduction - wrote a skeleton and populated the 'What is yarn?' section Moved some of the introductory text into 'Writing Scenarios' chapter, and made the Language Specification a sub-section of that. Tweaked heading and indentations
| * Merge remote-tracking branch 'origin/pf/first-attempts'Lars Wirzenius2013-10-271-0/+38
| |\
| | * First contributionspf/first-attemptsPete Fotheringham2013-10-271-0/+38
| |/ | | | | | | | | add 'Mission' section - wording to be agreed changed by Lars add 'Document Status' section - 'Done', 'New' and 'Coming soon'
| * Start a yarn manual fileLars Wirzenius2013-10-241-0/+57
| |
| * Fix cmdtest --testLars Wirzenius2013-10-202-0/+14
| |
| * Report number of scenarios skipped due to ASSUMINGLars Wirzenius2013-10-182-0/+11
| |
* | Merge branch 'baserock/pedroalvarez/update' into baserock/morphPedro Alvarez2013-10-3118-10/+301
|\ \
| * \ Merge tag 'cmdtest-0.10' into baserock/pedroalvarez/updatePedro Alvarez2013-10-2518-10/+301
| |\ \ |/ / / | | _
| * Release version 0.10cmdtest-0.10Lars Wirzenius2013-10-053-2/+8
| |
| * Match IMPLEMENTS always case-insensitivelyLars Wirzenius2013-09-193-2/+18
| | | | | | | | Reported-by: Jannis Pohlmann