Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Merge branch 'baserock/richardmaw/parallel' into baserock/morphbaserock/morph | Richard Maw | 2014-10-24 | 5 | -79/+302 |
|\ | | | | | | | | | Reviewed-by: Sam Thursfield Reviewed-by: Richard Ipsum | ||||
| * | Paper over the lack of unit test coverage | Richard Maw | 2014-10-24 | 2 | -6/+7 |
| | | |||||
| * | yarn: Improve parallel testing progress reportingbaserock/richardmaw/parallel | Richard Maw | 2014-10-22 | 1 | -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 output | Richard Maw | 2014-10-15 | 1 | -1/+1 |
| | | |||||
| * | yarn: Allow multi-runner when called with -jN | Richard Maw | 2014-10-15 | 1 | -0/+10 |
| | | |||||
| * | yarnlib: Add a scenario runner that runs scenarios in parallel | Richard Maw | 2014-10-15 | 2 | -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 setup | Richard Maw | 2014-10-15 | 1 | -17/+30 |
| | | | | | | | | | | This is so the future scenario multi-runner can re-use the common setup code. | ||||
| * | yarn: Move scenario setup into ScenarioRunner | Richard Maw | 2014-10-15 | 2 | -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_scenario | Richard Maw | 2014-10-15 | 2 | -13/+23 |
| | | |||||
| * | yarn: Move timing out of .run_scenario | Richard Maw | 2014-10-15 | 1 | -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/morph | Richard Maw | 2014-10-13 | 7 | -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-efficient | Richard Maw | 2014-10-11 | 1 | -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 --snapshot | Richard Maw | 2014-10-11 | 1 | -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/morph | Richard Maw | 2014-10-11 | 7 | -9/+56 |
| |\ |/ / | |||||
| * | Document in README that cmdtest is in maint mode | Lars Wirzenius | 2014-08-26 | 1 | -0/+5 |
| | | |||||
| * | Tweak debian/control | Lars Wirzenius | 2014-03-29 | 2 | -2/+11 |
| | | |||||
| * | Prepare release version 0.12cmdtest-0.12 | Lars Wirzenius | 2014-03-28 | 3 | -2/+8 |
| | | |||||
| * | Ignore errors when removing DATADIR as well | Lars Wirzenius | 2014-03-27 | 1 | -1/+1 |
| | | |||||
| * | Stop yarn from failing test if snapshot fails | Lars Wirzenius | 2014-03-27 | 2 | -1/+11 |
| | | |||||
| * | Prepare release 0.11cmdtest-0.11 | Lars Wirzenius | 2014-03-15 | 3 | -3/+10 |
| | | |||||
| * | Add test for yarn for a missing step | Lars Wirzenius | 2014-03-15 | 1 | -0/+10 |
| | | |||||
| * | Fix doc for --run to speak of scenarios | Lars Wirzenius | 2014-03-10 | 1 | -2/+2 |
| | | |||||
| * | When snapshotting datadir, don't cross mounts | Lars Wirzenius | 2014-02-27 | 1 | -1/+1 |
| | | | | | | | | | | This should fix problems with snapshotting datadir when there is a FUSE mount in there, for example. | ||||
| * | elements: remove unused execute method | Richard Maw | 2014-02-10 | 1 | -5/+0 |
| | | |||||
* | | Merge branch 'baserock/richardmaw/S10275/factor-out-modules-v3' into ↵ | Richard Maw | 2014-02-11 | 19 | -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-v3 | Richard Maw | 2014-02-11 | 4 | -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 yarnlib | Richard Maw | 2014-02-11 | 4 | -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 yarnlib | Richard Maw | 2014-02-11 | 4 | -8/+109 |
| | | | |||||
| * | | Factor scenario validation into yarnlib | Richard Maw | 2014-02-11 | 4 | -35/+156 |
| | | | |||||
| * | | elements: remove unused execute method | Richard Maw | 2014-02-11 | 1 | -6/+1 |
| |/ | |||||
| * | Add --allow-missing-steps | Lars Wirzenius | 2014-01-21 | 2 | -2/+24 |
| | | |||||
| * | Make yarn set $HOME to an existing directory | Lars Wirzenius | 2014-01-21 | 3 | -1/+17 |
| | | |||||
| * | Make step progress reporting nicer | Lars Wirzenius | 2014-01-21 | 1 | -7/+10 |
| | | | | | | | | A count of all steps is nicer than separate scenario/step counts. | ||||
| * | Update NEWS about no-thens bug | Lars Wirzenius | 2013-11-15 | 1 | -2/+4 |
| | | |||||
| * | Merge remote-tracking branch 'origin/pf/fix-no-thens-bug' | Lars Wirzenius | 2013-11-15 | 4 | -1/+28 |
| |\ | |||||
| | * | Fix bug where yarn reports all yarns as having no THENSpf/fix-no-thens-bug | Pete Fotheringham | 2013-11-11 | 1 | -1/+1 |
| | | | |||||
| | * | Given one invalid yarn and one valid one, check yarn reports the correct one ↵ | Pete Fotheringham | 2013-11-11 | 3 | -0/+27 |
| | | | | | | | | | | | | as invalid | ||||
| * | | Add installation instructions to README.yarn | Lars Wirzenius | 2013-11-15 | 1 | -0/+20 |
| | | | | | | | | | | | | Suggested-by: David Harrison | ||||
| * | | Merge remote-tracking branch 'remotes/origin/pf/add-test-language-spec' | Lars Wirzenius | 2013-11-15 | 1 | -49/+238 |
| |\ \ | | |/ | |/| | | | | Some content for the yarn manual from Pete. | ||||
| | * | Fix nested bulletspf/add-test-language-spec | Pete Fotheringham | 2013-10-30 | 1 | -40/+40 |
| | | | |||||
| | * | S9399 Yarn manual - Test language specification (from README.yarn) | Pete Fotheringham | 2013-10-30 | 1 | -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 Wirzenius | 2013-10-27 | 1 | -0/+38 |
| |\ | |||||
| | * | First contributionspf/first-attempts | Pete Fotheringham | 2013-10-27 | 1 | -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 file | Lars Wirzenius | 2013-10-24 | 1 | -0/+57 |
| | | |||||
| * | Fix cmdtest --test | Lars Wirzenius | 2013-10-20 | 2 | -0/+14 |
| | | |||||
| * | Report number of scenarios skipped due to ASSUMING | Lars Wirzenius | 2013-10-18 | 2 | -0/+11 |
| | | |||||
* | | Merge branch 'baserock/pedroalvarez/update' into baserock/morph | Pedro Alvarez | 2013-10-31 | 18 | -10/+301 |
|\ \ | |||||
| * \ | Merge tag 'cmdtest-0.10' into baserock/pedroalvarez/update | Pedro Alvarez | 2013-10-25 | 18 | -10/+301 |
| |\ \ |/ / / | | _ | |||||
| * | Release version 0.10cmdtest-0.10 | Lars Wirzenius | 2013-10-05 | 3 | -2/+8 |
| | | |||||
| * | Match IMPLEMENTS always case-insensitively | Lars Wirzenius | 2013-09-19 | 3 | -2/+18 |
| | | | | | | | | Reported-by: Jannis Pohlmann |