2006-02-24 Nicolas Desprès Update AUTHORS. * AUTHORS: Update Marco roles' description. * GUIDELINES: Fix typo. 2006-02-24 Nicolas Desprès Add forgotten observers. * AUTHORS: Add forgotten "Observer" since every body mentioned in this file is an observer. 2006-02-24 Nicolas Desprès Update the AUTHORS. * AUTHORS: Describe member roles instead of what member have implemented since the ChangeLog and Subversion already do that job. 2006-02-24 Nicolas Desprès Update the release date. * NEWS: Update the release date. 2006-02-23 Nicolas Desprès Update NEWS and GUIDELINES. * NEWS: Add an item about Ruby compatibility. * GUIDELINES: Ensure to check the date in the NEWS file. 2006-02-23 Nicolas Desprès Change the tutorials URL. * lib/uttk/filters/Filter.rb: . * lib/uttk/strategies/Strategy.rb: . * lib/uttk/strategies/Cmd.rb: . 2006-02-22 Nicolas Desprès Update the presentation. * doc/presentation/presentation.textile: Add two slides for the strategy extension. 2006-02-22 Nicolas Desprès Fix some typo. * doc/presentation/presentation.textile: . * lib/uttk/strategies/Bootstrap.rb: . * lib/uttk/strategies/Block.rb: . 2006-02-22 Nicolas Desprès Update the presentation. * SPEC.yml: Typo. * doc/presentation/presentation.textile: Fill the blanks and the english mistakes. 2006-02-21 Nicolas Desprès Add a little bit of documentation for almost all strategy. * lib/uttk/strategies/Bootstrap.rb: . * lib/uttk/strategies/SubCmd.rb: . * lib/uttk/strategies/Authors.rb: . * lib/uttk/strategies/Compile.rb: . * lib/uttk/strategies/Composite.rb: . * lib/uttk/strategies/Stub.rb: . * lib/uttk/strategies/RMatch.rb: . * lib/uttk/strategies/Proxy.rb: . * lib/uttk/strategies/Configure.rb: . * lib/uttk/strategies/KillAll.rb: . * lib/uttk/strategies/Block.rb: . * lib/uttk/strategies/Collection.rb: . * lib/uttk/strategies/ProbabilityThreshold.rb: . * lib/uttk/strategies/Cmd.rb: . * lib/uttk/strategies/Pool.rb: . * lib/uttk/strategies/Import.rb: . * NEWS: Typo. 2006-02-21 Nicolas Desprès Fix tutorials URL. * lib/uttk/strategies/Cmd.rb: . * lib/uttk/strategies/Strategy.rb: . * lib/uttk/filters/Filter.rb: . 2006-02-21 Nicolas Desprès Update the API documentation. * SPEC.yml: . * README: . * lib/uttk/dumpers/Dumper.rb: . * lib/uttk/filters/RPathFilter.rb: . * lib/uttk/filters/Filter.rb: . * lib/uttk/strategies/RUnit.rb: . * lib/uttk/strategies/Cmd.rb: . * NEWS: Updated. 2006-02-21 Nicolas Desprès Fix typo in the tuto. * test/fixtures/demo/command-tutorial/steps/1/check.yml: . * test/fixtures/demo/command-tutorial/steps/2/bad_check.yml: . * test/fixtures/demo/command-tutorial/steps/2/check.yml: . * test/fixtures/demo/command-tutorial/steps/3.1/check.yml: . * test/fixtures/demo/command-tutorial/steps/3/check.yml: . * test/fixtures/demo/command-tutorial/steps/4.1/check.yml: . * test/fixtures/demo/command-tutorial/steps/4/check.yml: . * test/fixtures/demo/command-tutorial/steps/5.1/check.yml: . * test/fixtures/demo/command-tutorial/steps/5/check.yml: . * test/fixtures/demo/command-tutorial/steps/6.1/check.yml: . * test/fixtures/demo/command-tutorial/steps/6/check.yml: . * test/fixtures/demo/command-tutorial/steps/7/check.yml: . * test/fixtures/demo/filter-tutorial/check.yml: . * doc/demo/command-tutorial.rtextile: . 2006-02-21 Nicolas Desprès A tutorial about the filters. * test/fixtures/demo/filter-tutorial: New. * test/fixtures/demo/filter-tutorial/filters: New. * test/fixtures/demo/filter-tutorial/filters/CutSkip100.rb: New. * test/fixtures/demo/filter-tutorial/pluralizer.rb: New. * test/fixtures/demo/filter-tutorial/check.yml: New. * test/fixtures/demo/filter-tutorial/filters: New. * test/fixtures/demo/filter-tutorial/filters/CutSkip100.rb: New. * test/fixtures/demo/filter-tutorial/filters/CutSkip100.rb: New. * test/fixtures/demo/filter-tutorial/pluralizer.rb: New. * test/fixtures/demo/filter-tutorial/check.yml: New. * doc/demo/filter-tutorial.rtextile: New. 2006-02-21 Nicolas Desprès Fix a bug with -I. * lib/uttk.rb: Build the list of all the "uttk_module". Check whether the directory of a module is accessible. * bin/getopts/uttk.rb: Resetup the autoload for all the "uttk_module" and not only strategy. 2006-02-21 Nicolas Desprès Remove the -i option. * lib/uttk.rb: Remove the :input option. * bin/getopts/uttk.rb: Remove the -i option. * bin/uttk: No longer check the :input option. 2006-02-21 Nicolas Desprès Use the DefaultColor backend only if STDOUT is a tty. * lib/uttk/filters/DefaultColor.rb: New. Copy of the older Default. * lib/uttk/filters/Default.rb: Remove the ColorStatus filter. * lib/uttk.rb, bin/getopts/uttk.rb: Choose DefaultColor if STDOUT is a tty otherwise choose Default for the Default backend. 2006-02-21 Nicolas Desprès Add svn:executable. * script/destroy: . * script/generate: . 2006-02-21 Nicolas Desprès Update the command tutorial. * test/fixtures/demo, * test/fixtures/demo/command-tutorial, * test/fixtures/demo/command-tutorial/steps, * test/fixtures/demo/command-tutorial/steps/1, * test/fixtures/demo/command-tutorial/steps/1/pluralizer.rb, * test/fixtures/demo/command-tutorial/steps/1/check.yml, * test/fixtures/demo/command-tutorial/steps/2, * test/fixtures/demo/command-tutorial/steps/2/bad_check.yml, * test/fixtures/demo/command-tutorial/steps/2/pluralizer.rb, * test/fixtures/demo/command-tutorial/steps/2/check.yml, * test/fixtures/demo/command-tutorial/steps/3.1, * test/fixtures/demo/command-tutorial/steps/3.1/check.yml, * test/fixtures/demo/command-tutorial/steps/3, * test/fixtures/demo/command-tutorial/steps/3/check.yml, * test/fixtures/demo/command-tutorial/steps/4.1, * test/fixtures/demo/command-tutorial/steps/4.1/check.yml, * test/fixtures/demo/command-tutorial/steps/4.1/bird.txt, * test/fixtures/demo/command-tutorial/steps/4, * test/fixtures/demo/command-tutorial/steps/4/pluralizer.rb, * test/fixtures/demo/command-tutorial/steps/4/check.yml, * test/fixtures/demo/command-tutorial/steps/5.1, * test/fixtures/demo/command-tutorial/steps/5.1/pluralizer.rb, * test/fixtures/demo/command-tutorial/steps/5.1/check.yml, * test/fixtures/demo/command-tutorial/steps/5.1/bird.txt, * test/fixtures/demo/command-tutorial/steps/5, * test/fixtures/demo/command-tutorial/steps/5/pluralizer.rb, * test/fixtures/demo/command-tutorial/steps/5/check.yml, * test/fixtures/demo/command-tutorial/steps/5/bird.txt, * test/fixtures/demo/command-tutorial/steps/6.1, * test/fixtures/demo/command-tutorial/steps/6.1/pluralizer.rb, * test/fixtures/demo/command-tutorial/steps/6.1/check.yml, * test/fixtures/demo/command-tutorial/steps/6.1/bird.txt, * test/fixtures/demo/command-tutorial/steps/6, * test/fixtures/demo/command-tutorial/steps/6/pluralizer.rb, * test/fixtures/demo/command-tutorial/steps/6/check.yml, * test/fixtures/demo/command-tutorial/steps/6/bird.txt, * test/fixtures/demo/command-tutorial/steps/7, * test/fixtures/demo/command-tutorial/steps/7/pluralizer.rb, * test/fixtures/demo/command-tutorial/steps/7/check.yml, * test/fixtures/demo/command-tutorial/steps/7/bird.txt: New. Examples used by the command-tutorial. * misc/textile_compiler: New. Compile .rtextile files and provides them a 'comment' command and 'command' command. * doc/demo: New. * doc/demo/command-tutorial.rtextile: New. The command tutorial with some ERB features provided by the textile_compiler. 2006-02-21 Nicolas Desprès Add Subversion Id keyword. * script/destroy: . * script/generate: . 2006-02-20 Nicolas Desprès Remove remaining fetcher code. * test/unit/fetchers: Remove. * test/unit/fetchers/fetchers_test.rb: Remove. * test/unit/fetchers/fetchers_test.rb: Remove. * lib/uttk.rb: Remove the :force_fetch key from the SymTbl. * bin/getopts/uttk.rb: Remove the --force-fetch option. 2006-02-20 Nicolas Desprès Remove remaining distributed mode code. * lib/uttk/strategies/Strategy.rb: Remove distributed mode code. 2006-02-20 Nicolas Desprès Remove remaining distributed mode features. * lib/uttk/strategies/Fetcher.rb: Remove. * lib/uttk/strategies/DistDelegate.rb: Remove. * lib/uttk/strategies/Tester.rb: Remove. * lib/uttk/strategies/Distribute.rb: Remove. * lib/uttk/strategies/DistStrategy.rb: Remove. * lib/uttk/strategies/Fetch.rb: Remove. * lib/uttk/strategies/DistDuplicate.rb: Remove. * lib/uttk.rb: Remove :tester_uris from the SymTbl. * bin/getopts/uttk.rb: Remove the tester_uris option. 2006-02-20 Nicolas Desprès Update the SPEC description. * SPEC.yml: Update the description. 2006-02-20 Nicolas Desprès Update from review r802. * test/examples/basic.rb: Synchornize with the textile document. * doc/presentation/presentation.textile: Update from patch review r802. 2006-02-20 Nicolas Desprès Minor fixes for the presentation. * test/examples/basic.yml, * test/examples/basic.rb: New. The most basic example. * doc/presentation/presentation.textile: Minor fixes. 2006-02-20 Nicolas Desprès Remove temporarily the distribute mode. * test/dist-suite.yml, * test/dist, * test/dist/dist-dispatch.yml, * test/dist/local-fetch.yml, * test/dist/tester.yml, * test/dist/cat, * test/dist/cat/file.in, * test/dist/cat/file.out, * test/dist/dist-nested-pass.yml, * test/dist/dist-pass.yml, * test/dist/dist-abort.yml, * test/dist/dist-cat.yml, * test/dist/dist-error.yml, * test/dist/dist-suite.yml, * test/dist/dist-delegate.yml, * test/dist/dist-ribute.yml, * test/dist/dist-fail.yml, * lib/uttk/services, * lib/uttk/services/MonitorServer.rb, * lib/uttk/services/FetcherClient.rb, * lib/uttk/services/TesterSlave.rb, * lib/uttk/services/TesterMaster.rb, * lib/uttk/services/TesterClient.rb, * lib/uttk/services/DRbService, * lib/uttk/services/DRbService/sub_testable.rb, * lib/uttk/services/MonitorClient.rb, * lib/uttk/services/FetcherServer.rb, * lib/uttk/services/DRbService.rb, * lib/uttk/daemons, * lib/uttk/daemons/daemon, * lib/uttk/daemons/daemon/logger.rb, * lib/uttk/daemons/Daemon.rb, * lib/uttk/daemons/Slave.rb, * lib/uttk/daemons/Master.rb, * lib/uttk/testers, * lib/uttk/testers/tester, * lib/uttk/testers/tester/remote_status.rb, * lib/uttk/testers/tester/notifier.rb, * lib/uttk/testers/tester/running_task.rb, * lib/uttk/testers/tester/config.rb, * lib/uttk/testers/tester/query_node.rb, * lib/uttk/testers/tester/score.rb, * lib/uttk/testers/Tester.rb, * lib/uttk/testers/Slave.rb, * lib/uttk/testers/Master.rb, * lib/uttk/fetchers, * lib/uttk/fetchers/Client.rb, * lib/uttk/fetchers/server, * lib/uttk/fetchers/server/sender.rb, * lib/uttk/fetchers/Server.rb, * lib/uttk/fetchers/client, * lib/uttk/fetchers/client/receiver.rb, * lib/uttk/monitors, * lib/uttk/monitors/Client.rb, * lib/uttk/monitors/Server.rb, * lib/uttk/monitors/Monitor.rb, * lib/uttkd.rb, * bin/uttkm, * bin/getopts/uttkm.rb, * bin/getopts/uttkd.rb, * bin/uttkd: Remove. * test/uttk-check.yml: Update a FIXME. 2006-02-20 Nicolas Desprès Test F::create_backend. * test/unit/filters_test.rb: New. Test F::create_backend * lib/uttk/filters.rb: Check whether it is necessary to embrace the backend description inside curly brackets. * bin/getopts/uttk.rb: Update the filter documentation. * test/unit/logger_test.rb: Update forgotten bad header. 2006-02-19 Nicolas Desprès Update old header. * test/unit/dumpers/xml_test.rb, * test/unit/dumpers/yaml_test.rb, * test/unit/logger/verbosity_test.rb, * test/unit/logger/section_node_test.rb, * test/unit/logger/severity_test.rb, * test/unit/logger/to_uttk_log_test.rb, * test/unit/fetchers/fetchers_test.rb, * lib/uttk/logger/backend.rb, * lib/uttk/path_filters/PathFilter.rb, * lib/uttk/generators/dumper_generator.rb, * lib/uttk/generators/generator.rb, * lib/uttk/generators/path_filter_generator.rb, * lib/uttk/generators/strategy_generator.rb, * lib/uttk/generators/filter_generator.rb, * lib/uttk/generators/templates/generator.rb, * lib/uttk/generators/generator_generator.rb, * lib/uttk/generators/loader_generator.rb: Update old header. 2006-02-19 Nicolas Desprès Clean the library front file. * lib/uttk/filters.rb: New. Specific feature of the Filters module. * lib/uttk/weights.rb: New. Specific feature of the Weights module. * lib/uttk.rb: Add 'define_module' which check whether there is a file named like the module and require it. * bin/getopts/uttk.rb: Update the documentation according to the change of the backend description format. 2006-02-19 Nicolas Desprès Rename F::Warrior to F::Default. * lib/uttk/filters/Default.rb: Rename to... * lib/uttk/filters/Warrior.rb: ... that. * lib/uttk.rb, * bin/getopts/uttk.rb, * bin/uttk: s/Warrior/Default/g. 2005-12-20 Nicolas Pouillard Update the pkg test. * test/pkg/cmdline.yml: Update to the new output. 2005-12-20 Nicolas Pouillard Update unit tests. * test/unit/dumpers/yaml_test.rb: Rewrite since we no more call 'up' directly. * test/unit/dumpers/path_test.rb: New. But empty. * test/unit/logger/to_uttk_log_test.rb, * test/unit/logger_test.rb, * test/unit/filters/node_cut_test.rb, * test/unit/filters/rpath_filter_test.rb, * test/unit/filters/buffer_test.rb: Update all notifications fixtures. 2005-12-20 Nicolas Pouillard Remainings updates. * lib/uttk.rb: Add PathFilters and adapt create_backend. * bin/getopts/uttk.rb: Extend pp_class_hierarchy for the backend. * bin/uttk: Close the logger at exit. * lib/uttk/testers/tester/query_node.rb: Use << instead of repeat. 2005-12-20 Nicolas Pouillard Update strategies. * lib/uttk/strategies/SubCmd.rb: Use D::Path instead of D::Notif, and prepend the root path to sub leaves. * lib/uttk/strategies/Composite.rb: Remove the magic up handling code since S::Strategy use a Upper. * lib/uttk/strategies/DistStrategy.rb: Use << instead of repeat. * lib/uttk/strategies/Strategy.rb: Use an Upper instead of the up loop. Also fix 2 bugs with timeout messages. * lib/uttk/strategies/IOBased.rb: Use invalid_stream?. * lib/uttk/strategies/Pool.rb: Use another Upper for the contents. 2005-12-20 Nicolas Pouillard Update generators. * lib/uttk/generators/generator.rb: Use underscore instead of downcase. * lib/uttk/generators/path_filter_generator.rb: New. * lib/uttk/generators/templates/path_filter.rb: New. * lib/uttk/generators/templates/filter.rb, * lib/uttk/generators/templates/dumper.rb: Update new_{node,leaf} prototypes. 2005-12-20 Nicolas Pouillard Updating Filters. * lib/uttk/filters/Saver.rb, * lib/uttk/filters/NodeCut.rb, * lib/uttk/filters/RPathFilter.rb, * lib/uttk/filters/Filter.rb, * lib/uttk/filters/Warrior.rb, * lib/uttk/filters/Compact.rb, * lib/uttk/filters/Buffer.rb, * lib/uttk/filters/JustStatus.rb, * lib/uttk/filters/TextFilter.rb, * lib/uttk/filters/Id.rb: Simplify, update, fix and leave some FIXME for those that can be converted in a PathFilter. 2005-12-20 Nicolas Pouillard Introduce PathFilters. * lib/uttk/path_filters/PathFilter.rb: New. * lib/uttk/filters/ColorStatus.rb: Rename to ... * lib/uttk/path_filters/ColorStatus.rb: ... this and adapt. * lib/uttk/filters/RemoveTypes.rb: Rename to ... * lib/uttk/path_filters/RemoveTypes.rb: ... this and adapt. * lib/uttk/filters/Completer.rb: Remove. Usless since it's the L::Backend job. 2005-12-20 Nicolas Pouillard Update all dumpers. * lib/uttk/dumpers/Notif.rb: Remove, use the D::Path instead. * lib/uttk/dumpers/BasicColor.rb: Make it robuster. * lib/uttk/dumpers/Xml.rb: No more hook up on the update method. * lib/uttk/dumpers/Basic.rb: Typo. * lib/uttk/dumpers/Yaml.rb: Adapt to Path::Segment. * lib/uttk/dumpers/Html.rb: Likewize and fix some bugs. * lib/uttk/dumpers/Dumper.rb: Inherits from L::Backend. * lib/uttk/dumpers/Path.rb: Simple leaf's path dumper. * lib/www/stylesheets/uttk.css: Adapt to D::Html. 2005-12-20 Nicolas Pouillard Refactor the logger. * lib/uttk/logger.rb: Add the Upper class, the chpath method, and the make_notif{,s} class methods. * lib/uttk/logger/path.rb: Add the Segment class and update accordignly. 2005-12-20 Nicolas Pouillard Introduce Logger::Backend. * lib/uttk/logger/backend.rb: New. A common base class for D::Dumper and F::Filter. 2005-12-20 Nicolas Pouillard Apply a test review. * test/ruby/base.rb: Use a different name with the previous one. * test/functional/sub.yml: Use a S::RMatch to properly check the output. * test/functional/r_unit.yml: Also check the last status. * test/functional/signal_cmd.yml: Rename a test. * test/functional/base.yml: Also check the `reason' in the timeout test. Extract the timeout pool test ... * test/functional/base_pool.yml: New. ... here. * test/functional/env_cmd.yml: Rewrap and leave a FIXME about an non reachable part. * test/examples/students-suite.yml: Use a different name for the iterators to avoid a clash naming. * test/examples/students/mini-lib.yml: Remove a useless name. * test/examples/students/glob_stud.yml: Use an S::Iterate since S::Glob is deprecated, but leave a FIXME about the regexp. 2005-10-31 Nicolas Desprès A Diff with hexdump -C. * test/functional/hexa-diff.yml: New. Tests it. * lib/uttk/streams/HexaDiff.rb: New. Implements it. 2005-10-29 Nicolas Desprès Remove useless directory. * lib/uttk/strategies/Cmd: Remove because it is empty. 2005-10-29 Nicolas Desprès Fix mistakes from previous patch. * test/functional/cmd.yml: Do not run ruby on a binary file. 2005-10-29 Nicolas Desprès Cmd do not handle sigsegv properly. * test/functional/cmd.yml: New. Show off the bug. * test/fixtures/binaries, test/fixtures/binaries/segv, * test/fixtures/binaries/segv.c, test/fixtures/binaries/segv.rb, * test/fixtures/binaries/segv, test/fixtures/binaries/segv.c, * test/fixtures/binaries/segv.rb: New. Fixtured a prog which auto-segv. Ruby segfault status is different than a c program. 2005-10-27 Nicolas Desprès Fix a bug with -S. * bin/getopts/uttk.rb: Do not use a Uttk loader to load attributes and symbols since they are not strategies. * test/pkg/cmdline.yml: Test this issue. 2005-10-26 Nicolas Pouillard * bin/getopts/uttk.rb: With -I you now specify another root for Uttk with modules directories (strategies, filters, dumpers...). * lib/uttk.rb: Adapt uttk_module. * lib/js, lib/uttk/uttk: Remove. Empty and useless. * vcs/uttk.rb: Fix the COLLABOA constant. 2005-10-26 Nicolas Pouillard * lib/uttk/generators/dumper_generator.rb, * lib/uttk/generators/generator.rb, * lib/uttk/generators/strategy_generator.rb, * lib/uttk/generators/filter_generator.rb, * lib/uttk/generators/templates/generator.rb, * lib/uttk/generators/loader_generator.rb, * lib/uttk/generators/templates/filter.rb: Rename runit to unit. * lib/uttk/generators/templates/dumper.rb: Likewise. Remove the update method for these templates. 2005-10-15 Nicolas Pouillard Minor fixes. * lib/uttk/generators/templates/strategy.yml: Remove the useless x name. * lib/uttk.rb: Import uri_ex. * bin/uttk: Simplify. 2005-10-15 Nicolas Pouillard Fix D::Basic*. * lib/uttk/dumpers/Basic.rb: Use b not block. * lib/uttk/dumpers/BasicColor.rb: Likewise, and use a more robust method for coloring. 2005-10-12 Nicolas Pouillard Make S::Iterate works with the Ruby loader. * test/ruby-suite.rb: Use iterate without a hash. * lib/uttk/strategies/Block.rb: Move the symtbl_gsub of @test in the prologue like the others. * lib/uttk/strategies/Composite.rb: Add an . 2005-10-12 Nicolas Pouillard Strategy#testify now dup itself. * lib/uttk/strategies/Strategy.rb: This partially fix the problem which ran twice the same test, now the testification of a test duplicate it. 2005-10-12 Nicolas Pouillard Add a simpler test. * test/ruby/iterate.rb: Add an iteration over Pass strategies. 2005-10-12 Nicolas Pouillard A strategy instance cannot be run twice. * lib/uttk/strategies/Strategy.rb: Raise an error if the test was already run. 2005-10-12 Nicolas Pouillard Reveal an iterate bug with the Ruby loader. * lib/uttk/strategies/Iterate.rb: It now accepts more inputs than just a hash. * test/ruby/iterate.rb: New. This test reveal a bug. * test/ruby-suite.rb: Leave another fixme. 2005-10-11 Nicolas Pouillard Fix a bug in uttk-unit. * bin/uttk-unit: Use load_path! only if CoreEx is available. 2005-10-11 Nicolas Pouillard Optimize Html to simplify the browser job. * lib/uttk/dumpers/Html.rb: The Html computation is now almost done during the dumping step. * lib/uttk/filters/Compact.rb: Compact also attributes. * lib/www: New. * lib/js/uttk.js: Rename to ... * lib/www/javascripts/uttk.js: ... this and simplify. * lib/js/css: Rename to ... * lib/www/stylesheets: ... this. * lib/js/img: Rename to ... * lib/www/images: ... this. 2005-10-11 Nicolas Pouillard Partially fix Iterate for the Ruby loader. * test/ruby-suite.rb: Use iterate but leave a fixme for the import. * lib/uttk/strategies/Iterate.rb: Move the iterators initialization into iter=. Make iterators a protected attribute. Handle tests given as hash and already initialized strategies separatly. 2005-10-11 Nicolas Pouillard Add another loading mode to uttk-unit: nothing. * bin/uttk-unit: This mode does nothing, but the path is used during the matching part which activate (or not) embbeded tests. 2005-10-11 Nicolas Pouillard Make Uttk works with Yaml of ruby 1.8.3. * lib/uttk/dumpers/Yaml.rb: Print the type without to_yaml_type. Chomp the value returned by Yaml. * lib/uttk/loaders/Yaml.rb: Adapt key_transform and uttk_loader_yaml_transform to this new version. * test/unit/strategies/suite_test.rb: Adapt the test suite. 2005-10-09 Nicolas Pouillard Rename minimal to functional. * test/minimal: Rename to ... * test/functional: ... this. * test/minimal-suite.yml: Rename to ... * test/functional-suite.yml: ... this. * lib/uttk/generators/generator.rb, lib/uttk/generators/strategy_generator.rb, * lib/uttk/strategies/RUnit.rb, test/uttk-check.yml, test/ruby-suite.rb: Apply renaming. 2005-10-09 Nicolas Pouillard Fix the bug with Collection contents. * test/ruby-suite.rb: Removes the local variable. * lib/uttk/strategies/Composite.rb: Splits Composite#contents adding Composite#internal_contents. * lib/uttk/strategies/Collection.rb: Provides a default value for @internal_contents, and make a protected attribute reader. * test/minimal/import.yml: Make a test more robust. * bin/uttk-unit: Do not require rubygems. * test/ruby/wc.rb: Typo. * test/ruby/uttk-ruby: Remove. Because useless and empty. 2005-10-09 Nicolas Desprès Add the ruby suite to the check suite. * test/uttk-check.yml: Add the ruby suite. * test/ruby-suite.yml: New. A Yaml proxy to the ruby suite. * lib/uttk/strategies/Import.rb: Accept instance of loader or a string for the loader attribute. Restore the original loader at epilogue time since Import is a proxy it shares the same symtbl as its sub test. 2005-10-09 Nicolas Desprès Fix the ruby suite. * test/ruby/wc.rb: Adapt to the new size of the text file. * test/minimal/import.yml: Add test that emphasis a bug with the pwd management. * test/ruby-suite.rb: Build the suite "manually" since Iterate do not support the Ruby loader. * lib/uttk/strategies/Iterate.rb: Leave a FIXME. * lib/uttk/strategies/Import.rb: Save and restore the :pwd. 2005-10-09 Nicolas Pouillard Fix the option handling in uttk-unit. * test/minimal/r_unit.yml: No more uttk_unit_options. Make output checking more precise. * lib/uttk/strategies/RUnit.rb: Add another `--' separator. * bin/uttk-unit: Split option with `--'. 2005-10-09 Nicolas Desprès Fix the weight test suite. * test/minimal/weight.yml: Do not print `0%' for FAIL status. 2005-10-09 Nicolas Pouillard Improve uttk-unit. * bin/uttk-unit: Order between imports, requires and load_paths are now respected, the 'mode' option allow to import loading mode. 2005-10-09 Nicolas Pouillard Fix some bugs. * test/minimal/weight.yml: More precise. * test/minimal/r_unit.yml: Update options. * test/test-unit-setup.rb: Remove. * lib/uttk/status.rb: Simplify. * lib/uttk/weights/Weight.rb: Fix Weight#==. * lib/uttk/strategies/Composite.rb: Fix the weight computation when fatal. * lib/uttk/strategies/RUnit.rb: Update the verbose option. * lib/uttk.rb: Move the $LOADED_FEATURES use after the CoreEx loading for ruby-1.8.1 compatibility. 2005-10-09 Nicolas Desprès Fix the weight test suite. * test/minimal/weight.yml: Fix the expected output of some test. 2005-10-08 Nicolas Pouillard Restore the main test suite. * lib/uttk/status.rb: Merge Status and StatusWithMessage. Fix the bug with Status#to_yaml. * test/minimal/glob.yml: Use S::Iterate since Glob is no more available. * lib/uttk/strategies/Block.rb: Inherit from IOBased. * bin/uttk-unit: Require the uttk of uttk-unit. 2005-10-08 Nicolas Pouillard Fix the unit test suites. * lib/uttk/strategies/RUnit.rb: Better handling of uttk-unit. * lib/uttk.rb: More precise dumpable proc. * bin/uttk-unit: Honore the verbose option later in the execution. * bin/uttk: Update cache messages. * test/unit-suite.yml: Adapt to uttk-unit. * test/minimal/runit.yml: Rename to ... * test/minimal/r_unit.yml: ... this. And adapt. * test/fixtures/runit: Rename to ... * test/fixtures/unit: ... this. * test/minimal/uttk-minimal: Remove. Useless and empty. 2005-10-07 Nicolas Pouillard Add uttk-unit a unified command to run unit tests. * bin/uttk-unit: New. It currently just supports ruby unit tests, and will be a replacment for all test_unit_setup files. * lib/uttk/strategies/RUnit.rb: Adapt to uttk-unit to use it if the user want it. * lib/uttk.rb: Add uttk-unit in the symtbl. 2005-10-06 Nicolas Desprès Fixe a bug. * misc/uttk-line-count.rb: Fix a bug in the append file condition. 2005-10-05 Nicolas Pouillard Update requires and dependencies. * SPEC.yml: Update the ruby_ex dependency to 0.3. * lib/uttk/filters/Warrior.rb: Make it compliant with ruby 1.8.3. * lib/uttk.rb: Update requires. * bin/uttk: Remove to useless requires. 2005-10-05 Nicolas Desprès Some little fixes. * misc/uttk-line-count.rb: Make the usage more verbose. * NORM: Add rule about newline required at the end of line. 2005-10-05 Nicolas Desprès Update misc scripts. * misc/uttk-line-count.rb: Add -a which add glob pattern given on the command line to default glob pattern. If not provided and glob patterns are given on the command line, only those ones are used. * misc/uttk-grep.sh: Use /bin/sh instead of zsh and prefer xargs in order to see the filename for which the line matches. 2005-10-04 Nicolas Desprès Various bugs fixes. * test/minimal/wc.yml: Adapt to the real output. * test/fixtures/unit: Remove. * test/fixtures/unit/bad.rb: Remove. * test/fixtures/unit/good.rb: Remove. * test/fixtures/unit/error.rb: Remove. * test/fixtures/runit: New. Rename unit to runit to make runit.yml happy. * lib/uttk/logger.rb: Adapt to the real parameter name. 2005-09-27 Nicolas Pouillard Remove trailing whitespaces. * lib/uttk/filters/RPathFilter.rb, * lib/uttk/filters/Buffer.rb, * lib/uttk/filters/TextFilter.rb, * lib/uttk/generators/generator.rb, * lib/uttk/generators/templates/strategy.yml, * lib/uttk/weights/Weight.rb, * lib/uttk/strategies/Make.rb, * lib/uttk/strategies/Bootstrap.rb, * lib/uttk/strategies/SqlQuery.rb, * lib/uttk/strategies/Compile.rb, * lib/uttk/strategies/Package.rb, * lib/uttk/strategies/Iterate.rb, * lib/uttk/strategies/Stub.rb, * lib/uttk/strategies/Configure.rb, * lib/uttk/strategies/KillAll.rb, * lib/uttk/strategies/Assert.rb, * lib/uttk/strategies/SignalCmd.rb, * lib/uttk/strategies/PackageCollection.rb, * lib/uttk/strategies/Sleep.rb, * lib/js/uttk.js, * lib/js/css/uttk.css, * test/unit/logger_test.rb, * test/pkg/cmdline.yml, * test/minimal/weight.yml, * test/minimal/rmatch.yml, * test/examples/students-suite.yml, * test/examples/students/stud.yml: Update. 2005-09-27 Nicolas Pouillard No more block_given?. * lib/uttk/dumpers/BasicColor.rb, * lib/uttk/dumpers/Basic.rb, * lib/uttk/logger.rb, * lib/uttk/loaders/Loader.rb, * lib/uttk/strategies/Composite.rb, * lib/uttk/strategies/Block.rb, * lib/uttk/strategies/Collection.rb, * lib/uttk/strategies/Composite/contents_eval.rb, * lib/uttk/strategies/Strategy.rb: Apply the block rule. 2005-09-27 Nicolas Pouillard No trailling whitespaces, no block_given, no block.call. * NORM: Add 2 two sub rules for blocks, and the trailling whitespaces rule for layout. 2005-09-27 Nicolas Pouillard Little renaming, and remove vcs/HOWTO. * lib/uttk/generators/generator.rb: Replace uttk-minimal by just minimal. * lib/uttk/strategies/RUnit.rb: Likewise in the documentation. * vcs/HOWTO: Remove. Deprecated information. 2005-09-26 Nicolas Pouillard uttk-line-count: more extensions. * misc/uttk-line-count.rb: Treat also Yaml, JavaScript and CSS files. 2005-09-26 Nicolas Pouillard Replace tabulations by 8 spaces. * test/fixtures/mini-lib/strlen.c, * test/fixtures/java/unit/MultiRight/Foo/Foo.java, * test/fixtures/java/unit/MultiRight/Foo/FooTest.java, * test/fixtures/java/unit/MultiRight/bar/Bar.java, * test/fixtures/java/unit/MultiRight/bar/BarTest.java, * test/fixtures/java/unit/MultiRight/MultiRight.java, * test/fixtures/java/unit/MultiRight/MultiRightTest.java, * test/fixtures/java/unit/SimpleException/SimpleExceptionTest.java, * test/fixtures/text/1.txt, * test/fixtures/ball/jack-exit/exit.c, * test/fixtures/ball/bar_p-mini-lib/my_strlen.c, * test/fixtures/ball/joe_i-mini-lib/my_strlen.c, * test/fixtures/ball/qux_j-mini-lib/my_strlen.c, * test/fixtures/ball/joe-exit/exit.c, * test/fixtures/ball/foo_s-mini-lib/my_strlen.c, * test/fixtures/ball/hello/hello.c, * test/fixtures/ball/john-exit/exit.c, * misc/expandtab.rb, * lib/uttk/dumpers/Yaml.rb, * lib/uttk/dumpers/Dumper.rb, * lib/uttk/loaders/Yaml.rb, * lib/uttk/strategies/Bootstrap.rb, * lib/uttk/strategies/Compile.rb, * lib/uttk/strategies/Package.rb, * lib/uttk/strategies/Composite.rb, * lib/uttk/strategies/Configure.rb, * lib/uttk/strategies/Block.rb, * lib/uttk/strategies/Collection.rb, * lib/uttk/strategies/Strategy.rb, * lib/uttk/strategies/Cmd.rb, * lib/uttk/strategies/IOBased.rb, * lib/uttk/strategies/Pool.rb: Update 2005-09-26 Nicolas Pouillard Fix some renaming errors, and add a layout rule in NORM. * misc/renaming: Comment the complex rule which does not work. * README: Fix typos due to erros in the renaming script. * NORM: Likewise. Add the "no tabulation" rule. 2005-09-26 Nicolas Pouillard Remove deprecated strategies/tests/features. * lib/uttk/strategies/Strategy.rb: Remove the deprecated Failure exception. * lib/uttk/strategies/RemoteCmd.rb, * lib/uttk/strategies/Glob.rb, * lib/uttk/strategies/Ball.rb, * lib/uttk/strategies/Extract.rb: Remove these deprecated strategies. * test/dist/uttk-dist, * test/all, * test/all/suite_timeout.yml, * test/all/remote_dispatcher.yml, * test/all/TestTAssert, * test/all/TestTAssert/first.yml, * test/all/TestTAssert/segfault.yml, * test/all/dist-suite-nested-in-pool.yml, * test/all/no_suite.yml, * test/all/xunit, * test/all/weight.yml, * test/all/dist-suite-indirect-nested.yml, * test/all/pipeline-timeout.yml, * test/all/dist-suite-nested-3.yml, * test/all/dist-suite-nested.yml, * test/all/remote_cmd.yml: Remove. * test/all/xunit/junit: Rename to ... * test/fixtures/java/unit: ... this. * test/fixtures/runit: Rename to ... * test/fixtures/unit: ... this. 2005-09-26 Nicolas Pouillard Adapt weight.yml and reveal 3 bugs. * test/minimal/weight.yml: New from test/all/weight.yml. This test was not in the main test suite because it was hard to check it's validty. Now with R?Match this can be done correctly. And reveal 3 bugs in uttk :( 2005-09-26 Nicolas Pouillard Renaming stage 3. * test/unit, * test/pkg, * test/ruby, * test/ruby/wc.rb, * test/minimal, * test/minimal/pkg.yml, * test/minimal/glob.yml, * test/minimal/iterate.yml, * test/minimal/runit.yml, * test/minimal/author.yml, * test/minimal/cat.yml, * test/minimal/wc.yml, * test/uttk-dist, * test/uttk-dist/dist-dispatch.yml, * test/uttk-dist/local-fetch.yml, * test/uttk-dist/tester.yml, * test/uttk-dist/dist-nested-pass.yml, * test/uttk-dist/dist-pass.yml, * test/uttk-dist/cat, * test/uttk-dist/cat/file.in, * test/uttk-dist/cat/file.out, * test/uttk-dist/uttk-dist, * test/uttk-dist/dist-cat.yml, * test/uttk-dist/dist-abort.yml, * test/uttk-dist/dist-suite.yml, * test/uttk-dist/dist-error.yml, * test/uttk-dist/dist-ribute.yml, * test/uttk-dist/dist-delegate.yml, * test/uttk-dist/dist-fail.yml, * test/dist-suite.yml, * test/ressources, * test/ressources/mini-lib, * test/ressources/mini-lib/strlen.c, * test/ressources/mini-lib/Makefile, * test/ressources/runit, * test/ressources/runit/bad.rb, * test/ressources/runit/good.rb, * test/ressources/runit/error.rb, * test/ressources/text, * test/ressources/text/1.txt, * test/ressources/ball, * test/ressources/ball/jack-exit, * test/ressources/ball/jack-exit/exit.c, * test/ressources/ball/jack-exit/Makefile, * test/ressources/ball/bar_p-mini-lib, * test/ressources/ball/bar_p-mini-lib/Makefile, * test/ressources/ball/bar_p-mini-lib/my_strlen.c, * test/ressources/ball/joe_i-mini-lib, * test/ressources/ball/joe_i-mini-lib/configure, * test/ressources/ball/joe_i-mini-lib/Makefile, * test/ressources/ball/joe_i-mini-lib/my_strlen.c, * test/ressources/ball/foo_s-mini-lib.tar.bz2, * test/ressources/ball/hello.tar.bz2, * test/ressources/ball/qux_j-mini-lib, * test/ressources/ball/qux_j-mini-lib/Makefile, * test/ressources/ball/qux_j-mini-lib/my_strlen.c, * test/ressources/ball/joe-exit, * test/ressources/ball/joe-exit/exit.c, * test/ressources/ball/joe-exit/Makefile, * test/ressources/ball/20040804-exam_a1-zapngo-tessar_m.tar.gz, * test/ressources/ball/john-exit.tar.bz2, * test/ressources/ball/jack-exit.tar.bz2, * test/ressources/ball/bar_p-mini-lib.tar.bz2, * test/ressources/ball/foo_s-mini-lib, * test/ressources/ball/foo_s-mini-lib/configure, * test/ressources/ball/foo_s-mini-lib/Makefile, * test/ressources/ball/foo_s-mini-lib/my_strlen.c, * test/ressources/ball/hello, * test/ressources/ball/hello/hello.c, * test/ressources/ball/hello/Makefile, * test/ressources/ball/joe_i-mini-lib.tar.bz2, * test/ressources/ball/john-exit, * test/ressources/ball/john-exit/exit.c, * test/ressources/ball/john-exit/Makefile, * test/ressources/ball/joe-exit.tar.bz2, * test/ressources/ball/qux_j-mini-lib.tar.bz2, * test/ressources/ball/hello.tar.gz, * test/ressources/ball/Makefile, * test/ressources/package, * test/ressources/package/pkg_foo, * test/ressources/package/pkg_foo/configure, * test/ressources/package/pkg_foo/foo.sh, * test/ressources/package/pkg_foo/Makefile, * test/ressources/package/pkg_foo/bootstrap, * test/ressources/package/pkg_foo.tar.gz, * test/pool-suite.yml, * test/runit, * test/runit/dumpers, * test/runit/dumpers/xml_test.rb, * test/runit/dumpers/yaml_test.rb, * test/runit/logger, * test/runit/logger/verbosity_test.rb, * test/runit/logger/section_node_test.rb, * test/runit/logger/severity_test.rb, * test/runit/logger/to_uttk_log_test.rb, * test/runit/logger_test.rb, * test/runit/fetchers, * test/runit/fetchers/fetchers_test.rb, * test/runit/filters, * test/runit/filters/node_cut_test.rb, * test/runit/filters/rpath_filter_test.rb, * test/runit/filters/keep_skip_based_test.rb, * test/runit/filters/buffer_test.rb, * test/runit/filters/text_filter_test.rb, * test/runit/loaders, * test/runit/strategies, * test/runit/strategies/suite_test.rb, * test/dist, * test/uttk-pkg, * test/uttk-pkg/uttk-pkg, * test/uttk-pkg/cmdline.yml, * test/uttk-ruby, * test/uttk-ruby/uttk-ruby, * test/uttk-ruby/wc.rb, * test/uttk-ruby/base.rb, * test/unit-suite.yml, * test/pkg-suite.yml, * test/pool-tests, * test/pool-tests/pool.yml, * test/pool-tests/base.yml, * test/fixtures, * test/fixtures/text/1.txt, * test/pool, * test/uttk-minimal, * test/uttk-minimal/test.yml, * test/uttk-minimal/pkg.yml, * test/uttk-minimal/glob.yml, * test/uttk-minimal/killall.yml, * test/uttk-minimal/timeout.yml, * test/uttk-minimal/fatal.yml, * test/uttk-minimal/sub.yml, * test/uttk-minimal/block.yml, * test/uttk-minimal/probability_threshold.yml, * test/uttk-minimal/iterate.yml, * test/uttk-minimal/signal_cmd.yml, * test/uttk-minimal/runit.yml, * test/uttk-minimal/author.yml, * test/uttk-minimal/cat.yml, * test/uttk-minimal/diff.yml, * test/uttk-minimal/exit.yml, * test/uttk-minimal/wc.yml, * test/uttk-minimal/import.yml, * test/uttk-minimal/base.yml, * test/uttk-minimal/env_cmd.yml, * test/uttk-minimal/uttk-minimal, * test/uttk-minimal/rmatch.yml, * test/minimal-suite.yml, * test/examples/students/stud.yml, * test/examples/students/mini-lib.yml, * test/examples/students/glob_stud.yml, * test/examples/students/pool_stud.yml, * test/examples/students/ball.yml: Rename ressources to fixtures, runit to unit, test/uttk-* to test/*. 2005-09-26 Nicolas Pouillard TTK -> Uttk renaming: stage 2. * test/uttk-dist/uttk-dist, * test/uttk-dist/ttk-dist, * test/uttk-pkg/ttk-pkg, * test/uttk-pkg/uttk-pkg, * test/uttk-ruby/ttk-ruby, * test/uttk-ruby/uttk-ruby, * test/uttk-minimal/ttk-minimal, * test/uttk-minimal/uttk-minimal, * lib/uttk/logger/to_ttk_log.rb, * lib/uttk/logger/to_uttk_log.rb, * lib/uttk/uttk, * lib/uttk/ttk: Apply misc/reanming. 2005-09-26 Nicolas Pouillard TTK -> Uttk renaming: stage 1. * test/ttk-ruby, * test/ttk-ruby/wc.rb, * test/ttk-ruby/base.rb, * test/ttk-pkg, * test/ttk-pkg/cmdline.yml, * test/uttk-distcheck.yml, * test/ttk-minimal, * test/ttk-minimal/test.yml, * test/ttk-minimal/pkg.yml, * test/ttk-minimal/glob.yml, * test/ttk-minimal/killall.yml, * test/ttk-minimal/timeout.yml, * test/ttk-minimal/fatal.yml, * test/ttk-minimal/sub.yml, * test/ttk-minimal/block.yml, * test/ttk-minimal/probability_threshold.yml, * test/ttk-minimal/iterate.yml, * test/ttk-minimal/signal_cmd.yml, * test/ttk-minimal/runit.yml, * test/ttk-minimal/author.yml, * test/ttk-minimal/cat.yml, * test/ttk-minimal/diff.yml, * test/ttk-minimal/exit.yml, * test/ttk-minimal/wc.yml, * test/ttk-minimal/import.yml, * test/ttk-minimal/base.yml, * test/ttk-minimal/env_cmd.yml, * test/ttk-minimal/rmatch.yml, * test/uttk-dist, * test/uttk-dist/ttk-dist, * test/uttk-dist/ttk-dist/dist-dispatch.yml, * test/uttk-dist/ttk-dist/local-fetch.yml, * test/uttk-dist/ttk-dist/tester.yml, * test/uttk-dist/ttk-dist/cat, * test/uttk-dist/ttk-dist/cat/file.in, * test/uttk-dist/ttk-dist/cat/file.out, * test/uttk-dist/ttk-dist/dist-nested-pass.yml, * test/uttk-dist/ttk-dist/dist-pass.yml, * test/uttk-dist/ttk-dist/dist-abort.yml, * test/uttk-dist/ttk-dist/dist-cat.yml, * test/uttk-dist/ttk-dist/dist-error.yml, * test/uttk-dist/ttk-dist/dist-suite.yml, * test/uttk-dist/ttk-dist/dist-delegate.yml, * test/uttk-dist/ttk-dist/dist-ribute.yml, * test/uttk-dist/ttk-dist/dist-fail.yml, * test/dist-suite.yml, * test/test-unit-setup.rb, * test/ressources/text/1.txt, * test/pool-suite.yml, * test/ttk-distcheck.yml, * test/runit/dumpers/xml_test.rb, * test/runit/dumpers/yaml_test.rb, * test/runit/logger/to_ttk_log_test.rb, * test/runit/logger/verbosity_test.rb, * test/runit/logger/section_node_test.rb, * test/runit/logger/severity_test.rb, * test/runit/logger/to_uttk_log_test.rb, * test/runit/logger_test.rb, * test/runit/fetchers/fetchers_test.rb, * test/runit/filters/node_cut_test.rb, * test/runit/filters/rpath_filter_test.rb, * test/runit/filters/keep_skip_based_test.rb, * test/runit/filters/buffer_test.rb, * test/runit/filters/text_filter_test.rb, * test/runit/strategies/suite_test.rb, * test/uttk-check.yml, * test/ttk-dist, * test/ttk-dist/dist-dispatch.yml, * test/ttk-dist/local-fetch.yml, * test/ttk-dist/tester.yml, * test/ttk-dist/cat, * test/ttk-dist/cat/file.in, * test/ttk-dist/cat/file.out, * test/ttk-dist/dist-nested-pass.yml, * test/ttk-dist/dist-pass.yml, * test/ttk-dist/dist-abort.yml, * test/ttk-dist/dist-cat.yml, * test/ttk-dist/dist-error.yml, * test/ttk-dist/dist-suite.yml, * test/ttk-dist/dist-delegate.yml, * test/ttk-dist/dist-ribute.yml, * test/ttk-dist/dist-fail.yml, * test/examples-suite.yml, * test/unit-suite.yml, * test/uttk-pkg, * test/uttk-pkg/ttk-pkg, * test/uttk-pkg/ttk-pkg/cmdline.yml, * test/uttk-pkg/cmdline.yml, * test/uttk-ruby, * test/uttk-ruby/ttk-ruby, * test/uttk-ruby/ttk-ruby/wc.rb, * test/uttk-ruby/ttk-ruby/base.rb, * test/uttk-ruby/base.rb, * test/pkg-suite.yml, * test/ruby-suite.rb, * test/uttk-minimal, * test/uttk-minimal/ttk-minimal, * test/uttk-minimal/ttk-minimal/test.yml, * test/uttk-minimal/ttk-minimal/pkg.yml, * test/uttk-minimal/ttk-minimal/glob.yml, * test/uttk-minimal/ttk-minimal/killall.yml, * test/uttk-minimal/ttk-minimal/timeout.yml, * test/uttk-minimal/ttk-minimal/fatal.yml, * test/uttk-minimal/ttk-minimal/sub.yml, * test/uttk-minimal/ttk-minimal/block.yml, * test/uttk-minimal/ttk-minimal/probability_threshold.yml, * test/uttk-minimal/ttk-minimal/iterate.yml, * test/uttk-minimal/ttk-minimal/signal_cmd.yml, * test/uttk-minimal/ttk-minimal/runit.yml, * test/uttk-minimal/ttk-minimal/author.yml, * test/uttk-minimal/ttk-minimal/cat.yml, * test/uttk-minimal/ttk-minimal/diff.yml, * test/uttk-minimal/ttk-minimal/exit.yml, * test/uttk-minimal/ttk-minimal/wc.yml, * test/uttk-minimal/ttk-minimal/import.yml, * test/uttk-minimal/ttk-minimal/base.yml, * test/uttk-minimal/ttk-minimal/env_cmd.yml, * test/uttk-minimal/ttk-minimal/rmatch.yml, * test/uttk-minimal/iterate.yml, * test/uttk-minimal/rmatch.yml, * test/ttk-check.yml, * test/minimal-suite.yml, * test/examples/students-suite.yml, * test/examples/students/pool_stud.yml, * test/examples/README, * Rakefile, * SPEC.dyn.yml, * VERSION, * AUTHORS, * GUIDELINES, * SPEC.yml, * misc/ttk-line-count.rb, * misc/uttk-line-count.rb, * misc/ttk-grep.sh, * misc/expandtab.rb, * misc/header.rb, * misc/uttk-grep.sh, * vcs/HOWTO, * vcs/ttk.rb, * vcs/uttk.rb, * README, * script/destroy, * script/generate, * TODO, * lib/ttk, * lib/ttk/dumpers, * lib/ttk/dumpers/Notif.rb, * lib/ttk/dumpers/BasicColor.rb, * lib/ttk/dumpers/Xml.rb, * lib/ttk/dumpers/Basic.rb, * lib/ttk/dumpers/Yaml.rb, * lib/ttk/dumpers/Html.rb, * lib/ttk/dumpers/Dumper.rb, * lib/ttk/logger, * lib/ttk/logger/to_ttk_log.rb, * lib/ttk/logger/verbosity.rb, * lib/ttk/logger/section_node.rb, * lib/ttk/logger/severity.rb, * lib/ttk/logger/path.rb, * lib/ttk/streams.rb, * lib/ttk/logger.rb, * lib/ttk/services, * lib/ttk/services/MonitorServer.rb, * lib/ttk/services/FetcherClient.rb, * lib/ttk/services/TesterSlave.rb, * lib/ttk/services/TesterMaster.rb, * lib/ttk/services/TesterClient.rb, * lib/ttk/services/DRbService, * lib/ttk/services/DRbService/sub_testable.rb, * lib/ttk/services/MonitorClient.rb, * lib/ttk/services/FetcherServer.rb, * lib/ttk/services/DRbService.rb, * lib/ttk/status.rb, * lib/ttk/daemons, * lib/ttk/daemons/daemon, * lib/ttk/daemons/daemon/logger.rb, * lib/ttk/daemons/Daemon.rb, * lib/ttk/daemons/Slave.rb, * lib/ttk/daemons/Master.rb, * lib/ttk/loaders, * lib/ttk/loaders/Ruby.rb, * lib/ttk/loaders/Yaml.rb, * lib/ttk/loaders/Loader.rb, * lib/ttk/testers, * lib/ttk/testers/tester, * lib/ttk/testers/tester/remote_status.rb, * lib/ttk/testers/tester/notifier.rb, * lib/ttk/testers/tester/running_task.rb, * lib/ttk/testers/tester/config.rb, * lib/ttk/testers/tester/query_node.rb, * lib/ttk/testers/tester/score.rb, * lib/ttk/testers/Tester.rb, * lib/ttk/testers/Slave.rb, * lib/ttk/testers/Master.rb, * lib/ttk/fetchers, * lib/ttk/fetchers/Client.rb, * lib/ttk/fetchers/server, * lib/ttk/fetchers/server/sender.rb, * lib/ttk/fetchers/Server.rb, * lib/ttk/fetchers/client, * lib/ttk/fetchers/client/receiver.rb, * lib/ttk/filters, * lib/ttk/filters/Saver.rb, * lib/ttk/filters/NodeCut.rb, * lib/ttk/filters/ColorStatus.rb, * lib/ttk/filters/RemoveTypes.rb, * lib/ttk/filters/RPathFilter.rb, * lib/ttk/filters/Filter.rb, * lib/ttk/filters/Warrior.rb, * lib/ttk/filters/Compact.rb, * lib/ttk/filters/Buffer.rb, * lib/ttk/filters/JustStatus.rb, * lib/ttk/filters/Completer.rb, * lib/ttk/filters/KeepSkipBased.rb, * lib/ttk/filters/TextFilter.rb, * lib/ttk/filters/Id.rb, * lib/ttk/logger_factory.rb, * lib/ttk/generators, * lib/ttk/generators/dumper_generator.rb, * lib/ttk/generators/generator.rb, * lib/ttk/generators/strategy_generator.rb, * lib/ttk/generators/filter_generator.rb, * lib/ttk/generators/templates, * lib/ttk/generators/templates/unit_test.rb, * lib/ttk/generators/templates/strategy.yml, * lib/ttk/generators/templates/strategy.rb, * lib/ttk/generators/templates/filter.rb, * lib/ttk/generators/templates/generator.rb, * lib/ttk/generators/templates/loader.rb, * lib/ttk/generators/templates/dumper.rb, * lib/ttk/generators/generator_generator.rb, * lib/ttk/generators/loader_generator.rb, * lib/ttk/weights, * lib/ttk/weights/WExpr.rb, * lib/ttk/weights/Weight.rb, * lib/ttk/weights/WMin.rb, * lib/ttk/weights/WFloat.rb, * lib/ttk/monitors, * lib/ttk/monitors/Client.rb, * lib/ttk/monitors/Server.rb, * lib/ttk/monitors/Monitor.rb, * lib/ttk/strategies, * lib/ttk/strategies/Make.rb, * lib/ttk/strategies/Bootstrap.rb, * lib/ttk/strategies/SubCmd.rb, * lib/ttk/strategies/RemoteCmd.rb, * lib/ttk/strategies/Test.rb, * lib/ttk/strategies/Fetcher.rb, * lib/ttk/strategies/Glob.rb, * lib/ttk/strategies/Authors.rb, * lib/ttk/strategies/SqlQuery.rb, * lib/ttk/strategies/Compile.rb, * lib/ttk/strategies/Package.rb, * lib/ttk/strategies/Iterate.rb, * lib/ttk/strategies/DistDelegate.rb, * lib/ttk/strategies/Composite.rb, * lib/ttk/strategies/Tester.rb, * lib/ttk/strategies/Pass.rb, * lib/ttk/strategies/Ball.rb, * lib/ttk/strategies/Extract.rb, * lib/ttk/strategies/Fail.rb, * lib/ttk/strategies/Stub.rb, * lib/ttk/strategies/RMatch.rb, * lib/ttk/strategies/Distribute.rb, * lib/ttk/strategies/Proxy.rb, * lib/ttk/strategies/Configure.rb, * lib/ttk/strategies/Clean.rb, * lib/ttk/strategies/KillAll.rb, * lib/ttk/strategies/DistStrategy.rb, * lib/ttk/strategies/Fetch.rb, * lib/ttk/strategies/JUnit.rb, * lib/ttk/strategies/Error.rb, * lib/ttk/strategies/Suite.rb, * lib/ttk/strategies/Block.rb, * lib/ttk/strategies/Collection.rb, * lib/ttk/strategies/ProbabilityThreshold.rb, * lib/ttk/strategies/DistDuplicate.rb, * lib/ttk/strategies/CmdBase.rb, * lib/ttk/strategies/Composite, * lib/ttk/strategies/Composite/contents_eval.rb, * lib/ttk/strategies/Cmd, * lib/ttk/strategies/Assert.rb, * lib/ttk/strategies/RUnit.rb, * lib/ttk/strategies/SignalCmd.rb, * lib/ttk/strategies/Strategy.rb, * lib/ttk/strategies/Cmd.rb, * lib/ttk/strategies/Checkout.rb, * lib/ttk/strategies/IOBased.rb, * lib/ttk/strategies/Abort.rb, * lib/ttk/strategies/PackageCollection.rb, * lib/ttk/strategies/Sleep.rb, * lib/ttk/strategies/Pool.rb, * lib/ttk/strategies/Import.rb, * lib/ttk/streams, * lib/ttk/streams/Diff.rb, * lib/ttk/streams/Stream.rb, * lib/ttk.rb, * lib/uttk, * lib/uttk/logger/to_ttk_log.rb, * lib/uttk/logger/verbosity.rb, * lib/uttk/logger/section_node.rb, * lib/uttk/logger/severity.rb, * lib/uttk/logger/path.rb, * lib/uttk/dumpers/Notif.rb, * lib/uttk/dumpers/BasicColor.rb, * lib/uttk/dumpers/Xml.rb, * lib/uttk/dumpers/Basic.rb, * lib/uttk/dumpers/Yaml.rb, * lib/uttk/dumpers/Html.rb, * lib/uttk/dumpers/Dumper.rb, * lib/uttk/streams.rb, * lib/uttk/logger.rb, * lib/uttk/services/MonitorServer.rb, * lib/uttk/services/FetcherClient.rb, * lib/uttk/services/TesterSlave.rb, * lib/uttk/services/TesterMaster.rb, * lib/uttk/services/TesterClient.rb, * lib/uttk/services/DRbService/sub_testable.rb, * lib/uttk/services/MonitorClient.rb, * lib/uttk/services/FetcherServer.rb, * lib/uttk/services/DRbService.rb, * lib/uttk/status.rb, * lib/uttk/daemons/daemon/logger.rb, * lib/uttk/daemons/Daemon.rb, * lib/uttk/daemons/Slave.rb, * lib/uttk/daemons/Master.rb, * lib/uttk/testers/tester/remote_status.rb, * lib/uttk/testers/tester/notifier.rb, * lib/uttk/testers/tester/running_task.rb, * lib/uttk/testers/tester/config.rb, * lib/uttk/testers/tester/query_node.rb, * lib/uttk/testers/tester/score.rb, * lib/uttk/testers/Tester.rb, * lib/uttk/testers/Slave.rb, * lib/uttk/testers/Master.rb, * lib/uttk/loaders/Ruby.rb, * lib/uttk/loaders/Yaml.rb, * lib/uttk/loaders/Loader.rb, * lib/uttk/ttk, * lib/uttk/ttk/logger, * lib/uttk/ttk/logger/to_ttk_log.rb, * lib/uttk/ttk/logger/verbosity.rb, * lib/uttk/ttk/logger/section_node.rb, * lib/uttk/ttk/logger/severity.rb, * lib/uttk/ttk/logger/path.rb, * lib/uttk/ttk/dumpers, * lib/uttk/ttk/dumpers/Notif.rb, * lib/uttk/ttk/dumpers/BasicColor.rb, * lib/uttk/ttk/dumpers/Xml.rb, * lib/uttk/ttk/dumpers/Basic.rb, * lib/uttk/ttk/dumpers/Yaml.rb, * lib/uttk/ttk/dumpers/Html.rb, * lib/uttk/ttk/dumpers/Dumper.rb, * lib/uttk/ttk/streams.rb, * lib/uttk/ttk/logger.rb, * lib/uttk/ttk/services, * lib/uttk/ttk/services/MonitorServer.rb, * lib/uttk/ttk/services/FetcherClient.rb, * lib/uttk/ttk/services/TesterSlave.rb, * lib/uttk/ttk/services/TesterMaster.rb, * lib/uttk/ttk/services/TesterClient.rb, * lib/uttk/ttk/services/DRbService, * lib/uttk/ttk/services/DRbService/sub_testable.rb, * lib/uttk/ttk/services/MonitorClient.rb, * lib/uttk/ttk/services/FetcherServer.rb, * lib/uttk/ttk/services/DRbService.rb, * lib/uttk/ttk/status.rb, * lib/uttk/ttk/daemons, * lib/uttk/ttk/daemons/daemon, * lib/uttk/ttk/daemons/daemon/logger.rb, * lib/uttk/ttk/daemons/Daemon.rb, * lib/uttk/ttk/daemons/Slave.rb, * lib/uttk/ttk/daemons/Master.rb, * lib/uttk/ttk/testers, * lib/uttk/ttk/testers/tester, * lib/uttk/ttk/testers/tester/remote_status.rb, * lib/uttk/ttk/testers/tester/notifier.rb, * lib/uttk/ttk/testers/tester/running_task.rb, * lib/uttk/ttk/testers/tester/config.rb, * lib/uttk/ttk/testers/tester/query_node.rb, * lib/uttk/ttk/testers/tester/score.rb, * lib/uttk/ttk/testers/Tester.rb, * lib/uttk/ttk/testers/Slave.rb, * lib/uttk/ttk/testers/Master.rb, * lib/uttk/ttk/loaders, * lib/uttk/ttk/loaders/Ruby.rb, * lib/uttk/ttk/loaders/Yaml.rb, * lib/uttk/ttk/loaders/Loader.rb, * lib/uttk/ttk/fetchers, * lib/uttk/ttk/fetchers/Client.rb, * lib/uttk/ttk/fetchers/server, * lib/uttk/ttk/fetchers/server/sender.rb, * lib/uttk/ttk/fetchers/Server.rb, * lib/uttk/ttk/fetchers/client, * lib/uttk/ttk/fetchers/client/receiver.rb, * lib/uttk/ttk/logger_factory.rb, * lib/uttk/ttk/filters, * lib/uttk/ttk/filters/Saver.rb, * lib/uttk/ttk/filters/NodeCut.rb, * lib/uttk/ttk/filters/ColorStatus.rb, * lib/uttk/ttk/filters/RemoveTypes.rb, * lib/uttk/ttk/filters/RPathFilter.rb, * lib/uttk/ttk/filters/Filter.rb, * lib/uttk/ttk/filters/Warrior.rb, * lib/uttk/ttk/filters/Compact.rb, * lib/uttk/ttk/filters/Buffer.rb, * lib/uttk/ttk/filters/JustStatus.rb, * lib/uttk/ttk/filters/Completer.rb, * lib/uttk/ttk/filters/KeepSkipBased.rb, * lib/uttk/ttk/filters/TextFilter.rb, * lib/uttk/ttk/filters/Id.rb, * lib/uttk/ttk/generators, * lib/uttk/ttk/generators/dumper_generator.rb, * lib/uttk/ttk/generators/generator.rb, * lib/uttk/ttk/generators/strategy_generator.rb, * lib/uttk/ttk/generators/filter_generator.rb, * lib/uttk/ttk/generators/templates, * lib/uttk/ttk/generators/templates/unit_test.rb, * lib/uttk/ttk/generators/templates/strategy.yml, * lib/uttk/ttk/generators/templates/strategy.rb, * lib/uttk/ttk/generators/templates/filter.rb, * lib/uttk/ttk/generators/templates/generator.rb, * lib/uttk/ttk/generators/templates/loader.rb, * lib/uttk/ttk/generators/templates/dumper.rb, * lib/uttk/ttk/generators/generator_generator.rb, * lib/uttk/ttk/generators/loader_generator.rb, * lib/uttk/ttk/monitors, * lib/uttk/ttk/monitors/Client.rb, * lib/uttk/ttk/monitors/Server.rb, * lib/uttk/ttk/monitors/Monitor.rb, * lib/uttk/ttk/weights, * lib/uttk/ttk/weights/WExpr.rb, * lib/uttk/ttk/weights/Weight.rb, * lib/uttk/ttk/weights/WMin.rb, * lib/uttk/ttk/weights/WFloat.rb, * lib/uttk/ttk/strategies, * lib/uttk/ttk/strategies/Make.rb, * lib/uttk/ttk/strategies/Bootstrap.rb, * lib/uttk/ttk/strategies/SubCmd.rb, * lib/uttk/ttk/strategies/RemoteCmd.rb, * lib/uttk/ttk/strategies/Test.rb, * lib/uttk/ttk/strategies/Fetcher.rb, * lib/uttk/ttk/strategies/Glob.rb, * lib/uttk/ttk/strategies/Authors.rb, * lib/uttk/ttk/strategies/SqlQuery.rb, * lib/uttk/ttk/strategies/Compile.rb, * lib/uttk/ttk/strategies/Package.rb, * lib/uttk/ttk/strategies/Iterate.rb, * lib/uttk/ttk/strategies/DistDelegate.rb, * lib/uttk/ttk/strategies/Composite.rb, * lib/uttk/ttk/strategies/Pass.rb, * lib/uttk/ttk/strategies/Tester.rb, * lib/uttk/ttk/strategies/Extract.rb, * lib/uttk/ttk/strategies/Ball.rb, * lib/uttk/ttk/strategies/Fail.rb, * lib/uttk/ttk/strategies/Stub.rb, * lib/uttk/ttk/strategies/Distribute.rb, * lib/uttk/ttk/strategies/RMatch.rb, * lib/uttk/ttk/strategies/Configure.rb, * lib/uttk/ttk/strategies/Proxy.rb, * lib/uttk/ttk/strategies/Clean.rb, * lib/uttk/ttk/strategies/KillAll.rb, * lib/uttk/ttk/strategies/DistStrategy.rb, * lib/uttk/ttk/strategies/Suite.rb, * lib/uttk/ttk/strategies/Error.rb, * lib/uttk/ttk/strategies/JUnit.rb, * lib/uttk/ttk/strategies/Fetch.rb, * lib/uttk/ttk/strategies/Block.rb, * lib/uttk/ttk/strategies/Collection.rb, * lib/uttk/ttk/strategies/ProbabilityThreshold.rb, * lib/uttk/ttk/strategies/DistDuplicate.rb, * lib/uttk/ttk/strategies/CmdBase.rb, * lib/uttk/ttk/strategies/Composite, * lib/uttk/ttk/strategies/Composite/contents_eval.rb, * lib/uttk/ttk/strategies/Cmd, * lib/uttk/ttk/strategies/Assert.rb, * lib/uttk/ttk/strategies/RUnit.rb, * lib/uttk/ttk/strategies/SignalCmd.rb, * lib/uttk/ttk/strategies/Strategy.rb, * lib/uttk/ttk/strategies/Cmd.rb, * lib/uttk/ttk/strategies/Checkout.rb, * lib/uttk/ttk/strategies/IOBased.rb, * lib/uttk/ttk/strategies/Abort.rb, * lib/uttk/ttk/strategies/PackageCollection.rb, * lib/uttk/ttk/strategies/Sleep.rb, * lib/uttk/ttk/strategies/Pool.rb, * lib/uttk/ttk/strategies/Import.rb, * lib/uttk/ttk/streams, * lib/uttk/ttk/streams/Diff.rb, * lib/uttk/ttk/streams/Stream.rb, * lib/uttk/fetchers/Client.rb, * lib/uttk/fetchers/server/sender.rb, * lib/uttk/fetchers/Server.rb, * lib/uttk/fetchers/client/receiver.rb, * lib/uttk/logger_factory.rb, * lib/uttk/filters/Saver.rb, * lib/uttk/filters/NodeCut.rb, * lib/uttk/filters/ColorStatus.rb, * lib/uttk/filters/RemoveTypes.rb, * lib/uttk/filters/RPathFilter.rb, * lib/uttk/filters/Filter.rb, * lib/uttk/filters/Warrior.rb, * lib/uttk/filters/Compact.rb, * lib/uttk/filters/Buffer.rb, * lib/uttk/filters/JustStatus.rb, * lib/uttk/filters/Completer.rb, * lib/uttk/filters/KeepSkipBased.rb, * lib/uttk/filters/TextFilter.rb, * lib/uttk/filters/Id.rb, * lib/uttk/generators/dumper_generator.rb, * lib/uttk/generators/generator.rb, * lib/uttk/generators/strategy_generator.rb, * lib/uttk/generators/filter_generator.rb, * lib/uttk/generators/templates/unit_test.rb, * lib/uttk/generators/templates/strategy.rb, * lib/uttk/generators/templates/filter.rb, * lib/uttk/generators/templates/generator.rb, * lib/uttk/generators/templates/loader.rb, * lib/uttk/generators/templates/dumper.rb, * lib/uttk/generators/generator_generator.rb, * lib/uttk/generators/loader_generator.rb, * lib/uttk/monitors/Client.rb, * lib/uttk/monitors/Server.rb, * lib/uttk/monitors/Monitor.rb, * lib/uttk/weights/WExpr.rb, * lib/uttk/weights/Weight.rb, * lib/uttk/weights/WMin.rb, * lib/uttk/weights/WFloat.rb, * lib/uttk/strategies/Make.rb, * lib/uttk/strategies/Bootstrap.rb, * lib/uttk/strategies/SubCmd.rb, * lib/uttk/strategies/RemoteCmd.rb, * lib/uttk/strategies/Test.rb, * lib/uttk/strategies/Fetcher.rb, * lib/uttk/strategies/Glob.rb, * lib/uttk/strategies/Authors.rb, * lib/uttk/strategies/SqlQuery.rb, * lib/uttk/strategies/Compile.rb, * lib/uttk/strategies/Package.rb, * lib/uttk/strategies/Iterate.rb, * lib/uttk/strategies/DistDelegate.rb, * lib/uttk/strategies/Composite.rb, * lib/uttk/strategies/Tester.rb, * lib/uttk/strategies/Pass.rb, * lib/uttk/strategies/Ball.rb, * lib/uttk/strategies/Extract.rb, * lib/uttk/strategies/Fail.rb, * lib/uttk/strategies/Stub.rb, * lib/uttk/strategies/RMatch.rb, * lib/uttk/strategies/Distribute.rb, * lib/uttk/strategies/Proxy.rb, * lib/uttk/strategies/Configure.rb, * lib/uttk/strategies/Clean.rb, * lib/uttk/strategies/KillAll.rb, * lib/uttk/strategies/DistStrategy.rb, * lib/uttk/strategies/Fetch.rb, * lib/uttk/strategies/JUnit.rb, * lib/uttk/strategies/Error.rb, * lib/uttk/strategies/Suite.rb, * lib/uttk/strategies/Block.rb, * lib/uttk/strategies/Collection.rb, * lib/uttk/strategies/ProbabilityThreshold.rb, * lib/uttk/strategies/DistDuplicate.rb, * lib/uttk/strategies/CmdBase.rb, * lib/uttk/strategies/Composite/contents_eval.rb, * lib/uttk/strategies/Assert.rb, * lib/uttk/strategies/RUnit.rb, * lib/uttk/strategies/SignalCmd.rb, * lib/uttk/strategies/Strategy.rb, * lib/uttk/strategies/Cmd.rb, * lib/uttk/strategies/Checkout.rb, * lib/uttk/strategies/IOBased.rb, * lib/uttk/strategies/Abort.rb, * lib/uttk/strategies/PackageCollection.rb, * lib/uttk/strategies/Sleep.rb, * lib/uttk/strategies/Pool.rb, * lib/uttk/strategies/Import.rb, * lib/uttk/streams/Diff.rb, * lib/uttk/streams/Stream.rb, * lib/ttkd.rb, * lib/uttk.rb, * lib/js/uttk.js, * lib/js/css/ttk.css, * lib/js/css/uttk.css, * lib/js/ttk.js, * lib/uttkd.rb, * bin/ttkm, * bin/ttk, * bin/uttkm, * bin/getopts/ttkm.rb, * bin/getopts/ttk.rb, * bin/getopts/uttkm.rb, * bin/getopts/ttkd.rb, * bin/getopts/uttk.rb, * bin/getopts/uttkd.rb, * bin/ttkd, * bin/uttk, * bin/uttkd, * COPYING, * NORM, * NEWS: Apply misc/renaming. 2005-09-26 Nicolas Pouillard Add TTK -> Uttk renaming script. * misc/renaming: It takes files or directories as arguments. Traverse them with find. Move directories and files with "svn move". Replace the contents of the files in place. 2005-09-25 Nicolas Pouillard Update NEWS. * NEWS: Add the use of <>. * lib/uttk/strategies/Iterate.rb: Typo. 2005-09-25 Nicolas Pouillard F::TextFilter, F::KeepSkipBased some fixes. * lib/uttk/filters/TextFilter.rb: Fix the use of quotes in the doc. * lib/uttk/filters/KeepSkipBased.rb: Factorize and remove dead code. 2005-09-25 Nicolas Pouillard Inject the strategy into the stream type. * lib/uttk/logger/to_uttk_log.rb: Adapt Hash#to_uttk_log and OHash#to_uttk_log to pass the strategy as a type option. * test/runit/logger/to_uttk_log_test.rb: Adapt. * lib/uttk/filters/Compact.rb: Add some coments. * lib/uttk/filters/Buffer.rb: Handle the type option and re-inject it into the tree. 2005-09-25 Nicolas Pouillard Fix Compact filter for Html backend. * lib/uttk/filters/Compact.rb: Do not compact SubCmds. Use `<=' instead of `<'. 2005-09-25 Nicolas Pouillard More fixes... * lib/uttk/filters/Buffer.rb: Reset at the begining of a new session to permit to use the result before it's destruction. * lib/uttk/strategies/RUnit.rb: RUnit is quiet by default. * lib/uttk.rb: Inverse arguments of core_ex_require. * test/runit/filters/node_cut_test.rb: Add the `close' notification in fixtures. 2005-09-25 Nicolas Pouillard Remove the vendor dir. * vendor: Remove. The vendor dir is built when neeeded. 2005-09-25 Nicolas Pouillard Update tests and packaging. * test/uttk-pkg/cmdline.yml: Require an exit of 0. Check --authors. * test/uttk-minimal/sub.yml: Add a pass and a fail test. * test/uttk-minimal/runit.yml: Use RMatch to really control the output corectness. * test/uttk-minimal/env_cmd.yml, test/uttk-distcheck.yml, * test/uttk-minimal/signal_cmd.yml: Use <> instead of ruby. * SPEC.yml: Update dependencies. * vcs/uttk.rb: Update to Vcs 0.4. 2005-09-25 Nicolas Pouillard !!! In your tests you now must use <> instead of just ruby !!! !!! This will permit to easily control and change the running ruby !!! Add <> to the symtbl. * lib/uttk.rb: Update to core_ex. * lib/uttk/streams.rb: No more dump regexp with `//'. * lib/uttk/status.rb: Add a strange workaround to avoid a Yaml bug. * lib/uttk/streams/Stream.rb: Enforce `Stream#to_uttk_log'. * bin/getopts/uttk.rb: Set exit 0 for --version. 2005-09-25 Nicolas Pouillard Update the backend: remove the `close' notification. * lib/uttk/logger/path.rb: Add Logger::Path#{to_a,to_regex_path_string,to_regex_path}. * lib/uttk/loaders/Yaml.rb: Begin the 1.8.3 support. * lib/uttk/filters/Filter.rb: Emulate the `close' notification. * lib/uttk/dumpers/Dumper.rb: ... likewise and update the documentation. * bin/uttk: Remove the `close' notification. * lib/uttk/strategies/SubCmd.rb: Remove the `close' treatment. Make SubCmd quiet by default. 2005-09-25 Nicolas Pouillard Improve Proxies strategies and fix some bugs. * lib/uttk/strategies/Test.rb: Reject :name, :status, :strategy like it was in Proxy but leave a FIXME. * lib/uttk/strategies/Iterate.rb: Add Hash#uttk_each. * lib/uttk/strategies/RMatch.rb: Deep re-implementation to avoid the Forker class which cause many problems. * lib/uttk/strategies/Proxy.rb: No more reject but supply a test name if the name is not set. * lib/uttk/strategies/RUnit.rb: Use <> and %a. * lib/uttk/strategies/Strategy.rb: The name attribute is no more mandatory (that is cleaner than the fake name `noname'). 2005-09-24 Nicolas Pouillard Fix some blocker bugs in strategies. * lib/uttk/strategies/CmdBase.rb: Initialize some variables. Add waitpid. Call waitpid in `run_impl' and in the `epilogue' (which is protected against timeouts). * lib/uttk/strategies/Checkout.rb: Adapt to the unified URI::Generic#checkout result. * lib/uttk/strategies/IOBased.rb: Do not show the input status which does not make sense. Do not skip too many streams during the display. * lib/uttk/strategies/Strategy.rb: Remove the completly useless require to 'thread_mutex'. 2005-09-12 Nicolas Pouillard No more use the. * lib/uttk/status.rb: Remove StatusException. Make Status inherits from UttkException. Use class_inheritable_accessors to clean up the code. * lib/uttk/strategies/Block.rb: s/StatusException/Status/. * lib/uttk/strategies/Strategy.rb: Add a modified version of Timeout whcih handle SynFlows properly and adapt. * lib/uttk.rb: Little initialization swaping. * test/pool-tests/pool.yml: Remove useless `name:'. * test/pool-tests/base.yml: New. 2005-09-12 Nicolas Pouillard Update Filters. * lib/uttk/filters/KeepSkipBased.rb: New. An abstract class for TextFilter and NodeCut. * lib/uttk/filters/NodeCut.rb: Sublcass KeepSkipBased and add a `prune' option. * lib/uttk/filters/RPathFilter.rb: Layout. * lib/uttk/filters/Filter.rb: Add a class attribute `default_options' and now takes its observers one the first argument. * lib/uttk/filters/Warrior.rb: Add a method to reuse this filter. * lib/uttk/filters/Buffer.rb, * test/runit/filters/buffer_test.rb, * test/runit/filters/rpath_filter_test.rb: Update to the new F::Filter#initialize. * lib/uttk/filters/Id.rb: Do not spread useless nils. * lib/uttk/filters/TextFilter.rb: New. A leaf filter based on the Text class. * lib/uttk.rb: New yaml support for options of filters. * bin/getopts/uttk.rb: Change the -l option, it use now Warrior with the given basename (instead of `log'). * test/runit/filters/node_cut_test.rb: New. * test/runit/filters/keep_skip_based_test.rb: New. * test/runit/filters/text_filter_test.rb: New. 2005-09-12 Nicolas Pouillard Update Logger and Logger::Path. * lib/uttk/logger/path.rb: Add Logger::Path::to_logger_path and Array#to_logger_path. * lib/uttk/logger.rb: Use a more specific exception that ArgumentError, and use local variables to save $1, $2... ASAP. * lib/uttk/strategies/ProbabilityThreshold.rb: Update the weight displaying. * test/test-unit-setup.rb: Use run_embedded_test_sections. 2005-09-12 Nicolas Pouillard Update dumpers. * lib/uttk/dumpers/Xml.rb: Remove #xmlize* because REXML does the escaping by it self, remove also the conversion of \n by
which will be done by TextFilter and don't make sense in an Xml dumper. * lib/uttk/dumpers/Yaml.rb: Fix 2 bugs. Put a |2 when the given text begin with spaces, and no more squeeze group of new lines. 2005-09-08 Nicolas Pouillard Restore missing JS files. * lib/js/css/uttk.css: New. * lib/js/img/triangle.gif: New. * lib/js/img/opentriangle.gif: New. * test/js: Remove. * test/js/uttk.html: Remove. 2005-09-08 Nicolas Pouillard Clean up the Html backend. * lib/uttk/dumpers/HtmlUttkJs.rb: Rename to ... * lib/uttk/dumpers/Html.rb: ... and clean up. * lib/js/uttk.js: Clean up and refactor. * lib/uttk/strategies/Checkout.rb: Import UriEx. * test/js/img/triangle.gif: Rename to ... * lib/js/img/triangle.gif: ... this. * test/js/img/opentriangle.gif: Rename to ... * lib/js/img/opentriangle.gif: ... this. * test/js/css/uttk.css: Rename to ... * lib/js/css/uttk.css: ... this. * lib/uttk/filters/Warrior.rb: Adapt. * lib/uttk/strategies/Pool.rb, lib/uttk/strategies/CmdBase.rb, * lib/uttk/strategies/Composite.rb: Layout. 2005-09-08 Nicolas Pouillard Finish to adapt to CoreEx and RubyEx. * bin/uttk: Make a specific case for OptionParser errors. * bin/getopts/uttk.rb: Add imports, and comment the signature. * lib/uttk.rb: More imports, more $LOAD_PATH. * lib/uttk/filters/Saver.rb: Fix and make generic. * lib/uttk/dumpers/Notif.rb: Use the generic version from Saver. * lib/uttk/logger.rb: Layout. * test/uttk-minimal/base.yml: Add tests that check the output. * test/pkg-suite.yml: Add missing parenthesis. * test/uttk-pkg/cmdline.yml: Adapt. * test/test-unit-setup.rb: Import not require. 2005-09-07 Nicolas Pouillard Update tests. * test/runit/logger/to_uttk_log_test.rb, * test/runit/logger_test.rb, * test/runit/filters/rpath_filter_test.rb, * test/runit/filters/buffer_test.rb: Use the mocks objects from Mocks in ruby_ex. * test/runit/strategies/suite_test.rb, * test/uttk-minimal/exit.yml: Quote true and false commands. * test/examples/cache/cache_and_fatal.yml: Add {}. * SPEC.yml: Update. * vendor: New. Put here your links from ruby_ex, core_ex, active... 2005-09-07 Nicolas Pouillard Add the RMatch strategy. * lib/uttk/strategies/RMatch.rb: New. Permits to put assertion on the output of another strategy, with regex_path. * test/uttk-minimal/rmatch.yml: New. 2005-09-07 Nicolas Pouillard Update Filters, Dumpers, Loaders and Binary. * lib/uttk/dumpers/BasicColor.rb, * lib/uttk/loaders/Yaml.rb, * lib/uttk/filters/ColorStatus.rb: Remove some requires, use HighLine. * lib/uttk/dumpers/Xml.rb: Fix a bug with stranges streams. * lib/uttk/dumpers/Yaml.rb: Use the Inline option. * lib/uttk/filters/RPathFilter.rb: Allow to stop a matcher. * lib/uttk/filters/Buffer.rb: Add assertions and secure the @stack. * lib/uttk/logger_factory.rb: Use Uttk.dir. * lib/uttk/weights/Weight.rb: No more a DelegateClass but a little float container. * lib/uttk.rb, bin/uttk, bin/getopts/uttk.rb: Fix the cache mode. 2005-09-07 Nicolas Pouillard Update Strategies. * lib/uttk/strategies/Extract.rb, * lib/uttk/strategies/Fetch.rb, * lib/uttk/strategies/Assert.rb, * lib/uttk/strategies/RUnit.rb, * lib/uttk/strategies/Checkout.rb, * lib/uttk/strategies/Authors.rb: Layout, and requires. * lib/uttk/strategies/CmdBase.rb: Use a real chdir in the `son'. * lib/uttk/strategies/Cmd.rb: Update type attributes. * lib/uttk/strategies/Strategy.rb: Add a to_form draft, and fix the cache mode. 2005-09-07 Nicolas Pouillard Switch to the rails generators. examples: ruby script/generate strategy MyBrandNewStrategy ruby script/destroy dumper MyOldUselessDumper ruby script/generate -h # gives the list of available generators. * script: New. * script/destroy: New. * script/generate: New. * template/new_filter.rb: Remove. * template/new_loader.rb: Remove. * template/new_dumper.rb: Remove. * template/new_runit_test.rb: Remove. * template/new_strategy.rb: Remove. * misc/template.rb: Remove. * lib/uttk/generators: New. * lib/uttk/generators/dumper_generator.rb: New. * lib/uttk/generators/generator.rb: New. * lib/uttk/generators/strategy_generator.rb: New. * lib/uttk/generators/filter_generator.rb: New. * lib/uttk/generators/generator_generator.rb: New. * lib/uttk/generators/loader_generator.rb: New. * lib/uttk/generators/templates: New. * lib/uttk/generators/templates/unit_test.rb: New. * lib/uttk/generators/templates/strategy.yml: New. * lib/uttk/generators/templates/strategy.rb: New. * lib/uttk/generators/templates/filter.rb: New. * lib/uttk/generators/templates/generator.rb: New. * lib/uttk/generators/templates/loader.rb: New. * lib/uttk/generators/templates/dumper.rb: New. 2005-07-27 Nicolas Pouillard Minor change in HtmlUttkJs and Yaml. * lib/uttk/dumpers/Yaml.rb: Better option handling. * lib/uttk/dumpers/HtmlUttkJs.rb: Change yaml options. * test/js/css/uttk.css: Minor. 2005-07-27 Nicolas Pouillard Update style. * lib/uttk/dumpers/HtmlUttkJs.rb: No more generate a table when the contents is empty. * test/js/css/uttk.css: Changes some colors. 2005-07-27 Nicolas Pouillard Enhance the Html dumper. * lib/uttk/dumpers/HtmlUttkJs.rb: Improve. * lib/uttk/filters/NodeCut.rb: New. Cut nodes which are in the skip list. * lib/uttk/filters/RPathFilter.rb: Should be abstract, leave a fixme. * lib/uttk/filters/Warrior.rb: Add an Html output. * lib/uttk/filters/Compact.rb: Now compact all non composite strategies. * lib/uttk.rb: Handle symbols in the backend creation, and no more strip Uttk::Strategies:: in Class#to_yaml. * lib/js/uttk.js: Update. * test/runit/strategies/suite_test.rb: Update the strategy displaying. * test/unit-suite.yml: Change the capture group to see the complete file name. * test/js/css/uttk.css: Update. * lib/uttk/dumpers/Xml.rb: Fix a bug with extra notifications. 2005-07-26 Nicolas Pouillard Add a first draft for a Html dumper. * lib/uttk/dumpers/Yaml.rb: Little fix in up. * lib/uttk/dumpers/HtmlUttkJs.rb: New. First sloppy version. * lib/uttk/filters/Compact.rb: New. First sloppy version. * lib/js/uttk.js: Typo (s/h1/p/). 2005-07-26 Nicolas Pouillard Add the filters of Warriors... * lib/uttk/filters/Warrior.rb: New. Yaml, Xml and Colored Status Summary. 2005-07-26 Nicolas Pouillard Add Filters::ColorStatus and Dumpers::BasicColor. * lib/uttk/filters/ColorStatus.rb: New. * lib/uttk/dumpers/BasicColor.rb: New. 2005-07-26 Nicolas Pouillard Add Filters::RemoveTypes. * lib/uttk/filters/RemoveTypes.rb: New. 2005-07-26 Nicolas Pouillard Add Filters::JustStatus. * lib/uttk/filters/JustStatus.rb: New. 2005-07-25 Nicolas Pouillard Add Filters::Completer. * lib/uttk/filters/Completer.rb: New. Add missing notifications: new_node and up. 2005-07-25 Nicolas Pouillard Make Filters::RPathFilter inherit from Filters::Id. * lib/uttk/logger/path.rb: Spawn self instead of last. * lib/uttk/filters/RPathFilter.rb: Inherit form Id and adapt. * template/new_filter.rb: Add close. 2005-07-25 Nicolas Pouillard Add Filters::Id the identity filter. * lib/uttk/filters/Id.rb: New. 2005-07-25 Nicolas Pouillard Start the backend redesign. * lib/uttk/dumpers/Yaml.rb: Move Class#to_yaml ... * bin/getopts/uttk.rb: Remove some useless options (-o, -P, --no-default-observer), add an option --filter-help and move and improve the backend creation ... * lib/uttk.rb: ... here, and adapt to getopts. * bin/uttk: Adapt to getopts. * lib/uttk/dumpers/Dumper.rb: Close a dumper do not close the @io, it's the @io owner responsablity. * lib/uttk/filters/Filter.rb: Likewise, and add Filter.composition which permit to define composite filters easily with the '-F' syntax. * lib/uttk/strategies/SubCmd.rb: Skip the close notification and use '-F' instead of '-P'. 2005-07-25 Nicolas Pouillard Fix some input tests. * test/uttk-pkg/cmdline.yml: Remove the Dumper test (the dumper option will be removed soon). * test/uttk-minimal/fatal.yml, test/uttk-minimal/sub.yml, * test/uttk-minimal/iterate.yml: Add {} to describe empty hashes. * test/js/uttk.html: s/hmtl/html. 2005-07-25 Nicolas Desprès * misc/uttk-grep.sh: Use 'find' instead of globbing in order to avoid maximun argument given argument error and dummy error at initialization time. 2005-07-25 Nicolas Pouillard Fix a bug in RPathFilter. * lib/uttk/filters/RPathFilter.rb: Fix a little workaround with the up notification. 2005-07-24 Nicolas Pouillard Handle end anchored regex paths in Logger::Path#rpath. * lib/uttk/logger/path.rb: Make a backward traversal when the path is end anchored. * test/runit/filters/rpath_filter_test.rb: Update. 2005-07-24 Nicolas Pouillard Fix some test. * test/uttk-minimal/pkg.yml, test/uttk-minimal/killall.yml, * test/uttk-minimal/fatal.yml, test/uttk-minimal/block.yml, * test/uttk-minimal/exit.yml, test/uttk-minimal/import.yml, * test/uttk-minimal/base.yml, test/uttk-minimal/env_cmd.yml, * test/runit/strategies/suite_test.rb: Fix some !S::XXX uses. 2005-07-24 Nicolas Pouillard Dumpers display the type given by the logger. * lib/uttk/dumpers/Xml.rb: Display the type as an attribute when available. * lib/uttk/dumpers/Yaml.rb: Factor, clean and display the type. * test/runit/dumpers/xml_test.rb, test/runit/dumpers/yaml_test.rb: Update. 2005-07-24 Nicolas Pouillard Add types to the output. * lib/uttk/strategies/Strategy.rb: Add a generic Strategy.to_yaml_type, make the strategy attribute invisible, and inject the type during the prologue. * lib/uttk/logger.rb: Add the :type option. 2005-07-23 Nicolas Pouillard Update input tests to !S::Strategy and Iterate. * test/uttk-pkg/cmdline.yml, test/uttk-minimal/test.yml, * test/uttk-minimal/pkg.yml, test/uttk-minimal/glob.yml, * test/uttk-minimal/killall.yml, test/uttk-minimal/timeout.yml, * test/uttk-minimal/fatal.yml, test/uttk-minimal/sub.yml, * test/uttk-minimal/block.yml, * test/uttk-minimal/probability_threshold.yml, * test/uttk-minimal/iterate.yml, test/uttk-minimal/signal_cmd.yml, * test/uttk-minimal/runit.yml, test/uttk-minimal/author.yml, * test/uttk-minimal/cat.yml, test/uttk-minimal/diff.yml, * test/uttk-minimal/exit.yml, test/uttk-minimal/wc.yml, * test/uttk-minimal/import.yml, test/uttk-minimal/base.yml, * test/uttk-minimal/env_cmd.yml, test/dist-suite.yml, * test/pool-suite.yml, test/uttk-distcheck.yml, * test/runit/strategies/suite_test.rb, * test/uttk-dist/dist-dispatch.yml, test/uttk-dist/local-fetch.yml, * test/uttk-dist/tester.yml, test/uttk-dist/dist-nested-pass.yml, * test/uttk-dist/dist-pass.yml, test/uttk-dist/dist-cat.yml, * test/uttk-dist/dist-abort.yml, test/uttk-dist/dist-error.yml, * test/uttk-dist/dist-suite.yml, test/uttk-dist/dist-ribute.yml, * test/uttk-dist/dist-delegate.yml, test/uttk-dist/dist-fail.yml, * test/examples-suite.yml, test/unit-suite.yml, test/pkg-suite.yml, * test/pool-tests/pool.yml, test/uttk-check.yml, * test/minimal-suite.yml, test/examples/sql/basic.yml, * test/examples/students-suite.yml, test/examples/cache/simple.yml, * test/examples/cache/cache_and_fatal.yml, * test/examples/students/stud.yml, * test/examples/students/mini-lib.yml, * test/examples/students/glob_stud.yml, * test/examples/students/pool_stud.yml, * test/examples/students/ball.yml: `Glob' is replaced by `Iterate', and `strategy: X' by `!S::X'. 2005-07-23 Nicolas Pouillard Add notif to Dumpers, and improve Dumpers::Xml. * lib/uttk/dumpers/Xml.rb: Permit to open more than one tag in new_node. * lib/uttk/dumpers/Dumper.rb, lib/uttk/filters/Filter.rb: Add notif. * lib/uttk/filters/Buffer.rb: Handle basically the close notif. 2005-07-23 Nicolas Pouillard Permit to use yaml types for strategies. Now you can write: foo: !S::Cmd commmand: foo Instead of: foo: strategy: Cmd command: foo * lib/uttk/strategies/Strategy.rb: Define types for all strategies. * lib/uttk.rb: Provide `module_dir' and `each_module_name' for all uttk_modules. 2005-07-23 Vincent CUISSARD * test/js: Root of the Uttk test javascript library. * test/js/uttk.html: Possibilities of JS libary enhancement. * test/js/css: New. * test/js/css/uttk.css: The css of the html page: contains all color codes and manage the layout. * test/js/img: Image directory. * test/js/img/triangle.gif: New. * test/js/img/opentriangle.gif: New. * lib/js: Root of the Uttk Javascript library. * lib/js/uttk.js: Uttk Javascript library: in this file you can find all functions needed to create a tree (where nodes are "Collections" and leaf are "Test"). These functions allow you to describe the hierarchy tree and after to display it with dynamic events as expand/collapse collections. 2005-07-22 Nicolas Pouillard RPathFilter now works with more than one match specification. * lib/uttk/filters/RPathFilter.rb: Use class_inheritable_accessor instead of a class_inheritable_array, and factor self.match. * test/runit/filters/rpath_filter_test.rb: Update a test output and remove a FIXME. 2005-07-22 Nicolas Pouillard Add RPathFilter, a Powerful meta filter. * lib/uttk/filters/RPathFilter.rb: New. * test/runit/filters/rpath_filter_test.rb: New. See it for examples. * lib/uttk/logger/path.rb: Add dup, rpath, and rpath_prefix. * lib/uttk/logger.rb: Use a Logger::Path instead of an array for @path. * lib/uttk/filters/Buffer.rb: Add empty?. * lib/uttk.rb: Require 'rpath'. 2005-07-22 Nicolas Pouillard Update templates. * template/new_filter.rb: New, from new_dumper. * template/new_dumper.rb: Change the new_node prototype. * template/new_runit_test.rb: Update to test_section. 2005-07-20 Nicolas Pouillard Update unit tests. * test/runit/logger/to_uttk_log_test.rb: New. * test/runit/dumpers/yaml_test.rb, test/runit/logger_test.rb, * test/runit/filters/buffer_test.rb: Update to the new lighter notification scheme. 2005-07-20 Nicolas Pouillard Update strategies to the new logger usage. * lib/uttk/strategies/Package.rb, lib/uttk/strategies/Composite.rb, * lib/uttk/strategies/Strategy.rb, lib/uttk/strategies/IOBased.rb, * lib/uttk/strategies/Pool.rb: s/:seq/:ordered => true/ and s/x.to_uttk_log(@log)/@log << x/. 2005-07-20 Nicolas Pouillard Update filters and dumpers to new logger's notifications. * lib/uttk/dumpers/Notif.rb, lib/uttk/dumpers/Xml.rb, * lib/uttk/dumpers/Yaml.rb, lib/uttk/dumpers/Dumper.rb, * lib/uttk/filters/Saver.rb, lib/uttk/filters/Filter.rb: Update. * lib/uttk/filters/Buffer.rb: Update, remove flush, and use OHashs instead of Arrays. 2005-07-20 Nicolas Pouillard Define a cleaner and lighter logger protocol. * lib/uttk/logger.rb: Use a hash of option (:ordered) instead of the type (:map, :seq), new_node take now the node and the options are separated arguments, and Logger#[]= call to_uttk_log_with_key. * lib/uttk/logger/to_uttk_log.rb: Add to_uttk_log_with_key to better define special cases of to_uttk_log. * lib/uttk/logger/path.rb: Update. 2005-07-18 Nicolas Pouillard Fix a bug with the weight attribute and the symtbl substitution. * lib/uttk/strategies/Strategy.rb: Copy @weight to prevent the epilogue from restoring the save. 2005-07-14 Yannick Lacaute * test/runit/filters/buffer_test.rb: Add flush test which must be reviewed * lib/uttk/filters/Buffer.rb: Add flush method and change the addition of a leaf into a map, there aren't nil map now. 2005-07-14 Yannick Lacaute * test/runit/filters/buffer_test.rb: Test two successive new_leaf notifications for a map node and a sequence node. * lib/uttk/filters/Buffer.rb: Embrace the condition of the ternary operator. 2005-07-14 Yannick Lacaute * lib/uttk/filters/Filter.rb: Add the update method which dispatch the messages methods (new_node, new_leaf...) * lib/uttk/filters/Buffer.rb: Factorize the update method 2005-07-14 Yannick Lacaute * test/runit/filters/buffer_test.rb: Add one complex test with few sequences and maps. * lib/uttk/filters/Buffer.rb: Fix a bug when adding a new node in a sequence. 2005-07-14 Yannick Lacaute * test/runit/filters/buffer_test.rb: Test sequence node and one leaf. 2005-07-14 Yannick Lacaute * test/runit/filters: New. Hold the filters test units. * test/runit/filters/buffer_test.rb: New. Test unit of the filter Buffer class. * lib/uttk/filters/Buffer.rb: New. Implements a Buffer filter. 2005-07-12 Nicolas Desprès * lib/uttk/dumpers/Debug.rb: Remove... since Basic already do the job. 2005-07-12 Nicolas Desprès * lib/uttk/dumpers/Debug.rb: New. A dumper which only prints the message it receives. 2005-07-12 Nicolas Desprès * lib/uttk/filters/Saver.rb: Adapt the constructor arguments to the base class constructor arguments. 2005-06-25 Nicolas Pouillard * bin/uttk: Uttk exits 0 when everything is ok. 2005-06-24 Nicolas Pouillard * SPEC.yml: Update pkg_list, autorequire and uttk_version. * bin/getopts/uttk.rb: Fix some options, update some others, add --long-help, so now --help is just a brief Uttk presentation, and add --authors. * NEWS: Add entries for Iterate, Assert, CmdBase, and bin/uttk. 2005-06-24 Nicolas Pouillard * lib/uttk/strategies/Iterate.rb: New. A new strategy to iterate over anything. * test/uttk-minimal/iterate.yml: New. A test suite for S::Iterate. * test/examples/cache/cache_and_fatal.yml: New. 2005-06-24 Nicolas Pouillard * lib/uttk/strategies/Checkout.rb: Like for the extraction it calls install if the file is installable. 2005-06-24 Nicolas Pouillard * lib/uttk/strategies/Assert.rb: New. Subclass of S::Block. Use Test::Unit::Assertion. 2005-06-24 Nicolas Pouillard * lib/uttk/strategies/Block.rb: Perform a symtbl_gsub over the block, and split the strategy using prologue and assertion. 2005-06-24 Nicolas Pouillard * test/uttk-pkg/cmdline.yml: Add some tests. * test/uttk-minimal/runit.yml, test/test-unit-setup.rb, * test/uttk-distcheck.yml, test/unit-suite.yml: Update. 2005-06-24 Nicolas Pouillard * lib/uttk/weights/Weight.rb: Add min? and max?. * lib/uttk.rb, lib/uttkd.rb: Use a class method for uttk module instead a module, and update. * bin/uttk: Minor fixes and updates. * template/new_header.rb, template/new_dumper.rb, * template/new_runit_test.rb, template/new_strategy.rb: Update the header. * TODO, README: Update the bugtracker url. * VERSION: Use Uttk::* instead of Uttk_. 2005-06-24 Nicolas Pouillard * lib/uttk/strategies/RUnit.rb: Use input instead of unit_file, use %i. * lib/uttk/strategies/IOBased.rb: Do not copy the input if it's a path. * lib/uttk/strategies/CmdBase.rb: Add %i which is replaced by the name of the intut file. 2005-06-24 Nicolas Pouillard * lib/uttk/loaders/Loader.rb: Use Symtbl#new_child, reorder some creations in testify. * lib/uttk/strategies/Composite.rb: Update symtbl, testify. Fix a bug with fatal and skip. * lib/uttk/strategies/Suite.rb: Update. * lib/uttk/strategies/Strategy.rb: Update testify, and an exception. 2005-06-24 Nicolas Pouillard * lib/uttk/dumpers/Yaml.rb: Remove some yaml extension which are now in core_ex, and fix Symbol#to_yaml. * lib/uttk/filters/Saver.rb, * lib/uttk/dumpers/Notif.rb: Fix the types handling in messages. 2005-06-16 Cedric Lechevrel * lib/uttk/logger.rb: Trainling white space. * lib/uttk/filters/Filter.rb: Mixed-in observable. * bin/uttk: Add a dumper when the observers array is empty. * bin/getopts/uttk.rb: Parse -F argument using yaml and instantiate the Filter/Dumper tree. 2005-06-16 Cedric Lechevrel * test/uttk-minimal/runit.yml: Adapt to the new RUnit. * lib/uttk/strategies/CmdBase.rb: Remove default value. * lib/uttk/strategies/RUnit.rb: Add space at the end of the program name. 2005-06-16 Nicolas Desprès * test/unit-suite.yml: Update to fit new RUnit attributes. * lib/uttk/strategies/CmdBase.rb: Add attributes default values. * lib/uttk/strategies/RUnit.rb: Inherite from CmdBase. 2005-06-15 Nicolas Desprès * lib/uttk/strategies/CmdBase.rb: Return 134 for my_exit on abort as sh do. 2005-06-14 Nicolas Desprès * test/uttk-ruby/wc.rb, test/uttk-ruby/base.rb: Do not use 'include Strategies' any more to avoid namespace polution but use module name shortcut instead. * lib/uttk.rb: Add module name shortcuts. * lib/uttk/strategies/Composite.rb: Typo. 2005-06-13 Nicolas Desprès * test/uttk-ruby/wc.rb: Typo. * lib/uttk/strategies/Strategy.rb: Use an array of benchmark result instead of a hash. 2005-06-12 Nicolas Desprès * test/uttk-ruby/wc.rb: New. Port of the uttk-minimal/wc.yml test file using the Ruby loader and sugar for attributes and contents. * test/uttk-ruby/base.rb: Move sugar test to the wc.rb file. * lib/uttk/strategies/Composite.rb: Add sugar to the contents attribut. * lib/uttk/strategies/Collection.rb: Move 'hash_eval' requirements to... * lib/uttk.rb: ...here because it is uses in contents_eval.rb too. * lib/uttk/strategies/Composite: New. Hold Composite class tools. * lib/uttk/strategies/Composite/contents_eval.rb: New. Support do...end sugar for the contents attribut. 2005-06-12 Nicolas Desprès * test/uttk-ruby/base.rb: Add a test and turn some {} block to do..end. * lib/uttk/strategies/Collection.rb: Overload the attributes getter and use HashEval to eval the block. 2005-06-12 Nicolas Desprès * test/uttk-ruby/base.rb: Use proc/lambda keyword. Remove useless brackets/curly brackets. * lib/uttk.rb: Do not create a useless Proc but only do an eval. 2005-06-12 Nicolas Desprès * test/uttk-minimal/test.yml: Ignored 'benchmark' key. * lib/uttk/logger/to_uttk_log.rb: Covnert a benchmark measure to the log format. * lib/uttk/loaders/Loader.rb: Typo. * lib/uttk/strategies/Strategy.rb: Compute benchmark measure and print the result if the benchmark mode is on. * lib/uttk.rb: Initialize the default mode of the benchmark. * bin/uttk: Rename profile_on option to profile. * bin/getopts/uttk.rb: Add --benchmark option to set on the benchmark mode. * NEWS: Add an entry for the benchmark features provided by Strategy. 2005-06-11 Nicolas Desprès * NEWS: Add an entry for the Ruby loader. 2005-06-11 Nicolas Desprès * test/uttk-ruby/base.rb, test/ruby-suite.rb, * lib/uttk/loaders/Ruby.rb: changed property. Add forgotten svn keyword 'Id'. 2005-06-11 Nicolas Desprès * lib/uttk.rb: Remove DLogger requirements since Uttk has its own logger. 2005-06-11 Nicolas Desprès A new loader wich use plain Ruby syntax. * test/uttk-ruby: New. Reposiroty of the Ruby loader test files. * test/uttk-ruby/base.rb: New. Basic Ruby loader test file. * test/ruby-suite.rb: New. Ruby loader test suite. * lib/uttk/loaders/Ruby.rb: New. A plain Ruby loader. * lib/uttk/loaders/Loader.rb: Always affect the basename and the realname in order to be compatible with Import. * lib/uttk/strategies/Strategy.rb: Allow a block at initialization time which is either bind with self or instance evaled if no argument are provided. * lib/uttk/strategies/Import.rb: Trainling white space. * lib/uttk.rb: Add a method to evaluate code in the context of the Uttk module. 2005-06-11 Nicolas Desprès * lib/uttk/strategies/Collection.rb: Testify sub tests at runtime rather than at creation time in order to behave as every Composites. 2005-06-11 Nicolas Pouillard * lib/uttk/strategies/Streams.rb: Rename to ... * lib/uttk/streams.rb: ... this. * lib/uttk/strategies/Streams: Rename to ... * lib/uttk/streams: ... this. * lib/uttk/strategies/IOBased.rb: Check that the stream exists. * lib/uttk/streams/Stream.rb: Do not print my_input anymore. * lib/uttk.rb: Require the Streams module. * NEWS: The release is 0.2 not 0.2.0. 2005-06-11 Nicolas Desprès * lib/uttk/strategies/Strategy.rb: Prohibit empty strategy name. 2005-06-11 Nicolas Desprès * test/runit/strategies/Strategy, * test/runit/strategies/Strategy/assert_eval_test.rb, * lib/uttk/strategies/Strategy, * lib/uttk/strategies/Strategy/assert_eval.rb: Remove. Become useless. * lib/uttk/strategies/Strategy.rb: Do not use AssertEval any more because it doesn't make Uttk more secure and overload it by a fork. Use a simple instance_eval instead. 2005-06-11 Nicolas Desprès * lib/uttk/strategies/Strategy.rb: Rename {pre,post}_assertion to check_{pre,post}_assertion in methods in order to avoid conflict with the {pre,post}_assertion guetter. 2005-06-11 Nicolas Desprès * lib/uttk/loaders/Loader.rb: Add forgotten comments for _end_ of classes. 2005-06-11 Nicolas Desprès * lib/uttk/strategies/Strategy.rb: Adapt Strategy#testify to the new prototype of the testify method. 2005-06-11 Nicolas Desprès * lib/uttk/loaders/Loader.rb: Add a forgotten block call in Array#testify. 2005-06-10 Nicolas Desprès * template/new_strategy.rb: Typo. 2005-06-10 Nicolas Desprès * test/uttk-minimal/import.yml: Use TempPath since TempFile is deprecated. * lib/uttk/loaders/Yaml.rb: Provides the current SymTbl in order to have more contextual information at loading time. * lib/uttk/loaders/Loader.rb: Use the SymTbl instead of a hash of options at testification time. Add Array#testify. Add Object#uttk_testify to provide a default context. * lib/uttk/strategies/Composite.rb: Return the current symtbl as testification options. * lib/uttk/strategies/Collection.rb: Add the strategy class (from attributes) to the testification options. * lib/uttk.rb: Test for a link to the ruby_ex directory to use ruby_ex development version instead of the packaging version. Add Uttk#default_symtbl and Uttk#default_log_factory which return a default environment. * bin/uttk: Adapt to the new service provided by Object#uttk_testify. * bin/getopts/uttk.rb: Adapt to the new service provided by Uttk#default_symtbl. * template/new_loader.rb: Adapt to the new prototype of Loader#load. 2005-06-09 Yannick Lacaute * bin/uttk: Use the Uttk_DEBUG environment variable to check if the backtrace must be printed for an exception which happens before the logger is created. 2005-06-09 Cedric Lechevrel * misc/template.rb: Use the Gem way to require the 'ask' package. 2005-06-09 Cedric Lechevrel * bin/getopts/uttk.rb: Require needed files for the classes hierarchy pretty-print. 2005-06-08 Nicolas Desprès * misc/template.rb: Add a confirmation question to overwrite the destination file. 2005-06-06 Nicolas Pouillard * .: Remove ruby_ex svn:externals. 2005-06-06 Nicolas Pouillard * SPEC.dyn.yml: Build Release 0.2.1. * VERSION: s/BABY/infant/. * SPEC.yml: No more require core_ex directly. * NEWS: Add a 0.2 section. 2005-06-06 Nicolas Pouillard * SPEC.dyn.yml: Minor Release 0.2. 2005-06-05 Nicolas Pouillard * Rakefile: Use core_ex by gems. * SPEC.yml: Update. * misc/uttk-line-count.rb: Update to test_section. * bin/uttk: Fix core_ex_dir to core_ex in symtbl. 2005-06-05 Nicolas Pouillard * test/uttk-check.yml: New. * test/uttk-distcheck.yml: New. * test/uttk-dist-suite.yml: Rename to ... * test/dist-suite.yml: ... this. * test/uttk-pkg-suite.yml: Rename to ... * test/pkg-suite.yml: ... this. * test/pool-suite.yml: New. * test/uttk-minimal/pool.yml: Rename to ... * test/pool-tests/pool.yml: ... this. * test/uttk-minimal-suite.yml: Rename to ... * test/minimal-suite.yml: ... this, and adapt. * test/uttk-minimal/sub.yml: Add a test. * test/uttk-minimal/runit.yml, * test/ressources/runit/bad.rb, * test/ressources/runit/good.rb: Adapt. * test/uttk-check: Remove. 2005-06-05 Nicolas Pouillard * test/runit/logger/verbosity_test.rb, * test/runit/logger/section_node_test.rb, * test/runit/logger/severity_test.rb, test/runit/dumpers/xml_test.rb, * test/runit/dumpers/yaml_test.rb, test/runit/logger_test.rb, * test/runit/fetchers/fetchers_test.rb, * test/runit/strategies/Strategy/assert_eval_test.rb, * test/runit/strategies/suite_test.rb: Use a test_section. * test/test-unit-setup.rb: New. * test/uttk-minimal/unit_test.yml: Rename to ... * test/unit-suite.yml: ... this, and adapt. 2005-06-05 Nicolas Pouillard * lib/uttk/strategies/RUnit.rb: Add an option to make the core_ex require optional. 2005-06-05 Nicolas Pouillard * lib/uttk/strategies/SubCmd.rb: Use send not apply. 2005-06-05 Nicolas Pouillard * lib/uttk/fetchers/server/sender.rb, * lib/uttk/fetchers/client/receiver.rb: No more require dtime since it is in core_ex. 2005-06-03 Nicolas Pouillard * lib/uttk/strategies/SubCmd.rb: Use the new D::Notif output stream. * lib/uttk/strategies/CmdBase.rb: Declare a father hook. * lib/uttk/strategies/RUnit.rb: Add an `args' attribute, and update the command option generation. 2005-06-03 Nicolas Pouillard * lib/uttk.rb: Update requires. 2005-06-03 Nicolas Pouillard * lib/uttk/dumpers/Notif.rb: Output is now a Yaml stream. 2005-06-03 Nicolas Pouillard * lib/uttk/strategies/Streams/Stream.rb: Move the common part ... * lib/uttk/strategies/Streams.rb: ... here. * lib/uttk/strategies/IOBased.rb: Remove the autoload. 2005-06-03 Nicolas Pouillard * lib/uttk/symtbl.rb: Returns nil if nothing is done. 2005-06-03 Nicolas Pouillard * bin/uttk: Clean up `requires', add a section tree for basicObserver, export the Uttk path and the core_ex in the symtbl, and exit(2) when the status is not pass. 2005-06-03 Nicolas Pouillard * bin/getopts/uttk.rb: Remove the -D option. 2005-06-03 Nicolas Pouillard * lib/uttk/dumpers/Dumper.rb: Add #flush, which flush the @io if @io is flushable, and not closed. * lib/uttk/dumpers/Yaml.rb: Flush at the end of update. 2005-06-03 Nicolas Pouillard * lib/uttk/logger.rb: Skip format_log_message when the block returns nil. * lib/uttk/logger_factory.rb: Make section_tree available, and clean create_section_tree. * test/runit/logger_test.rb: Refactor and update. * lib/uttk/strategies/Strategy.rb: Use the logger instead of STDERR. 2005-05-25 Nicolas Desprès * template/new_loader.rb: New. Add a new template for loader. 2005-05-24 Nicolas Pouillard * test/runit/strategies/suite_test.rb: Load yaml strings before the comparison to avoid ordering problems. 2005-05-23 Nicolas Pouillard * SPEC.dyn.yml: New. Represent the last release dynamic specification. * SPEC.yml: Remove the version. * bin/uttk: Update. 2005-05-23 Nicolas Pouillard * test/uttk-pkg/cmdline.yml: Add a test for unknown options. * Rakefile: Use ruby_ex/rakefile_base.rb. * misc/rakefile_ext.rb: Remove. * DESCRIPTION: Move to ... * SPEC.yml: New. ... here, and describe the package. * GUIDELINES: Update release rules. * bin/uttk: Update to the new meta-data architecture. * bin/getopts/uttk.rb: Fix the --filter-seq option. 2005-05-23 Nicolas Pouillard * lib/uttk/dumpers/Yaml.rb: Fix the doc, and remove tags which are declared in ruby_ex/yaml_ex. * lib/uttk/logger/to_uttk_log.rb: Fix the doc. * lib/uttk/loaders/Yaml.rb: Move a module to bypass a rdoc bug. * lib/uttk/strategies/RemoteCmd.rb: Include its HostDispatcher. * lib/uttk/strategies/PackageCollection.rb: Add a documentation. * lib/uttk.rb: Add enumerable_ex, and yaml_ex. 2005-05-23 Nicolas Pouillard * lib/uttk/Tools/HostDispatcher.rb, lib/uttk/Tools/io/dispatch.rb, * lib/uttk/Tools/io/ext.rb, lib/uttk/Tools/io/delegator.rb, * lib/uttk/Tools/io/filters.rb, lib/uttk/Tools/SafeEval.rb, * lib/uttk/Tools/cut_output.rb: Remove some useless tools. 2005-04-30 Nicolas Pouillard * TODO.old: Flush some done tasks. * AUTHORS: Use Yaml format. * VERSION: Update to new constants. 2005-04-30 Nicolas Pouillard * lib/uttk/dumpers/Basic.rb: New. * lib/uttk/filters/BasicLogger.rb: Remove. * bin/uttk: Update. 2005-04-30 Nicolas Pouillard * test/uttk-pkg: New. Will contain tests about the Uttk package, and the uttk command. * test/uttk-pkg/cmdline.yml: New. Check --version and --help. * test/uttk-pkg-suite.yml: New. 2005-04-30 Nicolas Pouillard * lib/uttk/strategies/Authors.rb: Fix the regexp. * lib/uttk/strategies/Composite.rb: Update to the new testify. * lib/uttk/strategies/Streams/Stream.rb: No more use ME. * lib/uttk/strategies/Collection.rb: Update testify, and log. * lib/uttk/strategies/Checkout.rb: Set :checkout_dir like :extract_dir. * lib/uttk/strategies/CmdBase.rb, lib/uttk/strategies/IOBased.rb: Use @input.my instead of @input.ref. * lib/uttk.rb: Require `string_ex'. * bin/uttk: Update to META.yml, and improve execption handling. * bin/getopts/uttk.rb: Update. 2005-04-30 Nicolas Pouillard * lib/uttk/strategies/Suite.rb: Move and adapt the test suite to ... * test/runit/strategies/suite_test.rb: ... here. 2005-04-30 Nicolas Pouillard * Rakefile: Hudge cleanup and many improvements. * misc/rakefile_ext.rb: New. Contains some extensions for rake. 2005-04-30 Nicolas Pouillard * lib/uttk/logger.rb: Remove the `log_' prefix for sugars, and use the severity name instead of `log_0'. * lib/uttk/logger/to_uttk_log.rb: Use tiny_pp in INFO. * lib/uttk/logger/severity.rb: Add VERBOSE_INFO, and clean severities initialization. * lib/uttk/strategies/RUnit.rb, * lib/uttk/strategies/Strategy.rb: Update logger usage. * test/runit/logger/severity_test.rb, * test/runit/logger_test.rb: Update tests. 2005-04-30 Nicolas Pouillard * lib/uttk/loaders/Loader.rb: Testify now take an hash for options, instead of just an optional Loader, remove Loader#load, and rename Loader#load_doc to Loader#load. * lib/uttk/loaders/Yaml.rb: Update `load_doc', to `load'. * test/runit/loaders/OYaml_test.rb: Remove. * lib/uttk/loaders/YamlOld.rb: Remove. * lib/uttk/loaders/OYaml.rb: Remove. 2005-04-26 Nicolas Pouillard * template/new_runit_test.rb: New. Use it to make new unit tests. * template/new_dumper.rb: Check the dumper name. * template/new_strategy.rb: Check the strategy name. 2005-04-14 Nicolas Pouillard * Rakefile: Update to gen the tar packages properly. 2005-04-14 Nicolas Pouillard * test/runit/dumpers/xml_test.rb: Fix the close. * lib/uttk/dumpers/Yaml.rb: Fix Regexp#to_yaml. * lib/uttk/dumpers/Dumper.rb: Update comments about close. * lib/uttk/logger.rb: Undo last changes about close. * lib/uttk/strategies/SubCmd.rb: Revert the last patch. * bin/getopts/uttk.rb, bin/uttk: Improve the --version option. 2005-04-14 Nicolas Desprès * Rakefile: Put important files at the end to avoid RDoc to delete the doc. Doesn't work yet for the Uttk::Loaders documentation. 2005-04-14 Nicolas Desprès * test/runit/dumpers/xml_test.rb: Fix a test. Use a temporary file instead of a StringIO. * test/examples/students/pool_stud.yml: Comment the pre_assertion hack. * lib/uttk/logger/to_uttk_log.rb: Pretty print the backtrace only in debug mode. * lib/uttk/dumpers/Dumper.rb: Typo. Do not close the stream (for the release only !). * lib/uttk/loaders/Loader.rb: Typo. * lib/uttk/strategies/SubCmd.rb: Reverse @status and doc. * lib/uttk/strategies/Strategy.rb: Add a FIXME. * lib/uttk/strategies/Checkout.rb: Typo. Then no more warning and no more bug in pool_stud.yml. * bin/uttk, bin/getopts/uttk.rb: --no-default-observer if you want to see nothing on stdout. 2005-04-14 Nicolas Pouillard * lib/uttk/dumpers/Dumper.rb, lib/uttk/loaders/Loader.rb: Typos. 2005-04-14 Nicolas Pouillard * lib/uttk/dumpers/Dumper.rb: Document the Dumpers module and the Dumpers::Dumper abstract class. * lib/uttk/loaders/Loader.rb: Document the Loaders module. 2005-04-13 Nicolas Pouillard * test/uttk-minimal/author.yml: Use Checkout instead of Extract. * lib/uttk/strategies/Collection.rb: Update to the new option of assign_one. * lib/uttk/strategies/SignalCmd.rb: Typo, and move @@signal_names initialization. * lib/uttk/strategies/Checkout.rb: Move the url conversion. * lib/uttk/strategies/IOBased.rb: Make make_streams protected. * bin/uttk, lib/uttk/strategies/Strategy.rb: Improve the @log transmission. * bin/getopts/uttk.rb: Use INFO as the default severity level. * test/uttk-minimal/signal_cmd.yml: Update layout. 2005-04-13 Nicolas Desprès * lib/uttk/dumpers/Notif.rb, lib/uttk/dumpers/Xml.rb: Call super close to ensure to close the stream. * lib/uttk/dumpers/Yaml.rb: Flush the stream if it's not closed. * lib/uttk/dumpers/TracesXml.rb: Remove. Deprecated and not used. * lib/uttk/dumpers/Dumper.rb: Every dumper close the stream if it is not already closed. * lib/uttk/logger.rb: Add a closed? method. Send the close notification only once. * bin/uttk: No longer add the log file to the observers list, because this done in the getopts. * bin/getopts/uttk.rb: Add the the dumper on the log file to the observer list. * template/new_dumper.rb: Do something before the super close. 2005-04-13 Nicolas Desprès * bin/uttk: Assign symbols from the command line to the root test suite. * bin/getopts/uttk.rb: Add -S option to add symbols to the root test suite from the command line. 2005-04-13 Nicolas Desprès * Rakefile: Full documentation generation. Package depends on revision and date. * bin/getopts/uttk.rb: --version doesn't crash if REVISION and DATE not available. 2005-04-13 Nicolas Desprès * Rakefile: Add rules to generate REVISION and DATE. * vcs/uttk.rb: Do not touch any more REVISION and DATE. * REVISION, DATE: Remove because it doesn't work with vcs. 2005-04-13 Nicolas Desprès * test/runit/logger/verbosity_test.rb, * test/runit/logger/section_node_test.rb, * test/runit/logger/severity_test.rb, test/runit/dumpers/xml_test.rb, * test/runit/dumpers/yaml_test.rb, test/runit/logger_test.rb, * test/runit/fetchers/fetchers_test.rb, * test/runit/loaders/OYaml_test.rb, * test/runit/strategies/Strategy/assert_eval_test.rb, * test/uttk-dist/dist-dispatch.yml, test/uttk-dist/local-fetch.yml, * test/uttk-dist/tester.yml, test/uttk-dist/cat/file.in, * test/uttk-dist/cat/file.out, test/uttk-dist/dist-nested-pass.yml, * test/uttk-dist/dist-pass.yml, test/uttk-dist/dist-cat.yml, * test/uttk-dist/dist-abort.yml, test/uttk-dist/dist-error.yml, * test/uttk-dist/dist-suite.yml, test/uttk-dist/dist-delegate.yml, * test/uttk-dist/dist-ribute.yml, test/uttk-dist/dist-fail.yml, * test/examples-suite.yml, test/uttk-minimal/test.yml, * test/uttk-minimal/pkg.yml, test/uttk-minimal/glob.yml, * test/uttk-minimal/killall.yml, test/uttk-minimal/timeout.yml, * test/uttk-minimal/fatal.yml, test/uttk-minimal/sub.yml, * test/uttk-minimal/block.yml, * test/uttk-minimal/probability_threshold.yml, * test/uttk-minimal/signal_cmd.yml, test/uttk-minimal/runit.yml, * test/uttk-minimal/author.yml, test/uttk-minimal/cat.yml, * test/uttk-minimal/diff.yml, test/uttk-minimal/exit.yml, * test/uttk-minimal/pool.yml, test/uttk-minimal/wc.yml, * test/uttk-minimal/base.yml, test/uttk-minimal/import.yml, * test/uttk-minimal/env_cmd.yml, test/uttk-minimal/unit_test.yml, * test/all/suite_timeout.yml, test/all/remote_dispatcher.yml, * test/all/no_suite.yml, test/all/TestTAssert/first.yml, * test/all/TestTAssert/segfault.yml, * test/all/dist-suite-nested-in-pool.yml, * test/all/xunit/junit/multibar.yml, * test/all/xunit/junit/simple_exception.yml, * test/all/xunit/junit/multiright.yml, * test/all/xunit/junit/SimpleException/build.sh, * test/all/xunit/junit/SimpleException/SimpleExceptionTest.java, * test/all/xunit/junit/MultiRight/Foo/FooTest.java, * test/all/xunit/junit/MultiRight/Foo/Foo.java, * test/all/xunit/junit/MultiRight/bar/BarTest.java, * test/all/xunit/junit/MultiRight/bar/Bar.java, * test/all/xunit/junit/MultiRight/MultiRight.java, * test/all/xunit/junit/MultiRight/MultiRightTest.java, * test/all/xunit/junit/MultiRight/build.sh, * test/all/xunit/junit/build.sh, test/all/xunit/junit/multifoo.yml, * test/all/weight.yml, test/all/pipeline-timeout.yml, * test/all/dist-suite-indirect-nested.yml, * test/all/dist-suite-nested.yml, test/all/dist-suite-nested-3.yml, * test/all/remote_cmd.yml, test/uttk-dist-suite.yml, * test/ressources/mini-lib/strlen.c, test/ressources/mini-lib/Makefile, * test/ressources/runit/bad.rb, test/ressources/runit/good.rb, * test/ressources/runit/error.rb, test/ressources/text/1.txt, * test/ressources/ball/jack-exit/exit.c, * test/ressources/ball/jack-exit/Makefile, * test/ressources/ball/bar_p-mini-lib/my_strlen.c, * test/ressources/ball/bar_p-mini-lib/Makefile, * test/ressources/ball/joe_i-mini-lib/configure, * test/ressources/ball/joe_i-mini-lib/my_strlen.c, * test/ressources/ball/joe_i-mini-lib/Makefile, * test/ressources/ball/foo_s-mini-lib.tar.bz2, * test/ressources/ball/hello.tar.bz2, * test/ressources/ball/joe-exit/exit.c, * test/ressources/ball/joe-exit/Makefile, * test/ressources/ball/qux_j-mini-lib/Makefile, * test/ressources/ball/qux_j-mini-lib/my_strlen.c, * test/ressources/ball/20040804-exam_a1-zapngo-tessar_m.tar.gz, * test/ressources/ball/john-exit.tar.bz2, * test/ressources/ball/jack-exit.tar.bz2, * test/ressources/ball/bar_p-mini-lib.tar.bz2, * test/ressources/ball/foo_s-mini-lib/configure, * test/ressources/ball/foo_s-mini-lib/my_strlen.c, * test/ressources/ball/foo_s-mini-lib/Makefile, * test/ressources/ball/hello/hello.c, * test/ressources/ball/hello/Makefile, * test/ressources/ball/joe_i-mini-lib.tar.bz2, * test/ressources/ball/john-exit/exit.c, * test/ressources/ball/john-exit/Makefile, * test/ressources/ball/joe-exit.tar.bz2, * test/ressources/ball/qux_j-mini-lib.tar.bz2, * test/ressources/ball/hello.tar.gz, * test/ressources/ball/Makefile, * test/ressources/package/pkg_foo/configure, * test/ressources/package/pkg_foo/foo.sh, * test/ressources/package/pkg_foo/bootstrap, * test/ressources/package/pkg_foo/Makefile, * test/ressources/package/pkg_foo.tar.gz, * test/uttk-check, test/uttk-minimal-suite.yml, * test/examples/sql/basic.yml, test/examples/students-suite.yml, * test/examples/cache/simple.yml, test/examples/students/stud.yml, * test/examples/students/mini-lib.yml, * test/examples/students/glob_stud.yml, * test/examples/students/pool_stud.yml, * test/examples/students/ball.yml, test/examples/README, TODO.old, * Rakefile, AUTHORS, VERSION, ChangeLog, vcs/uttk.rb, misc/expandtab.rb, * README, REVISION, lib/uttk/dumpers/Notif.rb, lib/uttk/dumpers/Xml.rb, * lib/uttk/dumpers/TracesXml.rb, lib/uttk/dumpers/Yaml.rb, * lib/uttk/dumpers/Dumper.rb, lib/uttk/logger/to_uttk_log.rb, * lib/uttk/logger/verbosity.rb, lib/uttk/logger/section_node.rb, * lib/uttk/logger/severity.rb, lib/uttk/logger/path.rb, * lib/uttk/logger.rb, lib/uttk/services/MonitorServer.rb, * lib/uttk/services/FetcherClient.rb, lib/uttk/services/TesterSlave.rb, * lib/uttk/services/TesterMaster.rb, lib/uttk/services/TesterClient.rb, * lib/uttk/services/MonitorClient.rb, * lib/uttk/services/DRbService/sub_testable.rb, * lib/uttk/services/FetcherServer.rb, lib/uttk/services/DRbService.rb, * lib/uttk/status.rb, lib/uttk/daemons/daemon/logger.rb, * lib/uttk/daemons/Daemon.rb, lib/uttk/daemons/Slave.rb, * lib/uttk/daemons/Master.rb, lib/uttk/testers/tester/remote_status.rb, * lib/uttk/testers/tester/notifier.rb, * lib/uttk/testers/tester/running_task.rb, * lib/uttk/testers/tester/config.rb, * lib/uttk/testers/tester/query_node.rb, * lib/uttk/testers/tester/score.rb, lib/uttk/testers/Tester.rb, * lib/uttk/testers/Slave.rb, lib/uttk/testers/Master.rb, * lib/uttk/loaders/YamlOld.rb, lib/uttk/loaders/OYaml.rb, * lib/uttk/loaders/Yaml.rb, lib/uttk/loaders/Loader.rb, * lib/uttk/Tools/HostDispatcher.rb, lib/uttk/Tools/io/dispatch.rb, * lib/uttk/Tools/io/ext.rb, lib/uttk/Tools/io/delegator.rb, * lib/uttk/Tools/io/filters.rb, lib/uttk/Tools/SafeEval.rb, * lib/uttk/Tools/cut_output.rb, lib/uttk/fetchers/Client.rb, * lib/uttk/fetchers/server/sender.rb, lib/uttk/fetchers/Server.rb, * lib/uttk/fetchers/client/receiver.rb, lib/uttk/logger_factory.rb, * lib/uttk/filters/Saver.rb, lib/uttk/filters/BasicLogger.rb, * lib/uttk/filters/Filter.rb, lib/uttk/weights/WExpr.rb, * lib/uttk/weights/Weight.rb, lib/uttk/weights/WMin.rb, * lib/uttk/weights/WFloat.rb, lib/uttk/strategies/Make.rb, * lib/uttk/strategies/Bootstrap.rb, lib/uttk/strategies/SubCmd.rb, * lib/uttk/strategies/RemoteCmd.rb, lib/uttk/strategies/Test.rb, * lib/uttk/strategies/Fetcher.rb, lib/uttk/strategies/Glob.rb, * lib/uttk/strategies/Authors.rb, lib/uttk/strategies/SqlQuery.rb, * lib/uttk/strategies/Compile.rb, lib/uttk/strategies/Package.rb, * lib/uttk/strategies/DistDelegate.rb, * lib/uttk/strategies/Strategy/assert_eval.rb, * lib/uttk/strategies/Composite.rb, lib/uttk/strategies/Tester.rb, * lib/uttk/strategies/Pass.rb, lib/uttk/strategies/Extract.rb, * lib/uttk/strategies/Ball.rb, lib/uttk/strategies/Fail.rb, * lib/uttk/strategies/Streams/Diff.rb, * lib/uttk/strategies/Streams/Stream.rb, * lib/uttk/strategies/Stub.rb, lib/uttk/strategies/Distribute.rb, * lib/uttk/strategies/Configure.rb, lib/uttk/strategies/Proxy.rb, * lib/uttk/strategies/Clean.rb, lib/uttk/strategies/KillAll.rb, * lib/uttk/strategies/DistStrategy.rb, lib/uttk/strategies/Suite.rb, * lib/uttk/strategies/JUnit.rb, lib/uttk/strategies/Error.rb, * lib/uttk/strategies/Fetch.rb, lib/uttk/strategies/Block.rb, * lib/uttk/strategies/Collection.rb, * lib/uttk/strategies/ProbabilityThreshold.rb, * lib/uttk/strategies/CmdBase.rb, lib/uttk/strategies/DistDuplicate.rb, * lib/uttk/strategies/RUnit.rb, lib/uttk/strategies/SignalCmd.rb, * lib/uttk/strategies/Strategy.rb, lib/uttk/strategies/Cmd.rb, * lib/uttk/strategies/Checkout.rb, lib/uttk/strategies/IOBased.rb, * lib/uttk/strategies/Abort.rb, * lib/uttk/strategies/PackageCollection.rb, * lib/uttk/strategies/Sleep.rb, lib/uttk/strategies/Pool.rb, * lib/uttk/strategies/Import.rb, lib/uttk/monitors/Client.rb, * lib/uttk/monitors/Server.rb, lib/uttk/monitors/Monitor.rb, * lib/uttk/symtbl.rb, lib/uttk.rb, lib/uttkd.rb, COPYING, bin/uttkm, * bin/uttk, bin/getopts/uttkm.rb, bin/getopts/uttk.rb, * bin/getopts/uttkd.rb, bin/uttkd, NORM: change property: remove svn:keyword LastChangedBy. 2005-04-13 Nicolas Desprès * test/examples/README: Forgotten word. * VERSION: This is now a template ERB. * GUIDELINES, README, lib/uttk/strategies/RemoteCmd.rb, * lib/uttk/strategies/JUnit.rb, lib/uttk/strategies/RUnit.rb, NEWS: Typo. * bin/getopts/uttk.rb: Print the version message based on the VERSION template and the REVISION and the DATE files. Add bug report instructions at the bottom of the help message. 2005-04-13 Nicolas Pouillard * test/test: Remove. 2005-04-13 Nicolas Pouillard * test/uttk/Test/TestTFail.yml: Remove. * test/uttk/Test/TestTTest.yml: Remove. * test/uttk/Test/TestTRUnit.yml: Remove. * test/uttk/Test/TestTAssert.yml: Remove. * test/uttk/Test/TestTRUnit: Remove. * test/uttk/Test/TestTRUnit/simple.rb: Remove. * test/uttk/Test/TestTCmd.yml: Remove. * test/uttk/Test/TestTPass.yml: Remove. * test/uttk/Test/TestTSuite.yml: Remove. * test/uttk/Test/TestTBall: Remove. * test/uttk/Test/TestTBall/hello.tar.gz: Remove. * test/uttk/Test/TestTBall.yml: Remove. * test/uttk/Tools/SafeEvalTest.rb: Remove. * test/uttk/Tools/testsuite.yml: Remove. * test/uttk/Tools/ArrayDiffTest.rb: Remove. * test/uttk/Tools/HashDiffTest.rb: Remove. * test/all/ref/out/stud.yml: Remove. * test/all/ref/out/glob_stud.yml: Remove. * test/all/ref/out/glob.yml: Remove. * test/all/ref/out/no_suite.yml: Remove. * test/all/ref/out/timeout.yml: Remove. * test/all/ref/out/fatal.yml: Remove. * test/all/ref/out/pipeline-timeout.yml: Remove. * test/all/ref/out/sub.yml: Remove. * test/all/ref/out/block.yml: Remove. * test/all/ref/out/suite_timeout.yml: Remove. * test/all/ref/out/mini-lib.yml: Remove. * test/all/ref/out/remote_dispatcher.yml: Remove. * test/all/ref/out/author.yml: Remove. * test/all/ref/out/pool_stud.yml: Remove. * test/all/ref/out/exit.yml: Remove. * test/all/ref/out/pool.yml: Remove. * test/all/ref/out/wc.yml: Remove. * test/all/ref/out/ball.yml: Remove. * test/all/ref/out/env_cmd.yml: Remove. * test/all/ref/out/remote_cmd.yml: Remove. * test/all/ref/err/stud.yml: Remove. * test/all/ref/err/glob_stud.yml: Remove. * test/all/ref/err/glob.yml: Remove. * test/all/ref/err/no_suite.yml: Remove. * test/all/ref/err/timeout.yml: Remove. * test/all/ref/err/fatal.yml: Remove. * test/all/ref/err/sub.yml: Remove. * test/all/ref/err/pipeline-timeout.yml: Remove. * test/all/ref/err/block.yml: Remove. * test/all/ref/err/suite_timeout.yml: Remove. * test/all/ref/err/mini-lib.yml: Remove. * test/all/ref/err/remote_dispatcher.yml: Remove. * test/all/ref/err/author.yml: Remove. * test/all/ref/err/pool_stud.yml: Remove. * test/all/ref/err/exit.yml: Remove. * test/all/ref/err/pool.yml: Remove. * test/all/ref/err/wc.yml: Remove. * test/all/ref/err/ball.yml: Remove. * test/all/ref/err/env_cmd.yml: Remove. * test/all/ref/err/remote_cmd.yml: Remove. * test/all.yml: Remove. 2005-04-12 Nicolas Pouillard This strategy was written by Vincent Cuissard. * lib/uttk/strategies/SignalCmd.rb: New. * test/uttk-minimal/signal_cmd.yml: New. * NEWS: Add to command based strategies. 2005-04-12 Nicolas Pouillard * lib/uttk/strategies/Strategy.rb: Use fail instead of skip when a post_assertion fails. 2005-04-12 Nicolas Pouillard * lib/uttk/filters/Saver.rb: Fix the freshliy added new case. * lib/uttk/logger/to_uttk_log.rb: Remove Array#to_uttk_log which doesn't make sense, fix and factorize OHash#to_uttk_log, and Hash#to_uttk_log. * test/runit/logger_test.rb: Add a test, and fix an output ref. * lib/uttk/strategies/Strategy.rb: Add a real support for {pre,post}_assertion. * test/uttk-minimal/base.yml: Add 8 tests for pre and post assertions. * test/examples/students/pool_stud.yml: Make it skips, and add a FIXME. 2005-04-12 Nicolas Desprès * lib/uttk/strategies/RemoteCmd.rb, lib/uttk/strategies/Extract.rb, * lib/uttk/strategies/Ball.rb, lib/uttk/strategies/JUnit.rb: . * lib/uttk.rb, test/examples/README: Documentation. * Rakefile: Do not use vcs any more. * AUTHORS: Delete some trailing blank line. * vcs/uttk.rb: Touch REVISION and DATE. * README: Some fixes. * NEWS: New. * DATE: New. The date of the last update in the svn repository. * REVISION: New. The revision number of the svn repository. 2005-04-12 Nicolas Desprès * GUIDELINES: New. 2005-04-12 Nicolas Desprès * test/examples/README: Explains all Uttk's examples. * Rakefile: Add test/examples/README to the doc and the strategy Glob. * README: Tyop. * lib/uttk/strategies/Glob.rb: A bit documented. * COPYING: Explain the legal notice for ruby_ex. 2005-04-12 Nicolas Pouillard * test/runit/logger/verbosity_test.rb, * test/runit/logger/section_node_test.rb, * test/runit/logger/severity_test.rb, * test/runit/logger_test.rb, * test/runit/fetchers/fetchers_test.rb, * test/runit/loaders/OYaml_test.rb, * test/runit/strategies/Strategy/assert_eval_test.rb, * test/uttk/Test/TestTRUnit/simple.rb, * test/uttk/Tools/SafeEvalTest.rb, * test/uttk/Tools/ArrayDiffTest.rb, * test/uttk/Tools/HashDiffTest.rb, * AUTHORS, * misc/uttk-line-count.rb, * lib/uttk/dumpers/TracesXml.rb, * lib/uttk/logger/verbosity.rb, * lib/uttk/logger/section_node.rb, * lib/uttk/logger/severity.rb, * lib/uttk/services/MonitorServer.rb, * lib/uttk/services/FetcherClient.rb, * lib/uttk/services/TesterSlave.rb, * lib/uttk/services/TesterMaster.rb, * lib/uttk/services/TesterClient.rb, * lib/uttk/services/MonitorClient.rb, * lib/uttk/services/DRbService/sub_testable.rb, * lib/uttk/services/FetcherServer.rb, * lib/uttk/services/DRbService.rb, * lib/uttk/daemons/daemon/logger.rb, * lib/uttk/daemons/Daemon.rb, * lib/uttk/daemons/Slave.rb, * lib/uttk/daemons/Master.rb, * lib/uttk/testers/tester/remote_status.rb, * lib/uttk/testers/tester/notifier.rb, * lib/uttk/testers/tester/running_task.rb, * lib/uttk/testers/tester/config.rb, * lib/uttk/testers/tester/query_node.rb, * lib/uttk/testers/tester/score.rb, * lib/uttk/testers/Tester.rb, * lib/uttk/testers/Slave.rb, * lib/uttk/testers/Master.rb, * lib/uttk/Tools/SafeEval.rb, * lib/uttk/fetchers/Client.rb, * lib/uttk/fetchers/server/sender.rb, * lib/uttk/fetchers/Server.rb, * lib/uttk/fetchers/client/receiver.rb, * lib/uttk/logger_factory.rb, * lib/uttk/strategies/Test.rb, * lib/uttk/strategies/Fetcher.rb, * lib/uttk/strategies/DistDelegate.rb, * lib/uttk/strategies/Strategy/assert_eval.rb, * lib/uttk/strategies/Tester.rb, * lib/uttk/strategies/Stub.rb, * lib/uttk/strategies/Distribute.rb, * lib/uttk/strategies/DistStrategy.rb, * lib/uttk/strategies/JUnit.rb, * lib/uttk/strategies/Fetch.rb, * lib/uttk/strategies/DistDuplicate.rb, * lib/uttk/strategies/RUnit.rb, * lib/uttk/strategies/Abort.rb, * lib/uttk/strategies/Sleep.rb, * lib/uttk/strategies/Pool.rb, * lib/uttk/monitors/Client.rb, * lib/uttk/monitors/Server.rb, * lib/uttk/monitors/Monitor.rb, * lib/uttkd.rb, * bin/uttkm, * bin/uttkd: Update emails in headers. 2005-04-12 Nicolas Pouillard * lib/uttk/strategies/Strategy.rb, bin/getopts/uttk.rb: Update headers. 2005-04-12 Nicolas Pouillard * test/runit: Changed property. * test/runit/dumpers/xml_test.rb: New. * test/runit/dumpers/yaml_test.rb: New. * test/runit/logger_test.rb: Update to new notification scheme. * test/uttk-minimal/base.yml: Test Cmd with an unexisting command. * lib/uttk/logger.rb: Improve new_node, and always dup the path before send it. * lib/uttk/logger/to_uttk_log.rb: Add Array#to_uttk_log, and remove useless tests. * lib/uttk/dumpers/Dumper.rb: Make a real abstraction. * lib/uttk/dumpers/Xml.rb: Big clean up, add modifications in the Xml, output. * lib/uttk/dumpers/TracesXml.rb: Update. * lib/uttk/dumpers/Yaml.rb: Little clean up. * lib/uttk/filters/Saver.rb: Handle a missed case. * lib/uttk/strategies/Strategy.rb: Add a comment. * template: Changed property. * template/new_dumper.rb: New. 2005-04-12 Nicolas Pouillard * Rakefile: Add template/README. * misc/gendoc.rb: Remove. * misc/header: Remove. * misc/uttk-line-count.rb, misc/expandtab.rb, lib/uttk/dumpers/Notif.rb, * lib/uttk/dumpers/Xml.rb, lib/uttk/dumpers/TracesXml.rb, * lib/uttk/dumpers/Yaml.rb, lib/uttk/dumpers/Dumper.rb, * lib/uttk/logger/to_uttk_log.rb, lib/uttk/logger/verbosity.rb, * lib/uttk/logger/section_node.rb, lib/uttk/logger/severity.rb, * lib/uttk/services/MonitorServer.rb, lib/uttk/services/FetcherClient.rb, * lib/uttk/services/TesterSlave.rb, lib/uttk/services/TesterMaster.rb, * lib/uttk/services/TesterClient.rb, lib/uttk/services/MonitorClient.rb, * lib/uttk/services/FetcherServer.rb, lib/uttk/services/DRbService.rb, * lib/uttk/status.rb, lib/uttk/daemons/daemon/logger.rb, * lib/uttk/daemons/Daemon.rb, lib/uttk/daemons/Slave.rb, * lib/uttk/daemons/Master.rb, lib/uttk/loaders/YamlOld.rb, * lib/uttk/loaders/OYaml.rb, lib/uttk/loaders/Yaml.rb, * lib/uttk/loaders/Loader.rb, lib/uttk/testers/tester/remote_status.rb, * lib/uttk/testers/Tester.rb, lib/uttk/testers/Slave.rb, * lib/uttk/testers/Master.rb, lib/uttk/Tools/HostDispatcher.rb, * lib/uttk/Tools/io/dispatch.rb, lib/uttk/Tools/io/ext.rb, * lib/uttk/Tools/io/delegator.rb, lib/uttk/Tools/io/filters.rb, * lib/uttk/Tools/SafeEval.rb, lib/uttk/Tools/cut_output.rb, * lib/uttk/fetchers/Client.rb, lib/uttk/fetchers/server/sender.rb, * lib/uttk/fetchers/Server.rb, lib/uttk/fetchers/client/receiver.rb, * lib/uttk/logger_factory.rb, lib/uttk/filters/Saver.rb, * lib/uttk/filters/BasicLogger.rb, lib/uttk/filters/Filter.rb, * lib/uttk/weights/WExpr.rb, lib/uttk/weights/Weight.rb, * lib/uttk/weights/WMin.rb, lib/uttk/weights/WFloat.rb, * lib/uttk/monitors/Client.rb, lib/uttk/monitors/Server.rb, * lib/uttk/monitors/Monitor.rb, lib/uttk/strategies/Make.rb, * lib/uttk/strategies/Bootstrap.rb, lib/uttk/strategies/SubCmd.rb, * lib/uttk/strategies/RemoteCmd.rb, lib/uttk/strategies/Test.rb, * lib/uttk/strategies/Fetcher.rb, lib/uttk/strategies/Glob.rb, * lib/uttk/strategies/Authors.rb, lib/uttk/strategies/SqlQuery.rb, * lib/uttk/strategies/Compile.rb, lib/uttk/strategies/Package.rb, * lib/uttk/strategies/Composite.rb, lib/uttk/strategies/Pass.rb, * lib/uttk/strategies/Tester.rb, lib/uttk/strategies/Extract.rb, * lib/uttk/strategies/Ball.rb, lib/uttk/strategies/Fail.rb, * lib/uttk/strategies/Streams/Stream.rb, lib/uttk/strategies/Stub.rb, * lib/uttk/strategies/Distribute.rb, lib/uttk/strategies/Proxy.rb, * lib/uttk/strategies/Configure.rb, lib/uttk/strategies/Clean.rb, * lib/uttk/strategies/KillAll.rb, lib/uttk/strategies/DistStrategy.rb, * lib/uttk/strategies/Suite.rb, lib/uttk/strategies/JUnit.rb, * lib/uttk/strategies/Error.rb, lib/uttk/strategies/Fetch.rb, * lib/uttk/strategies/Block.rb, lib/uttk/strategies/Collection.rb, * lib/uttk/strategies/ProbabilityThreshold.rb, * lib/uttk/strategies/CmdBase.rb, lib/uttk/strategies/DistDuplicate.rb, * lib/uttk/strategies/RUnit.rb, lib/uttk/strategies/Strategy.rb, * lib/uttk/strategies/Cmd.rb, lib/uttk/strategies/Checkout.rb, * lib/uttk/strategies/IOBased.rb, lib/uttk/strategies/Abort.rb, * lib/uttk/strategies/PackageCollection.rb, lib/uttk/strategies/Sleep.rb, * lib/uttk/strategies/Pool.rb, lib/uttk/strategies/Import.rb, * lib/uttk/symtbl.rb, lib/uttk.rb, lib/uttkd.rb, bin/uttkm, * bin/uttk, bin/getopts/uttkm.rb, bin/getopts/uttk.rb, * lib/uttk/strategies/Streams/Diff.rb, * lib/uttk/strategies/DistDelegate.rb, * lib/uttk/services/DRbService/sub_testable.rb, * lib/uttk/logger/path.rb, lib/uttk/logger.rb, * lib/uttk/testers/tester/notifier.rb, * lib/uttk/testers/tester/running_task.rb, * lib/uttk/testers/tester/config.rb, * lib/uttk/testers/tester/query_node.rb, * lib/uttk/testers/tester/score.rb, * lib/uttk/strategies/Strategy/assert_eval.rb, * bin/getopts/uttkd.rb, bin/uttkd: Update headers. 2005-04-12 Nicolas Pouillard * template/README: New. * misc/template.rb: New. A little script which run ERB. * template/new_strategy.rb: Update to new template system. * template/new_header.rb: New template. * README: Add a link to template/README. 2005-04-12 Nicolas Pouillard * misc/header.rb: New. Allow to regenerate headers. 2005-04-12 Nicolas Pouillard * lib/uttk/strategies/Strategy.rb: Use :pathname instead of :path which is already used in Package. 2005-04-12 Nicolas Pouillard * test/examples/students/stud.yml, * test/examples/students/mini-lib.yml, * test/examples/students/glob_stud.yml, * test/examples/students/pool_stud.yml, * test/examples/students/ball.yml: Use Package instead of Ball, and update. 2005-04-12 Nicolas Desprès * test/examples/README: New. Add the `Introduction' part of this file. 2005-04-12 Nicolas Pouillard * test/runit/strategies/Strategy/assert_eval_test.rb: Use TempPath#clean. 2005-04-12 Nicolas Desprès * lib/uttk/strategies/RUnit.rb: Give a real example of a set of unit test file embedded in a Uttk test suite automatticaly. 2005-04-12 Nicolas Desprès * README: Fix english grammar mistakes. Specially forgotten 's' for plural form. 2005-04-12 Nicolas Pouillard * lib/uttk/strategies/CmdBase.rb: Make it ruby 1.8.1 compliant. 2005-04-11 Nicolas Pouillard * test/runit/strategies/Strategy/assert_eval_test.rb: Clean up, and comment some tests which doesn't work with ruby 1.9. 2005-04-11 Nicolas Desprès * README: Fix Rakefile description. 2005-04-11 Nicolas Desprès * README: Remove bold markup in for the Repository tree description because it doesn't work properly with a label with a slash inside. Remove [lib/uttk] description. Add [doc/html] description 2005-04-11 Nicolas Desprès * Rakefile: Upgrade the doc target. * README: Typo. * lib/uttk/status.rb: Do not convert the object to a string this the logger manage every object type properly. * lib/uttk/strategies/RUnit.rb: Documentation. * lib/uttk/strategies/Strategy.rb: Remove format_exception_message since the logger do that. * bin/getopts/uttk.rb: Check the type of the -v option argument. 2005-04-11 Nicolas Pouillard * COPYING: Change the layout. 2005-04-11 Nicolas Pouillard * lib/uttk/strategies/CmdBase.rb: Handle exceptions raised by exec. 2005-04-11 Nicolas Desprès * bin/getopts/uttk.rb: Add the --gen-strategies-hierarchy option. 2005-04-11 Nicolas Desprès * lib/uttk/testers/Slave.rb, lib/uttk/testers/Master.rb: No longer assign the sub_testers key in the symtbl since it is available as a public method. * lib/uttk/testers/Master.rb: Make sub_testers a public method. * lib/uttk/strategies/DistDelegate.rb: No longer get the sub_testers in the symtbl, but get them from the tester. 2005-04-11 Nicolas Desprès * misc/gendoc.rb: Add more files and change the main files. Put some temporary comments to avoid a 10 minutes long documentation generation. * README: Use RDoc markup. Add more section. * lib/uttk/dumpers/Dumper.rb, lib/uttk/loaders/Loader.rb, * lib/uttk/filters/Filter.rb, lib/uttk/strategies/RUnit.rb, * lib/uttk/strategies/Strategy.rb, lib/uttk/strategies/Cmd.rb, * lib/uttk/weights/Weight.rb, lib/uttk.rb: Add FIXME for the documentation. 2005-04-11 Nicolas Desprès * bin/getopts/uttk.rb: Fix a bug with -d options. Now you can use it without argument to see the list of the logger severity level. 2005-04-11 Nicolas Desprès * TODO: Use the RDoc markup style instead of the emacs outline one to include it in the Uttk's documentation. 2005-04-11 Nicolas Desprès * COPYRIGHT: Rename to ... * COPYING: ... that, and upgraded. * LGPL: New. Describe the terms of the LGPL license. 2005-04-11 Nicolas Desprès * VERSION: Add copyright informations and change the release name. 2005-04-11 Nicolas Desprès * AUTHORS: Full detailed description. 2005-04-09 Nicolas Desprès * bin/getopts/uttk.rb: Refactorize hierachy pretty printer. 2005-04-09 Nicolas Desprès * lib/uttk/strategies/Fetcher.rb, lib/uttk/strategies/Fetch.rb: Requires 'uttkd' since this strategy may be used outside a Tester strategy. 2005-04-09 Nicolas Desprès * test/uttk-dist/dist-abort.yml: New. Test the abort feature for remote strategies. * test/uttk-dist-suite.yml: Include the dist-abort.yml test suite. * lib/uttk/services/DRbService/sub_testable.rb: , changed property. * lib/uttk/testers/tester/running_task.rb: New. Keep track of the running tests on a tester. * lib/uttk/testers/Tester.rb: Use RunningTask and provides an `abort' request. * lib/uttk/strategies/DistStrategy.rb: Handle `abort_hook' to abort the remote running test. 2005-04-09 Nicolas Desprès * lib/uttk/logger_factory.rb: New. Handle uttk's logger property and allow to create new logger. 2005-04-09 Nicolas Desprès * lib/uttk/services/DRbService: New. Contains classes and modules declared in Uttk::Services::DRbService namespace. * lib/uttk/services/DRbService/sub_testable.rb: New. Factorizes the `sub_testers' code management. * lib/uttk/services/TesterMaster.rb: Includes SubTestable. * lib/uttk/services/TesterClient.rb: Includes SubTestable. * lib/uttk/services/DRbService.rb: Require `sub_testable'. `observable' requirement moves to uttkd. * lib/uttk/testers/tester/notifier.rb: `observable' requirement moves to uttkd. * lib/uttk/strategies/Tester.rb: Use the TesterClient service. * lib/uttkd.rb: Requires 'observable'. 2005-04-09 Nicolas Desprès * lib/uttk/testers/Tester.rb: Create the logger using the logger factory. * lib/uttk/strategies/DistStrategy.rb: Do not give the symtbl class in argument to run_strategy since it is already present in the symtbl itself. 2005-04-09 Nicolas Desprès * lib/uttk/logger/verbosity.rb: Keep track of the higher verbosity level. * test/runit/logger/verbosity_test.rb: Test the "higher verbosity level" features. * lib/uttk/logger.rb: Write a setter that check the argument validity for the severity_level attribute. `section_tree' is no longer a read only attributes. * test/runit/logger_test.rb: Test the severity_level setter. * lib/uttk.rb: Require the logger factory. * bin/uttk: Create the logger factory according to the command line options. * bin/getopts/uttk.rb: Add the verbosity level option (-v) and the logger section option (-s). 2005-04-09 Nicolas Desprès * lib/uttk/dumpers/TracesXml.rb: Remove requires and add a FIXME. * lib/uttk/logger.rb: Remove a FIXME. * bin/getopts/uttk.rb: Use hierarchy and pp_hierarchy to pretty print the uttk's class hierarchy. 2005-04-07 Nicolas Desprès * test/uttk-dist-suite.yml: Adapt the new debug option format. * lib/uttk/dumpers/TracesXml.rb, lib/uttk/testers/Tester.rb, * lib/uttk/strategies/JUnit.rb: Add a FIXME. * lib/uttk/logger/to_uttk_log.rb: Do not use LOG any more. * lib/uttk/logger/severity.rb: Add an accessor to '@@labels'. * lib/uttk/status.rb: Do not format the exception here since the Status doesn't know the log severity level. This is now done in Strategy#format_exception_message. * : . * lib/uttk/loaders/YamlOld.rb, lib/uttk/loaders/OYaml.rb, * lib/uttk/loaders/Yaml.rb, lib/uttk/loaders/Loader.rb: Remove log messages. * lib/uttk/filters/BasicLogger.rb: Add a FIXME and comment deprecated code. * lib/uttk/strategies/Composite.rb: Remove commented code. * lib/uttk/strategies/Collection.rb, lib/uttk/strategies/CmdBase.rb, * lib/uttk/strategies/RUnit.rb: Use the new logger. * lib/uttk/strategies/Strategy.rb: Add `format_exception_message' which pretty print exception with a long format instead of a short if the log severity level is less thant INFO. * lib/uttk.rb: Remove LOG initialization. * bin/uttkm, bin/uttkd: No more $debug. * bin/uttk: No more $debug and initialize the logger according to the option. * bin/getopts/uttk.rb: Adapt the `-d' option to the new logger. Use name instead of number. 2005-04-06 Nicolas Desprès * test/runit/logger_test.rb: Test the sugar features. * lib/uttk/logger.rb: Manage sugar via method_missing. * lib/uttk/strategies/DistDelegate.rb: Call `super' in `prologue_test'. * lib/uttk/strategies/Tester.rb: Create the sub test at the end of the `prologue'. 2005-04-06 Nicolas Desprès * lib/uttk/testers/tester/remote_status.rb, * lib/uttk/testers/tester/score.rb, * lib/uttk/strategies/Distribute.rb: , changed property. * lib/uttk/strategies/DistDelegate.rb, lib/uttk/strategies/Tester.rb, * lib/uttk/strategies/Distribute.rb: Inherit from DistStrategy. * lib/uttk/strategies/DistStrategy.rb: New. Abstraction of every distribution strategy. 2005-04-06 Nicolas Desprès * test/runit/strategies: New. Contains unit test suite of the module Strategies. * test/runit/strategies/Strategy: New. Contains unit test suite of the class implemented in the class Strategy. * test/uttk/Tools/AssertEvalTest.rb: Move to ... * test/runit/strategies/Strategy/assert_eval_test.rb: ... here, and adapt. 2005-04-06 Nicolas Desprès * lib/uttk/Tools/AssertEval.rb: Move to ... * lib/uttk/strategies/Strategy/assert_eval.rb: ... here. * lib/uttk/strategies/Strategy: New. A directory which contains files that declares classes/modules declared in Uttk::Strategies::Strategy namespace. * lib/uttk/strategies/Strategy.rb: Remove FIXME. `check_assertion' and `pre_assertion' are protected otherwise there are never called. Require 'assert_eval'. 2005-04-06 Nicolas Desprès * test/uttk-dist/dist-suite.yml, test/uttk-dist/dist-ribute.yml, * lib/uttk/strategies/Collection.rb: Add a FIXME. * test/uttk-dist-suite.yml: Remove a commented fields. * lib/uttk/testers/Tester.rb (run_strategy): Takes the symtbl class and the symtbl in arguments. * lib/uttk/testers/Slave.rb, lib/uttk/testers/Master.rb: Store `sub_testers' information in the symtbl. * lib/uttk/strategies/Fetcher.rb: Do not propagate manualy `tester' and `sub_testers' attributes any more. * lib/uttk/strategies/DistDelegate.rb, lib/uttk/strategies/Tester.rb, * lib/uttk/strategies/Distribute.rb: Use the `tester' and `sub_testers' in the symtbl. Adapt to the new `run_strategy' prototype. * lib/uttk/strategies/Strategy.rb: Store `tester' and `sub_testers' in the symtbl instead of in attributes. * lib/uttkd.rb: Make the symtbl undumpable. 2005-04-05 Nicolas Desprès * lib/uttk/testers/Master.rb: Wrap the tester instead of the all score. * lib/uttk/strategies/Distribute.rb: Adapt attribute select description to the real meaning. 2005-04-05 Nicolas Desprès * test/uttk-dist-suite.yml: Readd Fetcher/Fetch test suite. * lib/uttk/strategies/Fetch.rb, lib/uttk/strategies/Fetcher.rb: is a Composite and ServiceManager. * lib/uttk/strategies/DistDelegate.rb: Dails if it is not within a tester. * bin/uttkd: Clean temporary files, but it is still not enough. 2005-04-05 Nicolas Desprès * test/uttk-dist/dist-ribute.yml: New. Distribute strategy test suite. * test/uttk-dist-suite.yml: Include dist-ribute.yml in the test suite. * lib/uttk/testers/tester/remote_status.rb: New. Move here from Tester.rb * lib/uttk/testers/tester/score.rb: New. Score returned by the dynamic_select request. * lib/uttk/testers/Tester.rb, lib/uttk/testers/Master.rb: Implement dynamic_select. * lib/uttk/strategies/DistDelegate.rb: Typo. * lib/uttk/strategies/Distribute.rb: New. Implement the Distribute strategy. * lib/uttk/strategies/DistDuplicate.rb: Rename the class name. 2005-04-04 Nicolas Desprès * lib/uttk/services/TesterMaster.rb: Give the `sub_testers' attribute to the constructor since there isn't any more the getter. * lib/uttk/testers/Tester.rb: Remove the default value of `name' in initialize to be able to add some arguments after it. * lib/uttk/testers/Master.rb: Remove the `sub_testers='. Make `sub_testers' protected. Initialize the `sub_testers' in the constructor. 2005-04-04 Nicolas Desprès * lib/uttk/strategies/Test.rb: Adapt test to fit the new way Composite computes the status. 2005-04-04 Nicolas Desprès * lib/uttk/symtbl: Remove. There is no module called SymTbl until now. * lib/uttk/symtbl/SymTbl.rb: Move to ... * lib/uttk/symtbl.rb: ... here, to be homogenous. Remove useless `sync_key' features and includes `Mutex_m' instead. * lib/uttk.rb: Adapt require. 2005-04-04 Nicolas Desprès * test/uttk-dist/dist-delegate.yml: Add a FIXME. * test/uttk-dist-suite.yml: Readd almost all the test. * lib/uttk/services/TesterMaster.rb: Store the `sub_testers' data of the master in the service instead of the front to prohibit public access. * lib/uttk/testers/Master.rb: `sub_testers' is no longer a class method. * lib/uttk/strategies/DistDelegate.rb: Use `raise_error' instead of `raise'. * lib/uttk/strategies/Tester.rb: Includes `ServiceManager' and no longer used `Services::TesterClient' to avoid code duplication with `Services::TesterMaster'. * lib/uttk.rb: require 'mutex_m'. 2005-04-04 Nicolas Desprès * test/uttk-dist/dist-delegate.yml: Readd almost all the test. * lib/uttk/testers/Tester.rb: Introduce RemoteStatus. `run_strategy' uses a local logger. * lib/uttk/testers/Slave.rb: `test.sub_testers' is a hash. * lib/uttk/strategies/SubCmd.rb: Trailling white space and comment an exception. * lib/uttk/strategies/Tester.rb, * lib/uttk/strategies/DistDelegate.rb: Adapt to the new prototype of `run_strategy'. * lib/uttk/strategies/Composite.rb: Do not use `@contents' to compute the status average. * lib/uttk/strategies/Strategy.rb: Print the tester's name, type and uri when a strategy is run on a tester. * lib/uttkd.rb: Do not make the SymTbl and the Logger DRbUndumped. 2005-04-04 Nicolas Desprès * test/uttk-dist/dist-delegate.yml: Readd few test. * test/uttk-dist-suite.yml: Run only dist-delegate. * lib/uttk/logger.rb: Add a FIXME. * lib/uttk/testers/Tester.rb: English mistakes and assign the tester. * lib/uttk/strategies/DistDispatch.rb: Rename to ... * lib/uttk/strategies/DistDuplicate.rb: ... that. * lib/uttk/strategies/DistDelegate.rb: is a Composite. 2005-04-04 Nicolas Pouillard * lib/uttk.rb, lib/uttkd.rb: Clean the Uttk module declaration scheme. * bin/getopts/uttk.rb: Split an option for the cache mode. * bin/uttk: Adapt to the new option. 2005-04-03 Nicolas Desprès * test/uttk-dist/dist-error.yml, test/uttk-dist/dist-fail.yml: Remove useless weight fields. * test/uttk-dist-suite.yml: Add more test. * lib/uttk/testers/Slave.rb, lib/uttk/testers/Master.rb: Use `prologue_test' instead of the deprecated `test_created'. * lib/uttk/strategies/Tester.rb: is a Composite and not a Proxy. 2005-04-03 Nicolas Desprès * test/runit/fetchers/fetchers_test.rb: Require 'uttkd'. * lib/uttk/services/MonitorServer.rb, lib/uttk/services/FetcherClient.rb, * lib/uttk/services/MonitorClient.rb, * lib/uttk/services/FetcherServer.rb: Remove requirements since uttkd use autoload now. * lib/uttk/fetchers/client.rb: Rename to ... * lib/uttk/fetchers/Client.rb: ... that, for autoload reasons. * lib/uttk/fetchers/server.rb: Rename to ... * lib/uttk/fetchers/Server.rb: ... that, for autoload reasons. * lib/uttk/monitors/client.rb: Rename to ... * lib/uttk/monitors/Client.rb: ... that, for autoload reasons. * lib/uttk/monitors/server.rb: Rename to ... * lib/uttk/monitors/Server.rb: ... that, for autoload reasons. * lib/uttk/monitors/monitor.rb: Rename to ... * lib/uttk/monitors/Monitor.rb: ... that, for autoload reasons. * lib/uttkd.rb: Id, LastChangeBy, changed property. Autoload `Monitors' and `Fetchers'. * lib/uttk/doc.rb: Remove. Deprecated, since a strategy can be ship over the network. 2005-04-03 Nicolas Desprès * test/uttk-dist-suite.yml: Temporary reduced to one little test. Adapt to the new repository organization. * lib/uttk/services/monitor_server.rb: Rename to ... * lib/uttk/services/MonitorServer.rb: ... that, for autloading reasons. * lib/uttk/services/fetcher_client.rb: Rename to ... * lib/uttk/services/FetcherClient.rb: ... that, for autloading reasons. * lib/uttk/services/tester_master.rb: Rename to ... * lib/uttk/services/TesterMaster.rb: ... that, for autloading reasons. * lib/uttk/services/monitor_client.rb: Rename to ... * lib/uttk/services/MonitorClient.rb: ... that, for autloading reasons. * lib/uttk/services/drb_service.rb: Rename to ... * lib/uttk/services/DRbService.rb: ... that, for autloading reasons. * lib/uttk/services/tester_slave.rb: Rename to ... * lib/uttk/services/TesterSlave.rb: ... that, for autloading reasons. * lib/uttk/services/tester_client.rb: Rename to ... * lib/uttk/services/TesterClient.rb: ... that, for autloading reasons. * lib/uttk/services/fetcher_server.rb: Rename to ... * lib/uttk/services/FetcherServer.rb: ... that, for autloading reasons. * lib/uttk/daemons/daemon/logger.rb: Add a FIXME. * lib/uttk/daemons/Slave.rb, lib/uttk/daemons/Master.rb, * lib/uttk/testers/Tester.rb, lib/uttk/testers/Slave.rb, * lib/uttk/testers/Master.rb, lib/uttk/strategies/Fetcher.rb, * lib/uttk/strategies/Tester.rb, lib/uttk/strategies/Fetch.rb, * lib/uttk/daemons/Daemon.rb: Upgrade required files to fit the new repository organization and the use of autoload. * lib/uttk/strategies/Tester.rb: . * lib/uttk/testers/Tester.rb: Do not use the `Doc' any more. * lib/uttk/strategies/Composite.rb: Trailling white space and add more verbose comments. * lib/uttk/strategies/Tester.rb: is a Proxy now. * lib/uttk/symtbl/SymTbl.rb: No longer undumpable by default. * lib/uttk.rb: Fix english mistakes and do not require `uttk/doc' any more. * lib/uttkd.rb: New. aims at being the `uttk.rb' for the distributed mode. Autoloads needed files, requires basic files and upgrade some Uttk's object for the distributed mode. * bin/uttkd, bin/uttkm: Require `uttkd'. * bin/getopts/uttkd.rb: Force to use the standard Logger. 2005-04-03 Nicolas Desprès * test/uttk-minimal/runit.yml: Some refactorization. * lib/uttk/strategies/CmdBase.rb: Typo + trailing white space. * lib/uttk.rb: Introduce RUBY_EX_DIR and ABS_RUBY_EX_DIR. Remove some fixme. * lib/uttk/strategies/RUnit.rb: Use ABS_RUBY_EX_DIR. 2005-04-03 Nicolas Desprès * test/uttk/Test/TestTStub.yml: Move to ... * test/uttk-minimal/test.yml: ... here, and adapt. * lib/uttk/Tools/ArrayDiff.rb, lib/uttk/Tools/Diff.rb, * lib/uttk/Tools/HashDiff.rb: Remove. Deprecated. We use ruby_ex/diff.rb * lib/uttk/strategies/Test.rb: Adapt to inherit from Proxy. * lib/uttk/strategies/Strategy.rb: Trainling white space. 2005-04-03 Nicolas Pouillard * test/uttk-minimal/base.yml: Simplify. * test/examples/cache/simple.yml: Adapt the timeout delay. * Rakefile: Remove the useless auto require. * VERSION: Update. * lib/uttk/status.rb: Clean the @flow instance variable when it become useless. * lib/uttk/strategies/Strategy.rb: Skip with the good weight. * lib/uttk/strategies/Sleep.rb: Use to_f instead to_i. * bin: Changed property. * bin/uttk: Update. 2005-04-03 Nicolas Pouillard Uttk can now remains failed tests. You can now re-run only failed tests of a test suite. You can try with the example: test/examples/cache/simple.yml. * test/examples/cache/simple.yml: New. Try it. * bin/uttk, lib/uttk/strategies/Strategy.rb: Implement the cache mode. * lib/uttk.rb: Update requires. * bin/getopts/uttk.rb: Add options: --cache, and --cache-proc. 2005-04-03 Nicolas Pouillard * lib/uttk/dumpers/Yaml.rb: Clean Regexp.to_yaml. * lib/uttk/logger.rb: Use a Thread.exclusive to protect the logger. * lib/uttk/status.rb: The weight of the SkipStatus can be specified. * lib/uttk/loaders/Yaml.rb: Improve Class and OHash loading. * lib/uttk/symtbl/SymTbl.rb: Update. * lib/uttk/strategies/Collection.rb: Clean and improve `create'. * lib/uttk/strategies/Sleep.rb: Use to_i to convert the delay. * lib/uttk/weights/Weight.rb (+): Make `rhs' a Weight if it not. * bin/getopts/uttkm.rb, bin/getopts/uttkd.rb: Use argv, not ARGV. 2005-04-03 Nicolas Pouillard * Rakefile: New. 2005-04-03 Nicolas Pouillard * lib/uttk/filters/Saver.rb: Fix typo with log and logger. 2005-04-02 Nicolas Desprès * lib/uttk/strategies/Glob.rb: Remove backward compatibility support. 2005-04-02 Nicolas Desprès * lib/uttk/strategies/RUnit.rb: Groupt the RUnit result in a `result' fields to avoid conflict with futur attributes. 2005-04-02 Nicolas Desprès * test/uttk-minimal/unit_test.yml: Collect all test suite in the runit directory and bundle them in a suite. * test/runit: New. Repository of Uttk's unit test suite. * test/runit/logger: New. Repository of Uttk's unit test suite, for the logger directory. * test/runit/loaders: New. Repository of Uttk's unit test suite, for the loaders directory. * test/runit/fetchers: New. Repository of Uttk's unit test suite, for the fetchers directory. * lib/uttk/logger/verbosity.rb: Move the unit test suite to ... * test/runit/logger/verbosity_test.rb: New. ... here, and adapt. * lib/uttk/logger/section_node.rb: Move the unit test suite to ... * test/runit/logger/section_node_test.rb: New. ... here, and adapt. * lib/uttk/logger/severity.rb: Move the unit test suite to ... * test/runit/logger/severity_test.rb: New. ... here, and adapt. * lib/uttk/logger.rb: Move the unit test suite to ... * test/runit/logger_test.rb: New. ... here, and adapt. * lib/uttk/fetchers/fetchers_test.rb: Move to ... * test/runit/fetchers/fetchers_test.rb: ... here, and adapt. * lib/uttk/loaders/OYaml.rb: Move the unit test suite to ... * test/runit/loaders/OYaml_test.rb: New. ... here, and adapt. * lib/uttk/strategies/RUnit.rb: Fix some bugs with the `work_dir' attribute. * test/uttk-minimal/runit.yml: Test the `work_dir' attributes and the `verbose' attributes. 2005-04-02 Nicolas Desprès * lib/uttk/logger/to_uttk_log.rb, lib/uttk/dumpers/Xml.rb, * lib/uttk/dumpers/Yaml.rb, lib/uttk/Tools/io/ext.rb, * lib/uttk/Tools/io/delegator.rb, lib/uttk/Tools/cut_output.rb, * lib/uttk/strategies/Suite.rb, lib/uttk/strategies/Block.rb: Comment useless test in order to not trouble the futur Uttk's complete unit test suite. * lib/uttk/fetchers/client.rb, lib/uttk/fetchers/server.rb, * lib/uttk/fetchers/fetchers_test.rb: Add 'uttk/' prefix to the required files. * lib/uttk/logger/verbosity.rb, lib/uttk/logger/section_node.rb, * lib/uttk/logger/severity.rb, lib/uttk/loaders/OYaml.rb, * lib/uttk/fetchers/fetchers_test.rb: Use the Yaml test runner to fit RUnit strategy needs. * lib/uttk/strategies/RUnit.rb: Add a `verbose' attribute to control the -w option of ruby. 2005-04-02 Nicolas Desprès * test/uttk-minimal/runit.yml: New. Test suite for the RUnit strategy. * test/uttk-minimal/unit_test.yml: New. Beginning of the Uttk's unit test suite. * test/ressources/runit: New. Some resources for the RUnit test suite. * test/ressources/runit/bad.rb, test/ressources/runit/good.rb, * test/ressources/runit/error.rb: New. * lib/uttk/logger/verbosity.rb, lib/uttk/logger/section_node.rb, * lib/uttk/logger/severity.rb: , changed property. * lib/uttk/logger.rb: Adapt test suite to fit the RUnit strategy requirements. * lib/uttk/strategies/Pass.rb, lib/uttk/strategies/Fail.rb: `assertion' is a protected method. * lib/uttk/strategies/RUnit.rb: Use `system' instead of open("|. Manage a working directory and the $LOAD_PATH variables. 2005-04-02 Nicolas Pouillard * lib/uttk/strategies/SubCmd.rb, * lib/uttk/strategies/Test.rb, * lib/uttk/strategies/DistDispatch.rb, * lib/uttk/strategies/Authors.rb, * lib/uttk/strategies/SqlQuery.rb, * lib/uttk/strategies/DistDelegate.rb, * lib/uttk/strategies/Composite.rb, * lib/uttk/strategies/Tester.rb, * lib/uttk/strategies/Extract.rb, * lib/uttk/strategies/Stub.rb, * lib/uttk/strategies/Clean.rb, * lib/uttk/strategies/KillAll.rb, * lib/uttk/strategies/JUnit.rb, * lib/uttk/strategies/Fetch.rb, * lib/uttk/strategies/Block.rb, * lib/uttk/strategies/CmdBase.rb, * lib/uttk/strategies/RUnit.rb, * lib/uttk/strategies/Strategy.rb, * lib/uttk/strategies/Checkout.rb, * lib/uttk/strategies/Abort.rb, * lib/uttk/strategies/Sleep.rb, * template/new_strategy.rb: Renaming: s/milogue/run_impl/g. 2005-04-02 Nicolas Pouillard * lib/uttk/loaders/Loader.rb: Introduce testify instead of load_strategy. * lib/uttk/strategies/Composite.rb, lib/uttk/strategies/Proxy.rb, * lib/uttk/strategies/Collection.rb, lib/uttk/strategies/Strategy.rb: Clean up the create method, and the initialisation system. * lib/uttk/strategies/Bootstrap.rb, lib/uttk/strategies/Make.rb, * lib/uttk/strategies/Package.rb, lib/uttk/strategies/Ball.rb, * lib/uttk/strategies/Configure.rb, * lib/uttk/strategies/PackageCollection.rb: Give only one argument to create. * lib/uttk/strategies/Fetcher.rb, lib/uttk/strategies/JUnit.rb, * lib/uttk/strategies/Fetch.rb, lib/uttk/strategies/Block.rb, * lib/uttk/strategies/CmdBase.rb, lib/uttk/strategies/Pool.rb: Clean up the initialize method prototype. 2005-04-01 Nicolas Pouillard * misc/uttk-line-count.rb, lib/uttk/logger/section_node.rb, * lib/uttk/testers/Tester.rb, lib/uttk/loaders/Loader.rb, * lib/uttk/Tools/io/delegator.rb, lib/uttk/Tools/io/filters.rb, * lib/uttk/Tools/ArrayDiff.rb, lib/uttk/Tools/HashDiff.rb, * lib/uttk/strategies/Composite.rb, lib/uttk/strategies/Block.rb, * lib/uttk/strategies/Collection.rb, lib/uttk/logger.rb, * lib/uttk/strategies/PackageCollection.rb: Use block[*args] instead block.call(*args). * template/new_strategy.rb: Update. 2005-04-01 Nicolas Pouillard * bin/uttk: s/result/log/g. * bin/getopts/uttk.rb: Fix the --include option. * lib/uttk/strategies/IOBased.rb: New. Provide a good abstraction for * lib/uttk/strategies/CmdBase.rb: Make it inherit from IOBased and update. * lib/uttk/strategies/Cmd/StreamDiff.rb: Rename to ... * lib/uttk/strategies/Streams/Diff.rb: ... this. And update. * lib/uttk/strategies/Cmd/Stream.rb: Rename to ... * lib/uttk/strategies/Streams/Stream.rb: ... this. And improve. strategies which works with inputs/outputs. * lib/uttk/strategies/Cmd.rb: Clean up. * lib/uttk/strategies/SubCmd.rb: Update to new Streams. * lib/uttk/dumpers/Yaml.rb: Add !path to builtin Yaml types. * lib/uttk/status.rb: Use a class method to get the default_weight_value. * test/uttk-minimal/cat.yml, test/uttk-dist/local-fetch.yml, * test/uttk-dist/dist-cat.yml, test/uttk-minimal/wc.yml, * test/all/ref/out/remote_dispatcher.yml, * test/all/ref/out/remote_cmd.yml, * test/all.yml: Use the !path tag instead of *_from_file. 2005-04-01 Nicolas Desprès * lib/uttk/logger/section_node.rb: `set_active_section' returns the list of activated/unactivated section. * lib/uttk/logger.rb: Use `set_active_section'. 2005-04-01 Nicolas Desprès * lib/uttk/logger/section_node.rb: Add set_active_section as a top-level for active_section and unactive_section. active setter call active_tree for consistency reason. 2005-04-01 Nicolas Desprès * lib/uttk/logger/section_node.rb: Implement `unactive_section' and add some comments. 2005-04-01 Nicolas Desprès * lib/uttk/logger/section_node.rb: Older active= method becomes active_tree method and active= becomes a simple setter. Add active_section the real way to active a section in a tree: active all sub_sections of a given section and its ancestors. * lib/uttk/logger.rb: Adapt to the new active section method. 2005-04-01 Nicolas Desprès * lib/uttk/logger/verbosity.rb: Return the severity_level label instead of the number. Take section_name in argument instead of a SectionNode instance. * lib/uttk/logger/section_node.rb: Fix bug in pre_depth_first. Add push which perform multiple << in a row. * lib/uttk/logger/severity.rb: Add label to be able to get the label of a particular level from its number. * lib/uttk/logger.rb: Many bug fix and upgrade the test suite. * lib/uttk.rb: Group the requirement in one block. 2005-04-01 Nicolas Pouillard * lib/uttk/logger/to_uttk_log.rb, lib/uttk/dumpers/Xml.rb, * lib/uttk/dumpers/Yaml.rb, lib/uttk/status.rb, lib/uttk/filters/Saver.rb, * lib/uttk/strategies/Make.rb, lib/uttk/strategies/Bootstrap.rb, * lib/uttk/strategies/SubCmd.rb, lib/uttk/strategies/RemoteCmd.rb, * lib/uttk/strategies/Test.rb, lib/uttk/strategies/Fetcher.rb, * lib/uttk/strategies/Glob.rb, lib/uttk/strategies/DistDispatch.rb, * lib/uttk/strategies/Authors.rb, lib/uttk/strategies/SqlQuery.rb, * lib/uttk/strategies/Compile.rb, lib/uttk/strategies/Package.rb, * lib/uttk/strategies/DistDelegate.rb, lib/uttk/strategies/Composite.rb, * lib/uttk/strategies/Tester.rb, lib/uttk/strategies/Extract.rb, * lib/uttk/strategies/Ball.rb, lib/uttk/strategies/Stub.rb, * lib/uttk/strategies/Proxy.rb, lib/uttk/strategies/Configure.rb, * lib/uttk/strategies/Clean.rb, lib/uttk/strategies/KillAll.rb, * lib/uttk/strategies/JUnit.rb, lib/uttk/strategies/Fetch.rb, * lib/uttk/strategies/Block.rb, lib/uttk/strategies/Collection.rb, * lib/uttk/strategies/RUnit.rb, lib/uttk/strategies/Cmd/StreamDiff.rb, * lib/uttk/strategies/Cmd/Stream.rb, lib/uttk/strategies/Strategy.rb, * lib/uttk/strategies/Cmd.rb, lib/uttk/strategies/Checkout.rb, * lib/uttk/strategies/Abort.rb, lib/uttk/strategies/PackageCollection.rb, * lib/uttk/strategies/Sleep.rb, lib/uttk/strategies/Pool.rb, * lib/uttk/strategies/CmdBase.rb, lib/uttk/strategies/Import.rb, * lib/uttk/strategies/ProbabilityThreshold.rb: Rename result to @log. * lib/uttk/strategies/CmdDiff.rb: Remove. 2005-04-01 Nicolas Pouillard * lib/uttk/strategies/ProbabilityThreshold.rb: New. Assume that a strategy pass when its result is better than the given threshold. * test/uttk-minimal/probability_threshold.yml: New. 2005-04-01 Nicolas Pouillard * lib/uttk.rb: Move the status require after the Weights declaration. * lib/uttk/status.rb: Print the weight only when its different of the default value (FAIL(0%) => FAIL). * lib/uttk/strategies/Fail.rb: Allow to specify the returned status value. * lib/uttk/strategies/Cmd.rb, lib/uttk/strategies/Make.rb, * lib/uttk/strategies/Proxy.rb, lib/uttk/strategies/Strategy.rb, * lib/uttk/strategies/SubCmd.rb: Update attributes of type Class. 2005-03-31 Nicolas Desprès * lib/uttk/logger/to_uttk_log.rb: Specifie the inherited class when extend the OHash class to avoid superclass mismatch error. 2005-03-31 Nicolas Desprès * lib/uttk/logger/to_uttk_log.rb: Do not require 'exception' any more since it is required by uttk. * lib/uttk/logger.rb: Do not convert to uttk log the message returned by the block. Add 'uttk/' to the requirement path. Start to upgrade the unit test suite. * lib/uttk/strategies/RemoteCmd.rb, lib/uttk/strategies/Test.rb, * lib/uttk/strategies/Fetcher.rb, lib/uttk/strategies/Tester.rb, * lib/uttk/strategies/Fetch.rb, lib/uttk/strategies/Cmd.rb: Add 'uttk/' to the requirement path. * lib/uttk.rb: Do not add lib/uttk to library path. 2005-03-31 Nicolas Desprès * lib/uttk/logger/verbosity.rb: Add a unit test suite to the class Uttk::Logger::Verbosity. 2005-03-31 Nicolas Desprès * lib/uttk/dumpers/Xml.rb, lib/uttk/dumpers/Yaml.rb, * lib/uttk/logger/to_uttk_log.rb, lib/uttk/logger.rb, * lib/uttk/status.rb, lib/uttk/testers/tester/query_node.rb, * lib/uttk/strategies/DistDispatch.rb, lib/uttk/strategies/Package.rb, * lib/uttk/strategies/Cmd/StreamDiff.rb, * lib/uttk/strategies/Cmd/Stream.rb, lib/uttk/strategies/Strategy.rb, * lib/uttk/strategies/Cmd.rb, bin/uttk: s/tkk/uttk/g. 2005-03-31 Nicolas Pouillard * NORM: Fix a typo. 2005-03-31 Nicolas Desprès * lib/uttk/logger/verbosity.rb: New. Provides an easy way to add a new information field to a verbosity level and holds the methods that format the information message. * lib/uttk/logger.rb: Add support for Verbosity level. Rename @log_level to @severity_level and @log_section to @section in order to be homogenous. 2005-03-31 Nicolas Pouillard * NORM: Add a rule concerning blocks. 2005-03-31 Nicolas Desprès * lib/uttk/logger/to_uttk_log.rb: Typo. * lib/uttk/logger/Path.rb: Move to ... * lib/uttk/logger/path.rb: ... here, to be homogene with the rest of the directory. Now, belongs to the class Logger. * lib/uttk/logger.rb: Require 'logger/path'. 2005-03-31 Nicolas Desprès * lib/uttk/logger/section_node.rb: Rename `*sub_node*' to `*sub_section*' ; use `each_value' instead of `each' ; `pre_depth_first' pass block recursively ; `each*' pass block to the Hash version of `each*'. 2005-03-31 Nicolas Desprès * lib/uttk/logger/ToResult.rb: Move to ... * lib/uttk/logger/to_uttk_log.rb: ... here. * lib/uttk/logger/to_uttk_log.rb, lib/uttk/dumpers/Xml.rb, * lib/uttk/dumpers/Yaml.rb, lib/uttk/logger.rb, lib/uttk/status.rb, * lib/uttk/testers/tester/query_node.rb, * lib/uttk/strategies/DistDispatch.rb, lib/uttk/strategies/Package.rb, * lib/uttk/strategies/Cmd/StreamDiff.rb, * lib/uttk/strategies/Cmd/Stream.rb, lib/uttk/strategies/Strategy.rb, * lib/uttk/strategies/Cmd.rb, bin/uttk: s/to_result/to_uttk_log/g. 2005-03-31 Nicolas Desprès * lib/uttk/logger/ToResult.rb, lib/uttk/logger.rb, * lib/uttk/testers/tester/query_node.rb, lib/uttk/strategies/Package.rb, * lib/uttk/strategies/DistDelegate.rb, lib/uttk/strategies/Composite.rb, * lib/uttk/strategies/Tester.rb, lib/uttk/strategies/Fetch.rb, * lib/uttk/strategies/Collection.rb, lib/uttk/strategies/Strategy.rb, * lib/uttk/strategies/Pool.rb: s/chnode/new_node/g et s/__add__/new_leaf/g. * lib/uttk/filters/Saver.rb: Remove CONVERT because it is useless. 2005-03-31 Nicolas Desprès * lib/uttk/logger/section_node.rb: The method `pre_depth_first' must return nil. The method `find' return nil in case of negative search. Test a case of negative search. * lib/uttk/logger.rb: Store the active section in an array in order to perform a fast search of an active section. 2005-03-31 Nicolas Desprès * lib/uttk/logger.rb: Add method `active_log_section'. Active a set of section by traversing the section tree. Remove @log_sections, because it becomes deprecated. 2005-03-31 Nicolas Desprès * lib/uttk/logger/section_node.rb: Add the method find to find a section node by name. 2005-03-31 Nicolas Desprès * lib/uttk/logger/section_tree.rb: Move to ... * lib/uttk/logger/section_node.rb: ... here, because the class SectionTree is renamed to SectionNode. * lib/uttk/logger.rb: s/SectionTree/SectionNode/g. 2005-03-31 Nicolas Desprès * lib/uttk/logger/section_tree.rb: Manages active attribute recursively. Hold sub_section in a hash to allow fast access by section name. Do not inherit from Node any more. * lib/uttk/logger.rb: Rename section_forest to section_tree. 2005-03-30 Nicolas Pouillard This strategy (made by Vincent Cuissard) manage sql base tests. It use unit testing (EXCEPT ALL query) for checking results. * lib/uttk/strategies/SqlQuery.rb: New. * test/examples/sql/basic.yml: New. A basic test for the SqlQuery strategy. 2005-03-30 Nicolas Pouillard * lib/uttk/logger.rb: Add an ensure to fix the new_node notification. 2005-03-30 Nicolas Pouillard * vcs/HOWTO: Update. 2005-03-29 Nicolas Desprès * lib/uttk/logger/section_tree.rb: New. Manage a tree of log section. Useful to select precisely the section where the logger has to be verbose. * lib/uttk/logger.rb: Add an attribute which contain a forest of section tree. 2005-03-29 Nicolas Pouillard * lib/uttk/strategies/KillAll.rb: Add a little delay after killing some process to wait for the system kill processes. * test/uttk-minimal/killall.yml, test/uttk-minimal/pool.yml: Update. 2005-03-28 Nicolas Pouillard * lib/uttk/strategies/Strategy.rb: Fix a typo, and adapt the synflow. * lib/uttk/status.rb: Revert the previous patch. 2005-03-28 Nicolas Desprès * lib/uttk/logger.rb: Adapt requirements to the right directory name. * lib/uttk/result: Rename to ... * lib/uttk/logger: ... this. 2005-03-28 Nicolas Desprès * lib/uttk/result/severity.rb: New. Contains the Uttk::Logger::Severity module. 2005-03-28 Nicolas Desprès * lib/uttk/dumpers/Xml.rb, lib/uttk/dumpers/Yaml.rb, * lib/uttk/testers/Tester.rb, lib/uttk/filters/Filter.rb, * lib/uttk/strategies/Test.rb, lib/uttk/strategies/Suite.rb, * lib/uttk/strategies/Block.rb, lib/uttk/strategies/Pool.rb, * lib/uttk/result/ToResult.rb, lib/uttk.rb, bin/uttk, * bin/getopts/uttk.rb: s/Result::Stream/Logger/g. * lib/uttk/result/Stream.rb: Remove. Becomes Logger. * lib/uttk/logger.rb: New. Replace the module Result and hold the Result::Stream methods. 2005-03-28 Nicolas Pouillard * lib/uttk/strategies/Strategy.rb: No more use a synflow tree, and improve the synflow factory. * lib/uttk/strategies/Pool.rb: Run another thread to catch properly exceptions, then make useless the synflow tree and increase performances. * lib/uttk/status.rb: No more feed the synflow, let the `abort' method do it. * lib/uttk: Changed svn:ignore property. 2005-03-28 Nicolas Desprès * lib/uttk/filters/Saver.rb: Fix english mistakes. * lib/uttk/result/Stream.rb: Add logger sections and severities level management. 2005-03-24 Nicolas Pouillard * vcs/uttk.rb: Update to the new mailing list. 2005-03-23 Nicolas Desprès * misc/uttk-line-count.rb: Update option parser help message to fit the new default value. 2005-03-23 Nicolas Pouillard * misc/uttk-line-count.rb: Make a colomun based output. 2005-03-23 Nicolas Desprès * misc/uttk-line-count.rb: New. A script that count the number of line of code in uttk. * misc/uttk-grep.sh: Avoid emacs' backup file. 2005-03-22 Nicolas Desprès * misc/uttk-grep.sh: New. A script to search inside uttk's sources (based on grep). 2005-03-02 Nicolas Despres * TODO: Correct English mistakes. 2005-03-01 Nicolas Pouillard * lib/uttk/strategies/Package.rb: Permit to skip any step. * lib/uttk/strategies/Strategy.rb: Comment the flow_id dumping. * lib/uttk/strategies/Cmd.rb: Do a better expanding. * lib/uttk/symtbl/SymTbl.rb: Add do_symtbl_gsub an helper to use symtbl_gsub. 2005-03-01 Nicolas Pouillard * lib/uttk/strategies/Bootstrap.rb: Skip if a configure is already here. * lib/uttk/strategies/Make.rb: Handle continue_mode and jobs options. * lib/uttk/strategies/Package.rb: Update. * lib/uttk/strategies/Extract.rb: Put a deprecated FIXME. * lib/uttk/strategies/Configure.rb: Improve the flags handling. * lib/uttk/strategies/Cmd.rb: Use @symtbl[:env] and make a tiny substitution. * lib/uttk/strategies/Checkout.rb: Extract if possible. * lib/uttk/strategies/PackageCollection.rb: Update the symtbl with the install_dir of each package, and make fatal a dependency. * test/uttk-minimal/env_cmd.yml: Test the symbols feature. * misc/gendoc.rb: Update. 2005-03-01 Nicolas Pouillard * lib/uttk/strategies/Strategy.rb: Fix the synchornization automaton, and add the :symbols attribute, which permit to specify values for the symtbl. * lib/uttk/strategies/Pool.rb: Update the flow feeding. 2005-03-01 Nicolas Pouillard * lib/uttk/strategies/Strategy.rb: Fix the synchronization automaton, automaticly clean useless instance variables at the end, and remove create. * lib/uttk/strategies/Proxy.rb: New. Use it when you want compose with only one strategy. * lib/uttk/strategies/Make.rb, * lib/uttk/strategies/Bootstrap.rb, * lib/uttk/strategies/Fetcher.rb, * lib/uttk/strategies/Compile.rb, * lib/uttk/strategies/Configure.rb, * lib/uttk/strategies/Fetch.rb, * lib/uttk/strategies/Import.rb, * lib/uttk/strategies/Test.rb: Is a Proxy. * lib/uttk/strategies/PackageCollection.rb, * lib/uttk/strategies/Glob.rb: No more have a useless internal Suite. * lib/uttk/strategies/Composite.rb: Extract the Proxy feature. * lib/uttk/strategies/Ball.rb: Put a deprecated FIXME. * lib/uttk/strategies/Cmd.rb: Fix the :env default value. * lib/uttk/dumpers/Notif.rb: Use the uttk option in to_yaml call. * lib/uttk/dumpers/Yaml.rb: Restore the old version and put a FIXME. * lib/uttk/Tools/io/yaml.rb: Remove. Useless. * lib/uttk/weights/WExpr.rb (to_yaml): Use the uttk option if present. 2005-03-01 Nicolas Pouillard * lib/uttk/dumpers/Yaml.rb: Use a :uttk option to specify that `to_yaml' is `a la uttk'. 2005-02-28 Nicolas Pouillard * lib/uttk/strategies/Strategy.rb: Use SynFlow* to describe the synchronization. * lib/uttk/strategies/Pool.rb, lib/uttk/status.rb: Update to flows. * test/uttk-minimal/pool.yml: Set a timeout to 6. * test/uttk-minimal/base.yml: Set a timeout to 0.4. 2005-02-25 Nicolas Pouillard * lib/uttk/status.rb: Add two new status, and improve the AbortStatus. * lib/uttk/loaders/Yaml.rb: Change the debug level. * lib/uttk/strategies/CmdBase.rb: Protect `kill' against special cases. * lib/uttk/strategies/Strategy.rb: Improve the mutex handling. * lib/uttk/strategies/Pool.rb: Improve and clean the thread/mutex handling. * lib/uttk/strategies/Composite.rb: Factor the weight computation and recall it in the epilogue. * lib/uttk.rb: Add the UttkException. * test/uttk-minimal/pool.yml: Update. 2005-02-20 Nicolas Pouillard * lib/uttk/strategies/Strategy.rb: Use timeout_mutex and tree_mutex to ensure that only a milgue can be interrupted, even in nested cases. 2005-02-19 Nicolas Pouillard * lib/uttk.rb: Remove some coments. * bin/uttk: Set RUBYLIB in a dynamic way. 2005-02-19 Nicolas Despres * lib/uttk/status.rb: Remove require 'exception' since it is required by uttk.rb. * lib/uttk.rb, bin/uttk: : Reorganize requirements. * bin/getopts/uttk.rb: Do not use SRC_DIR any more. * bin/uttkd: Start to reorganize requirements. 2005-02-19 Nicolas Despres * lib/filters: Move to ... * lib/uttk/filters: ... here. 2005-02-19 Nicolas Despres * lib/dumpers, lib/services, lib/status.rb, lib/daemons, lib/loaders, * lib/testers, lib/Tools, lib/fetchers, lib/doc.rb, lib/weights, * lib/symtbl, lib/monitors, lib/strategies, lib/result: Move to lib/uttk/. * lib/uttk: New. Holds uttk library source files except the interface source file: uttk.rb. 2005-02-19 Nicolas Despres * src: Rename to lib * lib: New. Hold the uttk's library source files. 2005-02-19 Nicolas Despres * src/getopts: Move to ... * bin/getopts: ... here. * src/uttkm: Move to ... * bin/uttkm: ... here. * src/uttk: Move to ... * bin/uttk: ... here. * src/uttkd: Move to ... * bin/uttkd: ... here. * bin: New. Hold basic drivers. 2005-02-19 Nicolas Despres * src: Changed property. Move ruby_ex to ... * .: Changed property. ... here. 2005-02-18 Nicolas Despres * src/dumpers/Notif.rb, src/dumpers/TracesXml.rb, * src/status.rb, src/testers/tester/notifier.rb, * src/weights/WExpr.rb, src/strategies/SubCmd.rb, * src/strategies/Make.rb, src/strategies/Bootstrap.rb, * src/strategies/Package.rb, src/strategies/Composite.rb, * src/strategies/KillAll.rb, src/strategies/Collection.rb, * src/strategies/Cmd/StreamDiff.rb, src/strategies/Checkout.rb, * src/strategies/PackageCollection.rb: Changed property. svn:keywords. 2005-02-18 Nicolas Despres * src/dumpers/Notif.rb, src/dumpers/Xml.rb, src/dumpers/Yaml.rb, * src/dumpers/TracesXml.rb, src/dumpers/Dumper.rb, * src/loaders/YamlOld.rb, src/loaders/OYaml.rb, * src/loaders/Yaml.rb, src/loaders/Loader.rb, * src/filters/Saver.rb, src/filters/BasicLogger.rb, * src/filters/Filter.rb, src/weights/WExpr.rb, * src/weights/WMin.rb, src/weights/WFloat.rb, * src/strategies/SubCmd.rb, src/strategies/Make.rb, * src/strategies/CmdDiff.rb, src/strategies/Stub.rb, * src/strategies/Block.rb, src/strategies/CmdBase.rb, * src/strategies/Cmd/StreamDiff.rb, src/strategies/Cmd/Stream.rb, * src/strategies/Strategy.rb, src/symtbl/SymTbl.rb, * src/result/Stream.rb, src/result/Path.rb: No more require 'uttk'. * src/strategies/Tester.rb: Add a forgotten comma. * src/strategies/Glob.rb: Typo. * src/status.rb: require 'exception'. * src/uttk: Library path management and logger initialization moved to ... * src/uttk.rb: ... here. 2005-02-17 Nicolas Pouillard * src/strategies/Extract.rb: Skip if the target is a directory. * src/strategies/Configure.rb (have_configure?), * src/strategies/Bootstrap.rb (have_bootstrap?): Return a complete path. * src/strategies/Checkout.rb: Dump more information. 2005-02-16 Nicolas Pouillard * src/strategies/PackageCollection.rb: New. Handle dependencies between a collection of packages. * src/strategies/Configure.rb: Look at symtbl for configure flags. 2005-02-13 Nicolas Pouillard * template/new_strategy.rb: Update. 2005-02-13 Nicolas Pouillard * src/strategies/Package.rb: New. Compose others Strategy which take an url and perm these tasks: checkout, extracting, bootstrapping, configuring, make {all,check,distcheck,install}, export the tarball, and clean. * src/strategies/Checkout.rb: New. Use the URI extension to checkout. * src/strategies/Extract.rb: Use FileType in ruby_ex/filetype.rb. * src/strategies/Bootstrap.rb: New. Handle the bootstrap script. * src/strategies/Configure.rb: Improve. * src/strategies/Make.rb: New. Handle the `make' command with an OO target support. * src/strategies/Composite.rb: Ensure the path size save. * src/strategies/Clean.rb: Handle a list of dir not just a dir. * src/strategies/Collection.rb: Call the block after initializing. * src/strategies/CmdBase.rb: Fix and move the newline substitution in executed command. * src/strategies/Strategy.rb: Move a line. * test/uttk-minimal/pkg.yml: New. * test/ressources/package/pkg_foo/configure: New. * test/ressources/package/pkg_foo/foo.sh: New. * test/ressources/package/pkg_foo/Makefile: New. * test/ressources/package/pkg_foo/bootstrap: New. * test/ressources/package/pkg_foo.tar.gz: New. * test/uttk-minimal/author.yml: Update. 2005-02-12 Nicolas Pouillard * src/status.rb: New. OO version of status and summaries. * src/weights/Weight.rb: New weights, for new status. * src/weights/WExpr.rb, src/weights/WMin.rb: Update accordignly. * src/strategies/Strategy.rb, src/strategies/Composite.rb, * src/strategies/SubCmd.rb, src/strategies/Test.rb, * src/strategies/RemoteCmd.rb, src/strategies/Fetcher.rb, * src/strategies/DistDispatch.rb, src/strategies/Glob.rb, * src/strategies/Authors.rb, src/strategies/Compile.rb, * src/strategies/DistDelegate.rb, src/strategies/Tester.rb, * src/strategies/Pass.rb, src/strategies/Extract.rb, * src/strategies/Ball.rb, src/strategies/Fail.rb, * src/strategies/Stub.rb, src/strategies/Configure.rb, * src/strategies/Clean.rb, src/strategies/KillAll.rb, * src/strategies/Fetch.rb, src/strategies/Error.rb, * src/strategies/JUnit.rb, src/strategies/Suite.rb, * src/strategies/Block.rb, src/strategies/Collection.rb, * src/strategies/CmdBase.rb, src/strategies/RUnit.rb, * src/strategies/Cmd/Stream.rb, src/strategies/Cmd.rb, * src/strategies/Abort.rb, src/strategies/Sleep.rb, * src/strategies/Pool.rb, src/strategies/Import.rb: Use the new status system. * src/strategies/Assert.rb: Remove. pre_assertions and post_assertions are in Strategy. * test/uttk-minimal/fatal.yml: Change the name of test3. * test/uttk-minimal/block.yml: Use fail() not Failure. * test/ressources/text/1.txt: Make shorter. * test/uttk-minimal/wc.yml: Update accordignly. * test/all/weight.yml: Update to new Yaml format. * src/getopts/uttk.rb: Add the --dump-status option. * src/uttk: Handle the --dump-status option. * src/uttk.rb: Add Weights::Default which is an alias of Weights::WFloat. * src/filters/Saver.rb: No more try to handle the status here. * src/result/ToResult.rb: Handle exceptions. 2005-02-08 Nicolas Despres * test/uttk-minimal/pool.yml, test/uttk-minimal/base.yml, * test/examples/students/stud.yml, * test/examples/students/pool_stud.yml: Update to the new name. * src/strategies/PoolSuite.rb: Move to ... * src/strategies/Pool.rb: ... here. 2005-02-08 Nicolas Pouillard * src/strategies/Composite.rb: New. Usefull when a strategy contain other strategies. * src/strategies/Collection.rb: New. Is a composite extension, it provides common attributes factorization. * src/strategies/Fetch.rb, * src/strategies/Ball.rb, * src/strategies/Fetcher.rb, * src/strategies/Glob.rb, * src/strategies/Compile.rb, * src/strategies/Configure.rb, * src/strategies/Import.rb, * src/strategies/Test.rb: Is a composite. * src/strategies/Suite.rb, * src/strategies/PoolSuite.rb: Is a collection. * src/strategies/RemoteCmd.rb, * src/strategies/DistDispatch.rb, * src/strategies/DistDelegate.rb, * src/strategies/Stub.rb, * src/strategies/CmdBase.rb, * src/strategies/Strategy.rb, * src/result/Stream.rb, * src/strategies/SubCmd.rb: Update. * test/uttk-minimal/base.yml: Add a sleep. * src/uttk.rb: Require 'thread'. * src/filters/Saver.rb: Replace root by sub root. * src/weights/WExpr.rb: New. Usefull to debug and see the summary expression. * src/weights/Weight.rb: Add pass? and fail?. 2005-02-08 Nicolas Despres * test/uttk-dist/dist-dispatch.yml, test/uttk-dist/tester.yml, * test/uttk-dist/dist-cat.yml, test/uttk-dist/dist-suite.yml, * test/uttk-dist/dist-delegate.yml: Make their Suite ordered. 2005-02-08 Nicolas Despres * TODO: New. Describe how the new TODO works using www.feydakins.org. * NORM, README: Typo. 2005-02-08 Nicolas Despres * TODO: Move to ... * TODO.old: ... here. * src/strategies/Strategy.rb: Add a FIXME. 2005-02-07 Nicolas Pouillard * src/strategies/Strategy.rb: Add the dont_expand option to the Attribute class, and skip these attributes during the expand phase. * src/strategies/Suite.rb: Add dont_expand to the :contents attribute. * src/strategies/Test.rb, src/strategies/Fetcher.rb, * src/strategies/DistDispatch.rb, src/strategies/Glob.rb, * src/strategies/DistDelegate.rb, src/strategies/Tester.rb, * src/strategies/Ball.rb, src/strategies/Fetch.rb: Add dont_expand to the :test attribute. * src/strategies/Abort.rb: Layout. 2005-02-07 Nicolas Pouillard * src/getopts/uttk.rb: Change the default loader to Yaml. For OYaml inputs use the -L OYaml option. 2005-02-07 Nicolas Pouillard * test/uttk-minimal/killall.yml: Set weights correctly and add a test. 2005-02-07 Nicolas Despres * test/examples-suite.yml: Need at least a filename one char long. * test/uttk-minimal/glob.yml, test/uttk-minimal/killall.yml, * test/uttk-minimal/timeout.yml, test/uttk-minimal/fatal.yml, * test/uttk-minimal/sub.yml, test/uttk-minimal/block.yml, * test/uttk-minimal/author.yml, test/uttk-minimal/cat.yml, * test/uttk-minimal/diff.yml, test/uttk-minimal/wc.yml, * test/uttk-minimal/exit.yml, test/uttk-minimal/pool.yml, * test/uttk-minimal/base.yml, test/uttk-minimal/import.yml, * test/uttk-minimal/env_cmd.yml, test/all.yml, test/uttk-dist-suite.yml, * test/uttk-minimal-suite.yml, test/examples/students/stud.yml, * test/examples/students/mini-lib.yml, * test/examples/students/glob_stud.yml, * test/examples/students/pool_stud.yml: Adapt to the new input format in order to be more deterministic. * src/strategies/Suite.rb: Ensure @saved_path is defined. It may not be defined if the suite is interrupted during its prologue. * src/strategies/CmdBase.rb: Ensure @pid is defined. It may not be defined if the suite is interrupted during its initialization. 2005-02-07 Nicolas Despres * src/uttkd, src/strategies/DistDispatch.rb, * src/strategies/DistDelegate.rb, src/strategies/CmdBase.rb, * src/strategies/Strategy.rb, src/strategies/Sleep.rb: Raises an ArgumentError instead of a RuntimeError. * src/strategies/Suite.rb: 80 columns. 2005-02-07 Nicolas Despres * NORM: Add a rule for the logger utilization. 2005-02-06 Nicolas Despres * src/daemons/daemon/logger.rb: No longer use pp since a SystemStackError is raised when pretty printing a strategy result. * src/testers/Tester.rb: Notify the strategy's result. * src/monitors/client.rb: Print the time and the strategy's result. * src/monitors/monitor.rb: Include the notification time in when notifing external observers. 2005-02-06 Nicolas Despres * src/uttk: Avoid to duplicate the class name of the symtbl. * src/strategies/DistDelegate.rb: Prints a warning rather than raises an exception if no sub_testers are available. 2005-02-03 Nicolas Despres * src/strategies/Strategy.rb, src/strategies/Sleep.rb: Raise an error if the time value is negative. 2005-02-03 Nicolas Despres * src/strategies/Strategy.rb: Remove debugging code. * NORM: Remove methods visibility rule. 2005-02-02 Nicolas Despres * NORM: Correct english mistakes. 2005-02-02 Nicolas Despres * test/uttk-minimal/base.yml: Add a test. * src/strategies/Suite.rb: chnode(contents) in prologue. * src/strategies/CmdBase.rb: Makes abort_hook protected. * src/strategies/Strategy.rb: Make abort prettier. * NORM: Update to the new real norm of uttk. 2005-02-02 Nicolas Despres * test/uttk-minimal/killall.yml: Add a fixme. * test/uttk-minimal/pass.yml: Remove. Deprecated because of base.yml. * test/uttk-minimal/pool.yml: Makes it 99.9% deterministic. * test/uttk-minimal/base.yml: New. Test the basic features of uttk. * src/strategies/Pass.rb: English. * src/strategies/Fail.rb: No more specific Failure exception since it's useless for such a simple strategy. * src/strategies/PoolSuite.rb, src/strategies/Suite.rb, * src/strategies/CmdBase.rb: Manage abort properly. * src/strategies/Strategy.rb: Clean up exception management, test termination and timeout management. * src/strategies/Abort.rb: New. Strategy which always abort. * src/strategies/Sleep.rb: New. A Sleep strategy to avoid. * src/result/Stream.rb: Bug half fixed in chnode. 2005-02-01 Nicolas Pouillard * template/new_strategy.rb: New. See the HOWTO line, to make a new strategy for Uttk. 2005-02-01 Nicolas Pouillard * src/strategies/SubCmd.rb: Use the new loader. * src/dumpers/Notif.rb: New. A loader usefull for an internal but fully ordered output. * src/loaders/OYaml.rb, src/loaders/Yaml.rb: Fix a bug with the yaml node traverse. * src/filters/Saver.rb: Improve, and update. * src/strategies/CmdBase.rb: Add a new method to delegate the command creation. * src: Changed svn:externals property to refer to svn.feydakins.org. 2005-02-01 Nicolas Despres * src/uttkm, src/uttkd: --version prints a shorter date. 2005-01-30 Nicolas Despres * src/getopts/uttkd.rb: Add --rb-safe option to set the security level (1 is the default value). * src/daemons/Daemon.rb: Do not always set the security level to 2. * src/uttk.rb: Typo. * src/uttkd: Set the security level after the daemon's initialization. * src/strategies/Cmd.rb: Load only file with an .rb extension to avoid backup files for example. 2005-01-30 Nicolas Despres * src/uttkm: Freeze $PROGRAME_NAME and remove $VERBOSE = false. * src/getopts/uttk.rb: Uses a sub_module implemented in the same class. * src/daemons/daemon/logger.rb: Use DLogger to be compatible with uttk. * src/testers/tester/config.rb: Force to use the Config constant from the upper namespace. * src/uttk: Introduced config.rb contents. * src/uttk.rb: No more use of config.rb. Use autoload_tree. * src/uttkd: Store the logger in the LOG constant to be compatible with uttk. * src/config.rb: Remove. No longer required. 2005-01-30 Nicolas Despres * src/dumpers/Dumper.rb, src/filters/Filter.rb, src/loaders/Loader.rb, * src/strategies/Strategy.rb: Abstract classes. * src/dumpers/Xml.rb, src/dumpers/Yaml.rb, src/loaders/OYaml.rb, * src/loaders/YamlOld.rb, src/loaders/Yaml.rb, src/filters/Saver.rb, * src/filters/BasicLogger.rb, src/strategies/Test.rb, * src/strategies/Fetcher.rb, src/strategies/DistDispatch.rb, * src/strategies/Glob.rb, src/strategies/Authors.rb, * src/strategies/Compile.rb, src/strategies/DistDelegate.rb, * src/strategies/Tester.rb, src/strategies/Pass.rb, * src/strategies/Extract.rb, src/strategies/Ball.rb, * src/strategies/Fail.rb, src/strategies/Stub.rb, * src/strategies/Configure.rb, src/strategies/Clean.rb, * src/strategies/KillAll.rb, src/strategies/JUnit.rb, * src/strategies/Suite.rb, src/strategies/Error.rb, * src/strategies/Fetch.rb, src/strategies/Block.rb, * src/strategies/RUnit.rb, src/strategies/Cmd.rb, * src/strategies/Import.rb: Concrete classes. * src/uttk.rb: Requires abstract.rb. * src/monitors/monitor.rb: Correct english mistakes in the FIXME. 2005-01-29 Nicolas Despres * src/monitors/monitor.rb: Timeout notifications to remote observers. Required since we don't know how is implemented a monitor client. 2005-01-29 Nicolas Despres * src/getopts/uttk.rb: Remove the shebang line (sorry I did a mistake with the previous pathc). * src/monitors/monitor.rb: Use a thread to notify remote observers. This way the server do not block if a the client take time to deal with the notification. 2005-01-29 Nicolas Despres * src/getopts/uttkm.rb, src/getopts/uttkd.rb: Remove shebang line. * src/uttk: Move getopts to ... * src/getopts/uttk.rb: ... here. * src/config.rb: Assign $PROGRAME_NAME. 2005-01-29 Nicolas Despres * src/uttkm: Print more informations. * src/dumpable_doc.rb: Move to ... * src/doc.rb: ... here. * src/testers/Tester.rb, src/testers/Master.rb: Remove select_tester_eval. * src/strategies/DistDispatch.rb: Use select_tester and DumpableDoc -> Doc. * src/uttk.rb, src/strategies/DistDelegate.rb, src/strategies/Tester.rb: DumpableDoc -> Doc. * src/monitors/client.rb: Change the fixme. 2005-01-29 Nicolas Despres * src/services/fetcher_client.rb: No more front. * src/strategies/Fetch.rb: Use the client this there's no more front. 2005-01-29 Nicolas Despres * test/uttk-dist-suite.yml: Add monitor service uri. * src/uttkm: New. Driver for the client monitor. * src/services/monitor_server.rb: New. Service for the monitor server. * src/services/fetcher_client.rb: Add a fixme. * src/services/monitor_client.rb: New. Service for the monitor client. * src/services/drb_service.rb: Don't add a message type when forwarding notification from the front. * src/getopts/uttkm.rb: New. GetOpts for the monitor client driver. * src/getopts/uttkd.rb: Reorganize sections. Add option for the monitor service. * src/daemons/Daemon.rb: Start the monitor service. * src/testers/Tester.rb: Change notification message. * src/uttk: Remove commented statement. * src/uttkd: Require uttk.rb and remove useless statement. * src/monitors: New. Contains monitors front and classes. * src/monitors/client.rb: New. A monitor client. * src/monitors/server.rb: New. A monitor server front. * src/monitors/monitor.rb: New. The real observable of the monitor server. 2005-01-29 Nicolas Despres * src/services/tester_slave.rb: Notify the tester's name. * src/services/drb_service.rb: Forward notification from the front. * src/testers/tester/notifier.rb: New. A simple observable used by the front to notify its activity. Avoid the front to be observable itself. * src/testers/tester/query_node.rb: Manage when a query failed. * src/testers/Tester.rb: , changed property. Use a notifier to track run_strategy call. * src/uttkd: Remove commented statement. * src/strategies/KillAll.rb: Can specify the signal to send. 2005-01-28 Nicolas Despres * src/services/tester_master.rb: Make some notifications. * src/services/drb_service.rb: Becomes observable. * src/daemons/daemon/logger.rb: Don't pretty prin info if there is not any. * src/daemons/Slave.rb, src/daemons/Master.rb: Make the tester service observable by the pool. 2005-01-28 Nicolas Despres * test/uttk-dist-suite.yml: One logger per tester. * src/daemons/daemon: New. Contains implementation of Uttk::Daemons::Daemon namespace. * src/daemons/daemon/logger.rb: New. Logger for daemons. * src/daemons/Daemon.rb: $SAFE = 2. * src/uttkd: Adapt to new logger. 2005-01-28 Nicolas Despres * test/uttk-dist/tester.yml: Uncomment test. * src/services/fetcher_client.rb, src/services/tester_slave.rb, * src/services/tester_master.rb, src/services/tester_client.rb, * src/services/fetcher_server.rb: Use Uttk's version of drb_service. * src/services/drb_service.rb: New. Uttk's version of drb_service. 2005-01-28 Nicolas Despres * test/uttk-dist/tester.yml: Add a test that failed on my machine when run with the all uttk-dist-suite. Works fine alone. * src/testers/tester/query_node.rb: to_result manage summary. * src/testers/Tester.rb, src/testers/Master.rb: Another version of select (try to be a bit more efficient). * src/strategies/DistDispatch.rb: Manage summary. * src/strategies/DistDelegate.rb: Typo. Call super in summary. * src/strategies/Tester.rb: Give a name to local testers. 2005-01-28 Nicolas Despres * test/uttk-dist/tester.yml: Test the local_tester parameter of Tester. * src/strategies/Tester.rb: Fix bug. 2005-01-28 Nicolas Despres * test/uttk-dist/dist-delegate.yml: Test nested DistDelegate. 2005-01-28 Nicolas Despres * test/uttk-dist/tester.yml: New. A little test suite for the Tester strategy. * test/uttk-dist/dist-delegate.yml: Test nested Tester/DistDelegate. * src/testers/tester/config.rb: Fix a bug. * src/testers/Tester.rb, src/uttk: Do not keep the tester service in the symtbl. * src/strategies/Fetcher.rb, src/strategies/Fetch.rb: Call super in finish. * src/strategies/DistDelegate.rb: 80 columns. * src/strategies/Tester.rb: Start one client service in the prologue and stop it in finish. 2005-01-28 Nicolas Despres * src/strategies/Fetcher.rb: The fetcher_uri is added to the SymTbl of the sub test to avoid conflict if several Fetcher are in Pool. 2005-01-28 Nicolas Despres * src/fetchers/client.rb: The remote fetcher is a readable attribute. * src/strategies/Fetcher.rb: Store only the fetcher uri in the SymTbl. * src/strategies/Fetch.rb: Adapt to Fetcher changes. 2005-01-28 Nicolas Despres * src/services/fetcher_client.rb, src/services/tester_slave.rb, * src/services/tester_master.rb, src/services/tester_client.rb, * src/services/fetcher_server.rb: Become sub classes of DRbService. 2005-01-28 Nicolas Despres * src/testers/tester/query_node.rb: :query, :args and :block are no longer accessor since there is set_query. 2005-01-28 Nicolas Despres * src/testers/tester/query_node.rb: Use repeat instead of each/update. 2005-01-28 Nicolas Pouillard * src/strategies/Suite.rb: Little simplification. * src/strategies/DistDelegate.rb: Support the summary. * src/testers/Tester.rb: Provide a remote acces to the test. * test/uttk-dist/dist-fail.yml: Put a FIXME. 2005-01-28 Nicolas Pouillard * src/result/ToResult.rb: Remove useless tests and update others. 2005-01-28 Nicolas Pouillard * src/strategies/DistDelegate.rb: Use the F::Saver#repeat method, to fix a bug with the uttk-dist-suite.yml. 2005-01-27 Nicolas Pouillard This patch put a first step in favor of our new yaml syntax. Since we found an unsolvable bug with OYaml we try to switch to another syntax. * src/dumpers/Yaml.rb: Update the output syntax. * src/loaders/OYaml.rb: Update naming. * src/loaders/YamlOld.rb: New. From Yaml.rb. * src/loaders/Yaml.rb: The new Yaml loader. * src/filters/Saver.rb: Improve. * src/strategies/SubCmd.rb: Add a fixme. * src/strategies/Tester.rb, * src/strategies/PoolSuite.rb, * src/testers/Tester.rb: Update to new Filters::Saver. * src/strategies/Import.rb, * src/strategies/Suite.rb: Update and specify the contents type. * src/result/ToResult.rb: Remove BaseNode, and add OHash support. * src/result/Stream.rb, src/result/Path.rb: Add type support. * test/examples-suite.yml, * test/uttk-minimal/glob.yml, * test/uttk-minimal/killall.yml, * test/uttk-minimal/timeout.yml, * test/uttk-minimal/author.yml, * test/uttk-minimal/pool.yml, * test/uttk-minimal/wc.yml, * test/uttk-dist-suite.yml, * test/uttk-minimal-suite.yml, * test/examples/students-suite.yml, * test/examples/students/mini-lib.yml, * test/examples/students/glob_stud.yml: Update regexp syntax. 2005-01-26 Nicolas Despres * test/uttk-dist/local-fetch.yml: New. Test a local Fetcher/Fetch. * test/uttk-dist/cat, test/uttk-dist/cat/file.in, * test/uttk-dist/cat/file.out: New. Some resources. * test/uttk-dist/dist-cat.yml: Test cat with files. * test/uttk-minimal/author.yml: Test <>. * test/uttk-dist-suite.yml: Add --force-fetch option. * src/services/fetcher_client.rb: New. Service for the fetcher client. Started by the Fetch strategy. * src/services/tester_master.rb: Use attr_reader. * src/services/fetcher_server.rb: New. Service for the fetcher server. Started by the Fetcher strategy. * src/daemons/Slave.rb: Do require uri/druby any more. * src/testers/Tester.rb: Create the sub symtbl with the good class. * src/uttk: Add --force-fetch option (mainly for debug purpose). * src/fetchers: New. Contains fetcher service fronts. * src/fetchers/client.rb: New. Front for the fetcher client. * src/fetchers/fetchers_test.rb: New. A unit test suite of the fetcher. * src/fetchers/server: New. Contains Uttk::Fetchers::Server namespace. * src/fetchers/server/sender.rb: New. Send a file to a receiver. * src/fetchers/server.rb: New. Front for the fetcher server. * src/fetchers/client: New. Contains Uttk::Fetchers::Client namespace. * src/fetchers/client/receiver.rb: New. Receive a file from a sender. * src/uttk.rb: Some requirements. * src/strategies/Fetcher.rb: New. Start a fetcher server and store it into the symtbl. * src/strategies/DistDelegate.rb: Factorize the tester description. * src/strategies/Tester.rb: Reorganize the code. * src/strategies/Extract.rb: Use Dir.tmpdir instead of /tmp. * src/strategies/Fetch.rb: New. Start a fetcher client and connect to the current fetcher (if any), then fetch files from it into a temporary directory. Run a strategy. Finally, remove files. * src/strategies/Suite.rb: Move tester and sub_testers assignment to Strategy. * src/strategies/Strategy.rb: Transmit the tester and the sub_testers to the test created. * src/symtbl/SymTbl.rb: Add unsync_key methods. 2005-01-25 Nicolas Despres * test/uttk-dist/dist-delegate.yml: Test to delegate Tester. * src/services/tester_slave.rb, src/services/tester_master.rb, * src/services/tester_client.rb: Undumpable. * src/uttk: Synchronize some symtbl key. * src/strategies/Strategy.rb: Change hosted_by. * src/strategies/Tester.rb: Do not synchronize any more since the symtbl do it. * src/symtbl/SymTbl.rb: Allow to freeze and synchronize (via a mutex) some keys. 2005-01-25 Nicolas Despres * src/testers/tester/config.rb: Add some sugar methods. 2005-01-25 Nicolas Despres * test/uttk-dist/dist-suite-fatal.yml, test/uttk-dist/dist-long.yml, * test/uttk-dist/dist-simple-dup.yml, test/uttk-dist/dist-simple.yml: Remove since there are no longer relevant. * test/uttk-dist/dist-pass.yml: Change test name. * test/uttk-dist/dist-cat.yml, test/uttk-dist/dist-suite.yml: Adapted to new design. * test/uttk-dist/dist-error.yml: New. An Error strategy in a Tester. * test/uttk-dist/dist-fail.yml: New. A Fail strategy in a Tester. * test/uttk-dist-suite.yml: Enable all test in uttk-dist/. 2005-01-25 Nicolas Despres * test/uttk-dist/dist-dispatch.yml: New. DistDispatch test suite. * test/uttk-dist-suite.yml: Launch two slave attach to master0. * src/services/tester_slave.rb, src/services/tester_master.rb: Take the tester name in argument. * src/getopts/uttkd.rb: Add -n option to specify the tester name. * src/daemons/Slave.rb, src/daemons/Master.rb: Give the tester name to the service which is going to be started. * src/testers/tester/query_node.rb: Store the tester name and tester type in the query to avoid remote call when reporting result. * src/testers/Tester.rb: Bind tester service uri and tester config to the select block. Add `requests' that list all requests available on the tester. * src/testers/Master.rb: Adapted to QueryNode new constructor. * src/strategies/DistDispatch.rb: New. Select testers using the select code block. Then run the given strategy on every selected tester if it is a leaf. * src/strategies/Suite.rb: Transmit tester and sub_testers attributes. * src/strategies/DistDelegate.rb: Layout. 2005-01-25 Nicolas Despres * src/testers/Tester.rb: Store the a string of the class instead of the class const in the tester_type field of the config. * src/strategies/DistDelegate.rb: Print more information about testers. * src/strategies/Strategy.rb: Start to deprecate hosted_by. 2005-01-25 Nicolas Despres * src/testers/tester/config.rb: New. Tester config class (lazy). * src/testers/Tester.rb: Use the config class. * src/strategies/DistDelegate.rb: Remove fixme. 2005-01-25 Nicolas Despres * test/uttk-dist-suite.yml: s/tenochtitlan/localhost/g. 2005-01-25 Nicolas Despres * test/uttk-dist/dist-delegate.yml: New. Test suite of the strategy DistDelegate. * src/strategies/DistDelegate.rb: Add a FIXME. 2005-01-25 Nicolas Despres * test/uttk-dist-suite.yml: Adapted to the new design. Some test are not adapted yet. * src/testers/Tester.rb: require 'uttk'. * src/testers/Slave.rb, src/testers/Master.rb: Typo. * src/uttk: Do not create the client tester service all the time. * src/strategies/Strategy.rb: sub_testers description and default value. * src/strategies/Tester.rb: Start the client service if not. * src/symtbl/SymTbl.rb: include Mutex_m. * src/strategies/DistDelegate.rb: New. Run strategy in parameter on all sub testers. 2005-01-25 Nicolas Despres * src/testers/tester.rb: Move to ... * src/testers/Tester.rb: ... here. * src/testers/slave.rb: Move to ... * src/testers/Slave.rb: ... here. * src/testers/master.rb: Move to ... * src/testers/Master.rb: ... here. * src/services/tester_slave.rb, src/services/tester_master.rb, * src/strategies/Tester.rb: Adapted to the new file name. 2005-01-25 Nicolas Despres * src/uttk: Do not start client tester service. * src/strategies/Tester.rb: Start it here. 2005-01-24 Nicolas Despres * src/testers/tester.rb: Move config initialization code to a method. 2005-01-24 Nicolas Despres * src/testers/tester: New. Contains classes/modules implemented in the namespace Uttk::Testers::Tester. * src/testers/tester/query_node.rb: New. Implementation of a query node tree. Used to describe queries to a tree of testers. * src/testers/tester.rb: Bug fixes in the config initialization. Implements select_tester and query_tester. Rename init_test to test_created. * src/testers/slave.rb: Rename init_test to test_created * src/testers/master.rb: Rename init_test to test_created. Implements select_tester and query_tester. 2005-01-24 Marco Tessari * misc/gendoc.rb: Inline code in documentation (rdoc -S). 2005-01-24 Marco Tessari * src/symtbl/SymTbl.rb: Add implementation for Array class. Don't replace unchanged Hash or Array. 2005-01-24 Marco Tessari * src/strategies/Import.rb: New attribute: loader to specify what loader to use when importing. * test/all.yml: Rewrite in OYaml form, factorise and use then new Import feature, but still useless. * src/strategies/Glob.rb: Symbol table must be filled before the test is instanciated. * src/strategies/Suite.rb: Create can now have a block. * src/strategies/Block.rb: Fix unit test. * src/strategies/Configure.rb: Clean requires. * src/strategies/Compile.rb: Rewrite using suite agregation and no more inheritance. * src/strategies/Authors.rb: add attribute 'file' to specify the AUTHORS file name. 2005-01-24 Marco Tessari * test/all/weight.yml: Add some tests with fatal strategies and negative weights. * src/weights/Weight.rb: Don't return 0 if we have normalize(0, 0) and a nonzero suite weight. This behaviour is wanted when we have a setup fatal test at the begining of a test suite. * src/weights/WMin.rb: Change prototype. * src/strategies/Suite.rb: Weight only have to influence upper levels, not current. Remove old set_one_attribute call in UnitTest. 2005-01-24 Nicolas Pouillard * src/strategies/Strategy.rb: No more convert space into underscores. * test/uttk-minimal/cat.yml, test/uttk-minimal/wc.yml: Use underscores instead of spaces for `input_from_file'... * test/uttk-minimal/import.yml: Remove a useless null weight. 2005-01-24 Nicolas Pouillard * src/strategies/Cmd/Stream.rb: Use rewind and check the stream parameter value. * src/strategies/Cmd/StreamDiff.rb: Use rewind in IO#to_diff_for_result. * src/strategies/CmdBase.rb: Use TempPath.new not Tempfile.mktemp. * src/uttkd: Little fix with a bad path specification. 2005-01-23 Nicolas Despres * DESCRIPTION: Correct english mistakes and repetition. * src/services/tester_master.rb: Remove bug statement. * src/testers/tester.rb: Rev, changed property. * src/tester.rb: Remove. Deprecated since session is no longer used. 2005-01-23 Nicolas Despres * DESCRIPTION: New. A short and a long decription of uttk. 2005-01-23 Nicolas Pouillard * vcs/HOWTO: New. Read it to know how to commit in Uttk. * misc: Changed svn:external property, remove vcs. * misc/checkin: Remove. Deprecated. * misc/checkin.rb: Remove. Deprecated. * src/getopts: Changed svn:ignore property. * src/daemons: Changed svn:ignore property. 2005-01-23 Nicolas Despres * src/services/tester_slave.rb, src/services/tester_master.rb, * src/services/tester_client.rb: Store the uri using a uri object instead of a string. * src/daemons/Slave.rb: Don't convert the uri object to string. * src/testers/tester.rb: Clean up and comments. * src/testers/slave.rb: Initialize the sub_tester test attributes. * src/testers/master.rb: Clean up. * src/uttk: Layout. * src/strategies/Strategy.rb: Do not parse the uri any more. Layout. * src/strategies/Tester.rb: Index slaves' DRbObject using uri object instead of uri string. 2005-01-22 Nicolas Despres * test/uttk-dist/dist-pass.yml: New. A simple test pass in a tester. * test/uttk-dist/dist-nested-pass.yml: New. A simple tester nested in a tester. * test/uttk-minimal/pass.yml: New. A pas test. * src/client.rb: Move to ... * src/services: New. Contains services. Generaly configure and create a DRuby server, but can be implemented differently. * src/services/tester_slave.rb: New. Start a slave tester service with a Testers::Slave front. * src/services/tester_master.rb: New. Start a master tester service with a Testers::Master front. * src/services/tester_client.rb: ... here. Start a DRuby service with no front. * src/getopts: New. Contains different getopts used in Uttk. * src/getopts/uttkd.rb: New. Getopts for the uttk daemon driver. * src/daemons: New. Contains a hierarchy of daemons used in uttk. All daemon are started (and dynamically loaded) by the uttkd driver. * src/daemons/Daemon.rb: New. Mother class of the hierarchy (abstract). * src/daemons/Slave.rb: New. A slave daemon (concrete). * src/daemons/Master.rb: New. A master daemon (concrete). * src/dispatcher.rb: Remove. Deprecated since there is master tester. * src/testers: New. Contains a hierarchy of testers used in uttk. * src/testers/tester.rb: New. Mother class of the hierarchy (abstract). * src/testers/slave.rb: New. A slave tester (concrete). * src/testers/master.rb: New. A master tester (concrete). * src/host_selectors: Remove. Deprecated since there is the tester hierachy. * src/host_selectors/HostSelector.rb: Remove. Same reason as above. * src/uttk: Adapted to the new design. No more host selector option. Take tester uris options instead. * src/daemon: Remove. No becomes daemons hierarchy. * src/daemon/profile.rb: Remove. * src/daemon/daemon.rb: Remove. * src/daemon/server.rb: Remove. * src/daemon/tester.rb: Remove. * src/daemon/profile_tester.rb: Remove. * src/daemon/const.rb: Remove. * src/uttk.rb: No more HostSelector hierachy; * src/uttkd: Rev and Date for the --version message, changed property. * src/strategies/Strategy.rb: New 'hosted_by'. Two new attributes: tester and sub_testers. * src/strategies/RemoteSuite.rb: Remove. No longer useful this there is Strategies::Tester. * src/strategies/Tester.rb: New. Create a master tester (and optionaly attacher a slave tester to it), add it the tester uris in parameters and send it the test strategy. 2005-01-21 Nicolas Pouillard * src/strategies/Suite.rb: Bypass a bug, with an hidden attribute by providing access methods to the strategy attribute. 2005-01-21 Nicolas Pouillard * src/strategies/Cmd/StreamDiff.rb: Just restore the real code. 2005-01-20 Nicolas Pouillard * src/strategies/Suite.rb: Fix a typo in initialize. 2005-01-20 Nicolas Pouillard * src/uttk: Check that result is not nil before close it. 2005-01-19 Nicolas Pouillard * src/uttk: Little fix, move the ensure to a valid place. * src/dumpers/Xml.rb: Only puts CDATA in text parts. 2005-01-19 Nicolas Pouillard * src/uttk: Ensure the result closing. 2005-01-19 Nicolas Pouillard * src/result/Stream.rb: Add the `close' method and notification. * src/uttk: Call close on the result. * src/dumpers/Xml.rb: Clean up. 2005-01-17 Nicolas Pouillard * src/uttk: No more try to convert STDIN into a Pathname, and fix a typo with server_db. 2005-01-14 Nicolas Despres * test/uttk-dist/dist-simple-dup.yml: Use regexp * src/dispatchers/Dispatcher.rb: Move to ... * src/dispatcher.rb: New. ...here. * src/host_selectors: New. Hierarchy of host selectors * src/host_selectors/HostSelector.rb: New. Mother class of the hierarchy. * src/uttk: Provide option for to select the host selector. * src/uttk.rb: HostSelectors module instead of Dispatchers. * src/dispatchers: Remove. No longer useful. * src/dispatchers/Random.rb: Remove. HostSelector do the same now. * src/strategies/DistSuite.rb: Move to ... * src/strategies/RemoteSuite.rb: New. ... here 2004-12-22 Nicolas Pouillard * src/strategies/Cmd/StreamDiff.rb: New. * test/uttk-minimal/diff.yml: New. * src/strategies/Cmd.rb: Simple autoload for Cmd/*, and add the stream_class= method. * src/result/ToResult.rb: Typo. 2004-12-22 Nicolas Pouillard * src/dumpers/Yaml.rb: Fix an indentation bug with multilined string. 2004-12-18 Nicolas Pouillard * src/uttk: The Tempfile.close is no more needed, since mktemp use a finalizer. 2004-12-10 Jérôme Pouiller * src/dumpers/Xml.rb: 2004-12-10 Nicolas Despres * test/uttk-dist/dist-simple-dup.yml: New. Suite duplicated on three servers. * test/uttk-dist/dist-suite-nested-in-pool.yml, * test/uttk-dist/dist-suite-indirect-nested.yml, * test/uttk-dist/dist-suite-nested.yml, * test/uttk-dist/dist-suite-nested-3.yml: Move to ... while uttk block with them. * test/all/dist-suite-nested-in-pool.yml, * test/all/dist-suite-indirect-nested.yml, * test/all/dist-suite-nested-3.yml, * test/all/dist-suite-nested.yml: ... here * test/uttk-dist/dist-suite.yml: Remove comment. * test/uttk-dist/dist-simple.yml: Clean up. * test/uttk-dist-suite.yml: Remove -j1 option. * src/daemon/daemon.rb: Check process uid only when daemon mode is on. * src/daemon/const.rb: Daemon mode default option and version. * src/uttkd: New option -d to switch on daemon mode. 2004-12-10 Nicolas Despres * test/uttk-dist/dist-cat.yml: New. test Cmd in the distributed world. * src/daemon/daemon.rb, src/strategies/DistSuite.rb, * src/strategies/Strategy.rb: Adapted to the new exception pretty printer. 2004-12-09 Nicolas Despres * test/uttk-dist/dist-long.yml: A bit longer * test/uttk-dist/dist-suite-nested-in-pool.yml: New. * test/uttk-dist/dist-suite-indirect-nested.yml: New. * test/uttk-dist/dist-suite-nested.yml: Add a pass test. * test/uttk-dist/dist-suite-nested-3.yml: New. * test/uttk-minimal/pool.yml: Add a FIXME. * src/client.rb: Do not store the tester uri as an attribute any more. Take a doc as argument instead of a test. * src/dumpable_doc.rb: New. A OHash which is DRbUndumpedIndexedObject. * src/loaders/Loader.rb: Little fixes. * src/uttk: Remove -j option, and no longer store an instance of the dispatcher in the symtbl. * src/daemon/tester.rb: Take a doc as argument and create a local PoolSuite. * src/uttk.rb: Add dumpable_doc. * src/tester.rb: Clean log message. * src/dispatchers/Dispatcher.rb: No longer take max_jobs and client_class as constructor arguments. * src/strategies/DistSuite.rb: Redone from scratch. No longuer a Suite. Send raw contents and attributes to the server. * src/strategies/PoolSuite.rb: Little fix. It can happen that the PoolSuite is aborted before it creats its thread group. * src/strategies/Suite.rb: Add a message to the exception. * src/strategies/Strategy.rb: Remade hosted_by and pretty print exception. 2004-12-09 Nicolas Pouillard * src/filters/BasicLogger.rb: Add a require and parenthesis. 2004-12-09 Nicolas Pouillard * src/filters/BasicLogger.rb: Use the given parameter as logger only if is a Logger. 2004-12-09 Nicolas Pouillard * src/uttk: Fix the --input option. 2004-12-09 Nicolas Despres * test/uttk-dist/dist-suite-fatal.yml: New. Test FatalFailure handling. * test/uttk-dist/dist-long.yml: New. A little long suite for performance issue. * test/uttk-dist/dist-suite.yml: Use regexp. * test/uttk-dist/dist-simple.yml: Little suite with Pass, Fail, Error. * test/uttk-dist/dist-suite-nested.yml: New. Nested DistSuite. * src/daemon/tester.rb: Handle FatalFailure * src/strategies/DistSuite.rb: Use RuntimeError. No longer undumped. Little fixes. * src/strategies/KillAll.rb: Use RuntimeError. * src/strategies/Error.rb: New. A strategy which always raises an exception. * src/strategies/Strategy.rb: Handle every exception instead of only RunError. 2004-12-09 Nicolas Despres * test/uttk-dist/dist-suite.yml, test/uttk-dist/dist-simple.yml, * test/uttk-minimal/pool.yml, test/examples/students/pool_stud.yml: Rename xxx to xxxSuite. * src/strategies/DistSuite.rb: ...here * src/strategies/PoolSuite.rb: ...that * src/strategies/Dist.rb: Rename to ... * src/strategies/Pool.rb: Rename to ... 2004-12-09 Nicolas Despres * test/uttk-dist/dist-suite.yml, test/uttk-dist/dist-simple.yml: Use the Dist strategy. * src/client.rb, src/tester.rb: Only send the test. * src/uttk: New way to create the dispatcher. * src/daemon/tester.rb: Create the result localy. * src/strategies/Strategy.rb: Clean up. * src/strategies/Dist.rb: New. A suite to distributed test over the network. Do not manage abort yet. * src/strategies/Pool.rb: Clean up and do not raise FatalFailure anymore. 2004-12-09 Nicolas Pouillard * src/strategies/Suite.rb: Fix a bug with the indentation and clean up. * src/strategies/Pool.rb: Temporarly fix abort. * test/uttk-minimal/glob.yml: Typo in path. 2004-12-08 Nicolas Despres * src/strategies/Suite.rb: Use milogue_test * src/strategies/Strategy.rb: Remove the hosts attribute. * src/strategies/Pool.rb: Call {pro,mi,epi}logue_test. 2004-12-08 Nicolas Despres * test/uttk-minimal/pool.yml, test/examples/students/pool_stud.yml: Use the new strategy Pool. * src/strategies/Suite.rb: Remove pool features. * src/strategies/Strategy.rb: Remove dispatch features * src/strategies/Pool.rb: New. A threadify suite strategy. 2004-12-08 Nicolas Despres * src/daemon/tester.rb, src/strategies/CmdBase.rb: Clean bad comments. * src/daemon/const.rb: Use pathname. 2004-12-08 Nicolas Pouillard * src/strategies/Strategy.rb: Use and update Strategy to fit with AttributedClass from ruby_ex. 2004-12-07 Nicolas Despres * src/uttk: Change --profile label. * src/daemon/tester.rb: Logger message reorganization and some comments for later work. * src/uttkd: Change --clean label. * src/strategies/CmdBase.rb: Some none relevant statement, only for testing uttk's behavior in distributed mode. 2004-12-07 Nicolas Pouillard * src/strategies/Strategy.rb: Make mandatory the strategy attribute. 2004-12-07 Nicolas Pouillard * src/strategies/Cmd/Stream.rb: Change the compare stream method for IO. * test/uttk-minimal/cat.yml: New. 2004-12-07 Nicolas Despres * src/uttk: --profile is no longer a toggle. * src/daemon/tester.rb: Layout and add a log message. * src/uttkd: --clean is no longer a toggle. 2004-12-07 Nicolas Despres * src/client.rb, src/uttk, src/tester.rb, * src/dispatchers/Dispatcher.rb: Use Uttk's salt key. * src/daemon/const.rb: Add and use Uttk's salt key. 2004-12-07 Nicolas Despres * src/client.rb: New. Main client which is connected to the main server Server. * src/daemon/tester.rb: Fix bug. * src/tester.rb: Becomes a specific client for the tester server. * src/dispatchers/Dispatcher.rb: Use Uttk::Client as client. 2004-12-07 Nicolas Despres * src/daemon/tester.rb: Typo and include Fetchable. * src/tester.rb: include Fetcher. 2004-12-07 Nicolas Despres * src/daemon/daemon.rb: Setup working directory and check uid. * src/daemon/server.rb, src/daemon/tester.rb: Use the daemon constants. * src/daemon/const.rb: New. Hold the daemon constants. * src/uttkd: Add --clean option. 2004-12-07 Nicolas Despres * src/uttk: Raise an OptionParser error if the server format is not good in -S option. 2004-12-07 Nicolas Despres * src/uttk: Add --profile option. * src/uttkd: Check needless command line arguments. 2004-12-07 Nicolas Pouillard * src/loaders/Loader.rb: Clean the design. * src/uttk, src/config.rb, src/strategies/SubCmd.rb, * src/strategies/Block.rb, src/strategies/RUnit.rb, * src/strategies/Strategy.rb, src/strategies/Import.rb: Update. * src/strategies/Suite.rb: Update create, and tests. * test/uttk-minimal/pool.yml: Increase timeout. 2004-12-07 Nicolas Despres * src/uttk: Debug message when the dispatcher logout. * src/daemon/profile.rb: New. Session user profile used in the main server. * src/daemon/daemon.rb: Adapt options initialisation. * src/daemon/tester.rb: Now a subserver with only the request testme. * src/daemon/profile_tester.rb: New. Session user profile used in the tester. * src/daemon/server.rb: New. Main server class. * src/tester.rb: Start a tester at the first testme, connect to it and request testme on it. * src/dispatchers/Dispatcher.rb: Delete useless code. * src/strategies/Strategy.rb: Temporary error handling. Use result[:reason] rather than result.reason in RunError. 2004-12-07 Nicolas Pouillard * src/uttk: OYaml become the default Loader. * test/uttk-minimal/sub.yml: Update. * test/uttk-dist-suite.yml: Update. * src/strategies/KillAll.rb: Typo. 2004-12-06 Nicolas Pouillard * src/strategies/CmdBase.rb: Fix the bug with the process killing, you must obtain 100% at the minimal test suite. * src/dumpers/Yaml.rb: Fix a bug, remove gsub! which not return self when do not match. * test/uttk-minimal/timeout.yml, test/uttk-minimal/pool.yml, * test/uttk-minimal/wc.yml, test/uttk-dist-suite.yml: Use KillAll. 2004-12-06 Nicolas Pouillard * src/strategies/KillAll.rb: Stock the pid list and fail when the strategy kill at least a process. * test/uttk-minimal/killall.yml: Update. 2004-12-06 Nicolas Pouillard * src/strategies/KillAll.rb: New. * test/uttk-minimal/killall.yml: New. 2004-12-06 Nicolas Pouillard * test/uttk-minimal-suite.yml: Use the import strategy. * test/examples: New. Directory for tests examples. * test/examples-suite.yml: New. * test/examples/students-suite.yml: New. * test/all/text: Rename to ... * test/ressources/text: ... this. * test/mini-lib: Rename to ... * test/ressources/mini-lib: ... this. * test/all/ball: Rename to ... * test/ressources/ball: ... this. * test/all/stud.yml: Rename to ... * test/examples/students/stud.yml: ... this, and upgrade to OYaml. * test/all/mini-lib.yml: Rename to ... * test/examples/students/mini-lib.yml: ... this, OYaml. * test/all/glob_stud.yml: Rename to ... * test/examples/students/glob_stud.yml: ... this, OYaml. * test/all/pool_stud.yml: Rename to ... * test/examples/students/pool_stud.yml: ... this, OYaml. * test/all/ball.yml: Rename to ... * test/examples/students/ball.yml: ... this, OYaml. * test/uttk-minimal/author.yml: Update. * test/uttk-minimal/wc.yml: Update. 2004-12-06 Nicolas Pouillard * src/loaders/Loader.rb: Handle Pathname in pre_load. * src/strategies/Suite.rb: Use @symtbl.class instead of symtbl.class. * src/strategies/Cmd: Changed property. * src/symtbl: Changed property. 2004-12-06 Nicolas Pouillard * src/strategies/Import.rb: New strategy which load another test file. * test/uttk-minimal/import.yml: New. 2004-12-04 Nicolas Pouillard * test/uttk-minimal/glob.yml: Update the regexp format. * test/uttk-minimal/wc.yml: Use regexps to avoid some problems with `wc' on differents architecture. * test/uttk-minimal/sub.yml: No more the %o option. * src/dumpers/Yaml.rb: Change regexp pretty-printing, and replace '' by "". * src/loaders/OYaml.rb: Compile a Regexp when found a string like /.*/. * src/uttk.rb: Remove the SymTbl extension. * src/strategies/SubCmd.rb: Update to new command. * src/strategies/Glob.rb: Make a Regexp if needed. * src/strategies/Suite.rb: Do not use directly SymTbl. * src/strategies/Block.rb, * src/uttk: Use a Uttk::SymTbl instead of a SymTbl. * src/strategies/Cmd.rb, * src/strategies/CmdBase.rb: Redesing and clean up. * src/strategies/Cmd/Stream.rb: New. * src/strategies/Strategy.rb: Update to new symtbl substitution system and clean up the attributes layout. * src/strategies/Extract.rb: @tarball is a pathname. * src/symtbl/SymTbl.rb: New, SymTbl sub class is DRbUndumped, and have generic substution system. 2004-12-03 Nicolas Pouillard * src/config.rb: Define ABS_ME the absolute path for $0. * src/strategies/SubCmd.rb: Use ABS_ME. * test/uttk-dist-suite.yml: Use SubCmd. 2004-12-03 Nicolas Pouillard * src/dumpers/Yaml.rb: Use source to print the regex. 2004-12-03 Nicolas Pouillard * test/uttk-minimal/sub.yml, test/uttk-minimal-suite.yml: Use SubCmd. * test/uttk-dist-suite.yml: Do not use logfiles. * src/strategies/Cmd.rb: Remove the sub mode. * src/strategies/SubCmd.rb: New Cmd sub class, which runs sub uttk instances. 2004-12-03 Nicolas Pouillard * test/uttk-dist-suite.yml: New. * test/uttk-minimal/dist-suite.yml: Rename to ... * test/uttk-dist/dist-suite.yml: ... this. * test/all/dist-simple.yml: Rename to ... * test/uttk-dist/dist-simple.yml: ... this. * src/weights/Weight.rb: Return pass in specific case. * src/strategies/Cmd.rb: Fix sub mode. 2004-12-02 Nicolas Pouillard Update svn:keywords and svn:ignore properties. 2004-12-02 Nicolas Pouillard * misc/gendoc.rb: Update. 2004-12-02 Nicolas Pouillard * src/strategies/Strategy.rb: Use the non greedy operator *? and a block to make the good subsitution. * test/uttk-minimal/env_cmd.yml: Add a test. 2004-12-02 Nicolas Pouillard * src/strategies/CmdBase.rb: Fix a bug with the timeout. Which occurs when a test (A) which contains `Cmd' tests (B, C). When A timeout, B or C catch the exception. 2004-12-02 Nicolas Pouillard * src/strategies/Suite.rb: Typo on a instance variable name. * src/weights/WFloat.rb: Use floor instead of round. 2004-12-01 Nicolas Pouillard * test/all/dist-suite.yml: Rename to ... * test/uttk-minimal/dist-suite.yml: ... this, and update to OYaml. * src/dispatchers/Dispatcher.rb: Add select_and_choose. * src/strategies/Strategy.rb: Factor code. 2004-12-01 Nicolas Pouillard * src/result/Path.rb: New. * src/result/Stream.rb: Use Path. 2004-11-29 Nicolas Pouillard Add the uttk-minimal-suite, moving some tests from all, and convert them in OYaml. This suite is directory independant, and must be run before each patch, you must obtain 100%. * test/uttk-minimal-suite.yml: New. * test/all/author.yml: Rename to ... * test/uttk-minimal/author.yml: ... this. * test/all/glob.yml: Rename to ... * test/uttk-minimal/glob.yml: ... this. * test/all/timeout.yml: Rename to ... * test/uttk-minimal/timeout.yml: ... this. * test/all/fatal.yml: Rename to ... * test/uttk-minimal/fatal.yml: ... this. * test/all/exit.yml: Rename to ... * test/uttk-minimal/exit.yml: ... this. * test/all/pool.yml: Rename to ... * test/uttk-minimal/pool.yml: ... this. * test/all/wc.yml: Rename to ... * test/uttk-minimal/wc.yml: ... this. * test/all/sub.yml: Rename to ... * test/uttk-minimal/sub.yml: ... this. * test/all/block.yml: Rename to ... * test/uttk-minimal/block.yml: ... this. * test/uttk-minimal/env_cmd.yml: ... this. * test/all/env_cmd.yml: Rename to ... 2004-11-29 Nicolas Pouillard * src/dumpers/Yaml.rb: Clean the strategy dump, and dump OHash like Hash. * src/uttk: Put the pwd in the symtbl. * src/uttk.rb: SymTbl is DRbUndumped in uttk. * src/loaders/OYaml.rb: Delegate other transformations to yaml. * src/dispatchers/Dispatcher.rb: Use constants and not variables. * src/strategies/Glob.rb: Renaming. * src/strategies/Suite.rb, src/loaders/Loader.rb: Set the pwd. * src/strategies/Strategy.rb: Replace @failed by @status, provide a temporary implentation of host_dispatcher, and replace host_{attribute,values} by hosts. * src/strategies/Cmd.rb: Update status, and fix summary in sub mode. * src/strategies/CmdBase.rb, src/strategies/Assert.rb: Update status.. 2004-11-29 Nicolas Despres * src/daemon/daemon.rb: Remove uttk requirement. * src/daemon/tester.rb: Add a fixme. * src/uttkd: Add --workdir option. * src/strategies/Strategy.rb: Include DRb::DRbUndumpedAttributes. * src/ruby_ex/symtbl.rb: include DRb::DRbUndumped. 2004-11-29 Nicolas Pouillard * src/strategies/Strategy.rb: No longer perform a double Marshal.dump to dump a Strategy. 2004-11-29 Nicolas Despres * src/uttkd: Remove 'DISPATCHER = nil' * src/strategies/Strategy.rb: Remove dead code in _dump. 2004-11-29 Nicolas Despres * src/uttk, src/daemon/tester.rb: No longer use DISPATCHER. * src/tester.rb: Remove hooks. * src/strategies/Strategy.rb: Properly dumped. 2004-11-27 Nicolas Pouillard * src/loaders/Yaml.rb: Add backward compatibility. * src/loaders/OYaml.rb, * src/dispatchers/Dispatcher.rb, * src/strategies/Configure.rb, * src/strategies/Suite.rb, * src/strategies/Strategy.rb, * src/strategies/Ball.rb, * src/strategies/Extract.rb, * src/result/Stream.rb: Use :strategy, not :class. 2004-11-27 Nicolas Pouillard * src/uttk: Use a constant for the dispatcher instead of the symtbl beacause the dispatcher is undumable so we cannot include it in the symtbl. * src/daemon/daemon.rb: Add require 'uttk'. * src/daemon/tester.rb: Likewise. Set the dispatcher constant. * src/uttk.rb (sub_modules): Sort sub modules. * src/uttkd (getopts): Factor the verbose option. * src/strategies/Strategy.rb: Use the dispatcher constant to dispatch and temporary change the result using convention, because missing_method doesn't pass through druby. * src/weights/Weight.rb (to_yaml): Transmit the parameter. 2004-11-26 Nicolas Despres * test/all/dist-simple.yml: New. Simple example of a distributed pass test. * test/all/dist-suite.yml: New. Simple example of distributed suite. * src/uttk: Clean up options parser. * src/daemon/daemon.rb: Remove start_logger. * src/daemon/tester.rb: Log received test. * src/uttk.rb: Remove module Daemon. * src/uttkd: Create a logger and parse options. * src/uttkd.rb: Remove. No longer usefull and introduce a nasty bug. * src/tester.rb: Do not require daemon/tester any more (Temporary). * src/dispatchers/Dispatcher.rb: Log available server. Do not require daemon/tester any more (Temporary). * src/strategies/Strategy.rb: Improve the dispatcher code and add a RunError exception. 2004-11-26 Nicolas Pouillard Run it before your commits to check that you break nothing. * test/uttk-check: New. 2004-11-26 Nicolas Pouillard * src/uttk.rb: Change the autoload. * src/strategies/Block.rb: Update tests. * src/strategies/Strategy.rb: Move `hosted_by'. * src/result/Stream.rb: No more require 'result/ToResult'. 2004-11-26 Nicolas Pouillard * misc/uttkci.rb: Rename to ... * vcs/uttk.rb: ... this, and update. 2004-11-26 Nicolas Pouillard * src/Tools/YamlRUnitTestRunner.rb, src/Tools/SymTbl.rb: Remove. These tools are in ruby_ex now. 2004-11-25 Nicolas Despres * src/uttk: Store the dispatcher in the symbol table. * src/daemon/daemon.rb: New. Uttk Daemon main class. * src/daemon/tester.rb: Log login and logout. * src/uttk.rb: Add module Daemon. * src/uttkd: New. Uttk Daemon driver. * src/tester.rb: Use the hooks to log login and logout. * src/uttkd.rb: New. Temporary implementation of uttk.rb for the Daemon. * src/strategies/Strategy.rb: Redo the dispatcher code. 2004-11-25 Nicolas Despres * src/uttk: Modify -j options. Rename test to strategy in getopts. Add single letter options for Dumper, Loader, etc... Add -S options to add remote server to the farm. Fix --test-list and -h test. Creates the dispatcher. * src/daemon: New. Daemon module * src/daemon/tester.rb: New. Daemon front object. * src/tester.rb: New. Client to the Daemon. * src/dispatchers: New. Dispatchers hierarchy. * src/dispatchers/Random.rb: New. Dispatcher which randomly choose a server when several are available. * src/dispatchers/Dispatcher.rb: New. Base class of the Dispatchers hierarchy. * src/strategies/Strategy.rb: Fix bad previous integration. Fix hosts description message. 2004-11-25 Nicolas Despres * src/Tools/traverse.rb: Remove. Becomes fold and top_down in ruby_ex. * src/uttk: Add distributed mode support in the getopts. * src/uttk.rb: Add Dispatchers module. * src/strategies/Strategy.rb: Start distributed integration. Still some trouble with the run method of Strategy. * src/strategies/Cmd.rb: Use fold instead of traverse. * src/ruby_ex/session/profile.rb: Return a duplicata of the profile in to_hash. * src/ruby_ex/session/server.rb: Use :usrname instead of :name. 2004-11-24 Nicolas Pouillard * src/weights/base.rb: Rename to ... * src/weights/Weight.rb: ... this. * src/weights/wmin.rb: Rename to ... * src/weights/WMin.rb: ... this. * src/weights/wfloat.rb: Rename to ... * src/weights/WFloat.rb: ... this. 2004-11-24 Nicolas Pouillard * src/uttk.rb: Update autoloader. * src/strategies/TestTBase.rb: Rename to ... * src/strategies/Strategy.rb: ... this. * src/strategies/TestTSuite.rb: Rename to ... * src/strategies/Suite.rb: ... this. * src/strategies/TestTJUnit.rb: Rename to ... * src/strategies/JUnit.rb: ... this. * src/strategies/TestTBlock.rb: Rename to ... * src/strategies/Block.rb: ... this. * src/strategies/TestTRemoteCmd.rb: Rename to ... * src/strategies/RemoteCmd.rb: ... this. * src/strategies/TestTTest.rb: Rename to ... * src/strategies/Test.rb: ... this. * src/strategies/TestTCmd.rb: Rename to ... * src/strategies/Cmd.rb: ... this. * src/strategies/TestTStub.rb: Rename to ... * src/strategies/Stub.rb: ... this. * src/strategies/TestTAssert.rb: Rename to ... * src/strategies/Assert.rb: ... this. * src/strategies/TestTAuthors.rb: Rename to ... * src/strategies/Authors.rb: ... this. * src/strategies/TestTCmdBase.rb: Rename to ... * src/strategies/CmdBase.rb: ... this. * src/strategies/TestTGlob.rb: Rename to ... * src/strategies/Glob.rb: ... this. * src/strategies/TestTExtract.rb: Rename to ... * src/strategies/Extract.rb: ... this. * src/strategies/TestTRUnit.rb: Rename to ... * src/strategies/RUnit.rb: ... this. * src/strategies/TestTCompile.rb: Rename to ... * src/strategies/Compile.rb: ... this. * src/strategies/TestTCmdDiff.rb: Rename to ... * src/strategies/CmdDiff.rb: ... this. * src/strategies/TestTPass.rb: Rename to ... * src/strategies/Pass.rb: ... this. * src/strategies/TestTBall.rb: Rename to ... * src/strategies/Ball.rb: ... this. * src/strategies/TestTFail.rb: Rename to ... * src/strategies/Fail.rb: ... this. * src/strategies/TestTConfigure.rb: Rename to ... * src/strategies/Configure.rb: ... this. * src/strategies/TestTClean.rb: Rename to ... * src/strategies/Clean.rb: ... this. 2004-11-24 Nicolas Pouillard * src/dumper: Rename to .... * src/dumpers: ... this. * src/filter: Rename to .... * src/filters: ... this. * src/weight: Rename to .... * src/weights: ... this. * src/loader: Rename to .... * src/loaders: ... this. * src/strategy: Rename to .... * src/strategies: ... this. * src/result/ToResult.rb, * src/result/Stream.rb, * src/loaders/OYaml.rb: Update tests. * src/loaders/Yaml.rb: Add backward compatibility. * src/uttk.rb: Update autoloader. * src/uttk, src/weights/wmin.rb, src/strategies/TestTJUnit.rb, * src/weights/wfloat.rb, src/loaders/Loader.rb, src/weights/base.rb, * src/strategies/TestTSuite.rb, src/strategies/TestTBlock.rb, * src/strategies/TestTCmdDiff.rb, src/strategies/TestTCmdBase.rb, * src/strategies/TestTAssert.rb, src/strategies/TestTRUnit.rb, * src/strategies/TestTCmd.rb, src/strategies/TestTPass.rb, * src/strategies/TestTExtract.rb, src/strategies/TestTBall.rb, * src/strategies/TestTBase.rb, src/strategies/TestTFail.rb, * src/strategies/TestTStub.rb, src/strategies/TestTTest.rb, * src/strategies/TestTRemoteCmd.rb, src/strategies/TestTConfigure.rb, * src/strategies/TestTClean.rb, src/strategies/TestTGlob.rb, * src/strategies/TestTAuthors.rb, src/strategies/TestTCompile.rb, * src/Tools/YamlRUnitTestRunner.rb: Renaming: TestT* become *. 2004-11-23 Nicolas Pouillard * src/uttk.rb: Update the autoload. * src/Test: Rename to ... * src/strategy: ... this. * src/filter/basic_logger.rb: Rename to ... * src/filter/BasicLogger.rb: ... this. * src/filter/saver.rb: Rename to ... * src/filter/Saver.rb: ... this. * src/filter/base.rb: Rename to ... * src/filter/Filter.rb: ... this. * src/filter/old/SummaryChecker.rb: Remove. * src/filter/old/SummarizePass.rb: Remove. * src/filter/old/SummarizeFail.rb: Remove. * src/filter/old/Summarize.rb: Remove. * src/loader/oyaml.rb: Rename to ... * src/loader/OYaml.rb: ... this. * src/loader/yaml.rb: Rename to ... * src/loader/Yaml.rb: ... this. * src/loader/Loader.rb: ... this. * src/loader/base.rb: Rename to ... * src/dumper/xml.rb: Rename to ... * src/dumper/Xml.rb: ... this. * src/dumper/yaml.rb: Rename to ... * src/dumper/Yaml.rb: ... this. * src/dumper/base.rb: Rename to ... * src/dumper/Dumper.rb: ... this. * src/result/to_result.rb: Rename to ... * src/result/ToResult.rb: ... this. * src/result/stream.rb: Rename to ... * src/result/Stream.rb: ... this. 2004-11-23 Nicolas Pouillard New result system and a new loader OYaml. * test/uttk/TTResultTest.rb, * test/uttk/testsuite.yml, * test/uttk-check, * src/Tools/CmdResult.rb, * src/result/TTResult.rb: Remove. * src/Tools/mktemp.rb: Move to ruby_ex repository. * src/Test/TestTBall.rb, * src/Test/TestTExtract.rb, * src/Test/TestTConfigure.rb, * src/Test/TestTGlob.rb, * test/all/pool.yml, * test/all/pool_stud.yml, * test/all/wc.yml, * test/all/glob.yml: Add names. * test/all/ball/qux_j-mini-lib/my_strlen.c: Change sleep duration. * test/all/ball/qux_j-mini-lib.tar.bz2: Regen. * src/uttk, * src/config.rb, * src/uttk.rb, * src/Test/TestTTest.rb, * src/Test/TestTBase.rb, * src/Test/TestTBlock.rb, * src/dumper/yaml.rb, * src/dumper/xml.rb, * src/result/stream.rb, * src/loader/oyaml.rb, * src/loader/base.rb, * src/loader/yaml.rb, * src/Test/TestTSuite.rb: Update to new result. * src/filter/base.rb, * src/Test/TestTCmd.rb, * src/Test/TestTCmdBase.rb: Clean up. * src/Tools/YamlRUnitTestRunner.rb: Register the runner. * src/filter/basic_logger.rb: Allow to use a different logger. * src/weight/base.rb: Handle empty suites. * src/weight/wfloat.rb: Handle nan. * misc/uttkci.rb: Update. 2004-11-23 Nicolas Pouillard * src/filter/saver.rb: Add documentation, add the repeat method. 2004-11-23 Nicolas Pouillard * src/filter/saver.rb: New. 2004-11-23 Nicolas Pouillard * src/loader/oyaml.rb: New, ordered yaml loader class. 2004-11-23 Nicolas Pouillard * src/result/stream.rb: New. * src/result/to_result.rb: New. 2004-11-19 Nicolas Pouillard * src/Filter/Summarize.rb, src/Filter/SummaryChecker.rb * src/Filter/SummarizeFail.rb, src/Filter/SummarizePass.rb: Move ... * src/filter/old: ... here. 2004-11-18 Nicolas Pouillard * misc/gendoc.rb: Update to new directories names. 2004-11-18 Nicolas Pouillard * test/uttk/TTResultTest.rb: Update to the new TTResult. * src/Test/TestTRUnit.rb: Use the good loader, and no read in the result. * src/result/TTResult.rb: Ensure the symbol conversion. * src/uttk: Add a Thread.critical section. 2004-11-17 Nicolas Pouillard * src/uttk.rb: New, autoload. * src/config.rb: New. * src/Test/TestTSuite.rb, src/Test/TestTBlock.rb, src/Test/TestTBase.rb: * src/Filter/Summarize.rb, src/Filter/SummarizeFail.rb, * src/Filter/SummarizePass.rb: Update requires, use autoload. * src/uttk: Use reopen to update the logger. * src/Filter/Base.rb: Rename to ... * src/filter/base.rb: ... this. * src/Filter/Basic.rb: Rename to ... * src/filter/basic_logger.rb: ... this. * src/Weight/Base.rb: Rename to ... * src/weight/base.rb: ... this. * src/Weight/WFloat.rb: Rename to ... * src/weight/wfloat.rb: ... this. * src/Weight/WMin.rb: Rename to ... * src/weight/wmin.rb: ... this. * src/dumper/base.rb: New. * src/Dumper/Yaml.rb: Rename to ... * src/dumper/yaml.rb: ... this. * src/Dumper/Xml.rb: Rename to ... * src/dumper/xml.rb: ... this. * src/Loader/Base.rb: Rename to ... * src/loader/base.rb: ... this. * src/Loader/Yaml.rb: Rename to ... * src/loader/yaml.rb: ... this. * src/TTResult.rb: Rename to ... * src/result/TTResult.rb: ... this. * src/Test/TestTCmd.rb: require 'traverse'. 2004-11-17 Nicolas Pouillard * src/uttk: Add a logger, an option to change the log file, and find a very strange bug (see FIXME). * src/Filter/Basic.rb: Use the logger. * src/Test/TestTSuite.rb, src/Test/TestTBlock.rb, src/Test/TestTBase.rb, * src/Dumper/Xml.rb: Use STD*, instead of $std*. 2004-11-16 Nicolas Pouillard * src/TTResult.rb: Big improvements, help filters to work better. * src/Loader/Base.rb, src/Loader/Yaml.rb: Load class names. * src/Filter/Base.rb, src/Filter/Summarize.rb, * src/Dumper/Xml.rb, src/Filter/SummaryChecker.rb, * src/Dumper/Yaml.rb: Update to new message names. * src/Test/TestTAssert.rb: 80 columns. * test/test: Better use of Pathname. * misc/uttkci.rb: Fix `mail' call. * src/Test/TestTSuite.rb: No more use `<<' for result use only `new_elm_seq'. 2004-11-03 Nicolas Despres * test/uttk/Test/TestTBall.yml: New. TestTBall test suite. 2004-11-03 Nicolas Despres * test/test: Puts header in the sub process. * src/Tools/ArrayDiff.rb: Fix bug. 2004-11-03 Nicolas Despres * test/test: Fix bug in pathnames computation. * test/uttk/Test/TestTTest.yml: Add force_debug attribute to avoid the test failed when using a debug level > 0. * test/uttk/Tools/AssertEvalTest.rb: Remove useless require. * test/uttk/TTResultTest.rb: New. TTResult test suite. * test/uttk/testsuite.yml: New. Test suite for module Uttk. * src/Test/TestTRUnit.rb: Don't need to use the Yaml loader anymore. * src/Tools/HashDiff.rb: Fix bug. * src/TTResult.rb: Hash value key are now converted to symbol recursively. 2004-11-03 Nicolas Despres * test/uttk/Test/TestTRUnit.yml: Fix returned line number in exception backtrace. 2004-11-03 Nicolas Despres * test/test: New. uttk tester. * test/uttk/Test/TestTFail.yml, test/uttk/Test/TestTStub.yml, * test/uttk/Test/TestTTest.yml, test/uttk/Test/TestTAssert.yml, * test/uttk/Test/TestTCmd.yml, test/uttk/Test/TestTPass.yml, * test/uttk/Test/TestTSuite.yml: Readded in this directory. * test/uttk/Test/TestTRUnit.yml: New. TestTRUnit test suite. * test/uttk/Test/TestTRUnit/simple.rb: Auxiliary file used by TestTRUnit.yml * test/uttk/Tools/testsuite.yml: New. Grouped RUnit test suites in a single test suite. * test/uttk/Tools/SafeEvalTest.rb, test/uttk/Tools/ArrayDiffTest.rb, * test/uttk/Tools/AssertEvalTest.rb, test/uttk/Tools/HashDiffTest.rb: Use YamlRUnitTestRunner as test runner now. * src/Test/TestTRUnit.rb: New. RUnit wrapper. * src/Tools/YamlRUnitTestRunner.rb: New. Specific RUnit runner which produce yaml output. 2004-11-02 Nicolas Despres * test/unit/Tools/SafeEvalTest.rb, test/unit/Tools/ArrayDiffTest.rb, * test/unit/Tools/AssertEvalTest.rb, test/unit/Tools/HashDiffTest.rb, * test/integration/TestTFail.yml, test/integration/TestTStub.yml, * test/integration/TestTTest.yml, test/integration/TestTAssert.yml, * test/integration/TestTCmd.yml, test/integration/TestTPass.yml, * test/integration/TestTSuite.yml: Deleted, because a new test suite is coming soon * src/Test/TestTTest.rb: Add a fixme. 2004-11-02 Nicolas Despres * test/integration/TestTStub.yml, test/integration/TestTTest.yml: Replace 'result:' by 'returned_value:' * test/integration/TestTSuite.yml: Replace 'result:' by 'returned_value:'. Add a new test. * src/Test/TestTStub.rb: Renamed ':result' by ':returned_value' 2004-11-02 Nicolas Despres * test/integration/TestTAssert.yml: New. TestTAssert test suite. 2004-11-02 Nicolas Despres * src/Test/TestTStub.rb: Coding style. * src/Loader/Yaml.rb: Fix bug. Integer key return nil when converted into a symbol. * src/TTResult.rb: Fix bug. Ensure []= add a symbol key in TTResult. 2004-11-02 Nicolas Despres * src/Test/TestTAssert.rb: Add a FIXME to don't forget to change this issue as soon as possible. 2004-11-02 Nicolas Despres * src/Tools/SafeEval.rb: Remove useless attribute. 2004-11-01 Nicolas Despres * src/Test/TestTStub.rb: Typo plus milogue is now protected. * src/Test/TestTTest.rb: Don't use Filter::BlackHole any more. * src/Filter/BlackHole.rb: Deleted. 2004-10-30 Nicolas Despres * test/integration/TestTFail.yml, test/integration/TestTPass.yml: Include test in a test suite. * test/integration/TestTSuite.yml: Add test to test attribute transmission. 2004-10-29 Nicolas Despres * src/uttk: Add an option to be able to add attributes to the test suite from the command line. 2004-10-28 Nicolas Despres * src/Test/TestTAssert.rb: Remove the older "parser". Now use AssertEval. 2004-10-28 Nicolas Despres * src/Tools/ArrayDiff.rb: Include the module Diff. * src/Tools/Diff.rb: New. Contains the diff method common at ArrayDiff and HashDiff. * src/Tools/HashDiff.rb: Include the module Diff. 2004-10-28 Nicolas Despres * test/integration/TestTTest.yml: Add a test to test ignored_value mechanism. * test/integration/TestTPass.yml: Remove the toto attribute. 2004-10-28 Nicolas Despres * src/Test/TestTBase.rb: Take the symbol table in argument. * src/Test/TestTTest.rb: Unless instead of 'if not'. * src/Filter/BlackHole.rb: Coding style. 2004-10-28 Nicolas Despres * test/unit/Tools/ArrayDiffTest.rb: Add tests to show off the bugs. * src/Tools/ArrayDiff.rb: Fix bug/typo from revision 135 reported by Ertai. 2004-10-28 Nicolas Despres * src/Tools/HashDiff.rb: Use 'foo[k] = v' instead of 'foo.update(k => v)'. 2004-10-28 Nicolas Despres * test/unit/Tools/HashDiffTest.rb: Add test to show off the bugs. * src/Tools/HashDiff.rb: Fix bug/typo from revision 134 reported by Ertai. 2004-10-27 Nicolas Despres * test/integration/TestTTest.yml: New. TestTTest test suite. * test/integration/TestTCmd.yml: New. TestTCmd test suite. 2004-10-27 Nicolas Despres * test/integration/TestTFail.yml: New. TestTFail test suite. * test/integration/TestTPass.yml: New. TestTPass test suite. * test/integration/TestTSuite.yml: New. TestTSuite test suite. 2004-10-27 Nicolas Despres * src/Test/TestTTest.rb: Fix little bug. 2004-10-27 Nicolas Despres * test/integration/TestTStub.yml: New. TestTStub test suite. Based on TestTTest. * src/Test/TestTStub.rb: New. Return its result attribute as result. Used to test TestTTest. 2004-10-27 Nicolas Despres * src/Test/TestTBase.rb: Add method create_test. * src/Test/TestTTest.rb: New. A test strategy to test them all. * src/Filter/BlackHole.rb: A filter which behaves as /dev/null. 2004-10-27 Nicolas Despres * test/unit/Tools/ArrayDiffTest.rb: New. ArrayDiff RUnit test class. * src/Tools/ArrayDiff.rb: New. Extend the class Array with the method diff and gen_diff. These methods are similar to their homonym in the class Hash. 2004-10-27 Nicolas Despres * test/unit/Tools/HashDiffTest.rb: New. HashDiff RUnit test class. * src/Tools/HashDiff.rb: New. Extend the class Hash with the method diff, gen_diff and no_diff?. diff is a shortcut to gen_diff and no_diff? is a shortcut to test whether there are differents. gen_diff returns a hash which describe the differences. 2004-10-27 Nicolas Pouillard * src/Test/TestTBase.rb: Initialize @summary before the prologue. * misc/uttkci.rb: Typo. 2004-10-25 Nicolas Despres * test/unit/Tools/SafeEvalTest.rb: Test the new feature. * src/Tools/SafeEval.rb: Also return nil directly if almost empty code is given. 2004-10-25 Nicolas Despres * test/unit/Tools/AssertEvalTest.rb: Test the new feature. * src/Tools/AssertEval.rb: Return nil directly if blank or empty string is given. 2004-10-25 Nicolas Despres * test/unit/Tools/SafeEvalTest.rb: Add test: argument and block binding at the same time. 2004-10-25 Nicolas Despres * src/Tools/SafeEval.rb: Safe and collect are now public attributes. 2004-10-25 Nicolas Despres * test/unit/Tools/AssertEvalTest.rb: New. AssertEval RUnit test class. * src/Tools/AssertEval.rb: New. Based on SafeEval. Provides a "secure" environment in order to evaluate uttk assertions. 2004-10-25 Nicolas Despres * test/unit/Tools/SafeEvalTest.rb: New. SafeEval RUnit test class. * src/Tools/SafeEval.rb: New. Provides a customizable safe environment to evaluate ruby code. 2004-10-24 Nicolas Pouillard * src/Test/TestTBase.rb, src/Test/TestTSuite.rb: Fix the weight computation. * test/all/suite_timeout.yml: Put `timeout' in an `attributes' hash. * test/all/fatal.yml: Augment some weights. 2004-10-24 Nicolas Pouillard * test/all.yml: Remove print_mode.yml. * test/all/ref/err/print_mode.yml: Remove. * test/all/ref/out/print_mode.yml: Remove. * test/all/print_mode.yml: Remove. 2004-10-24 Nicolas Pouillard * test/all/ref/err/print_mode.yml: Remove. * test/all/ref/out/print_mode.yml: Remove. * test/all/print_mode.yml: Remove. 2004-10-24 Nicolas Pouillard * src/Test/TestTRemoteCmd.rb: Use symbols instead of strings. * src/Tools/HostDispatcher.rb: Fix `hosts=', and improve `<<'. 2004-10-24 Nicolas Pouillard * misc/uttkci.rb: New, to use it see misc/vcs/README, and after making aliases just type svn uttkci 'And here put your subject'. * misc: Changed the svn:externals property. 2004-10-20 Nicolas Pouillard * src/Filter/SummaryChecker.rb: New. * src/Filter/Weight.rb: Remove. * src/Test/TestTBase.rb: Call finish in abort. * src/Test/TestTSuite.rb: Fix set_one_attribute and pool mode. * src/Test/TestTExtract.rb, src/Test/TestTConfigure.rb, * src/Test/TestTGlob.rb, src/Test/TestTBall.rb: Fix summary. * src/Weight/Base.rb: Fix error message. * src/Loader/Base.rb: Fix bug with __getobj__. * src/uttk: Update the option parser. * src/Test/TestTCmd.rb: Add option `quiet print', fix sub mode, and update coding style. 2004-10-19 Nicolas Pouillard * src/uttk: Add --test-list, --wclass-list, and --wclass. * src/Test/TestTBase.rb, src/Test/TestTSuite.rb, src/Loader/Base.rb: Add weight support. * src/Weight/Base.rb, src/Weight/WMin.rb, src/Weight/WFloat.rb, * src/Weight, test/all/weight.yml: New. 2004-10-15 Nicolas Despres * src/Test/TestTSuite.rb: Get all the code from TestTSuiteBase. * src/Test/TestTAssert.rb: Inherit from TestTSuite instead of TestTSuiteBase. * src/Test/TestTSuiteBase.rb: Deleted. * src/Filter/Base.rb: Typo. ':GET' instead of 'GET' 2004-10-12 Nicolas Pouillard * src/Test/TestTBase.rb: Add a finish call when the test pass. * src/Test/TestTAssert.rb: Swap two lines. 2004-10-12 Nicolas Pouillard * src/Test/TestTBase.rb: Add finish. * src/Test/TestTSuite.rb: Remove useless methods. * misc: Changed property. * test/all.yml: Use TestTCmdDiff. * src/Test/TestTAssert.rb: Update. * src/Test/TestTSuiteBase.rb: Use finish. * misc/vcs: New external tool, see README. 2004-10-12 Nicolas Despres * src/Test/TestTAssert.rb: Use an heredoc instead incrementation for the documentation. 2004-10-12 Nicolas Despres * src/Test/TestTSuiteBase.rb: Inline the method transmit_attributes. 2004-10-12 Nicolas Despres * test/all/TestTAssert/first.yml: Now a test failed fatally. * src/Test/TestTJUnit.rb: Change the debug level from 2 to 1. * src/Test/TestTAssert.rb: Check if a test in the suite failed fatally. Display the status "PASS" if everything is alright. * src/Test/TestTBase.rb: Add a fixme. 2004-10-12 Nicolas Despres * test/all/TestTAssert/first.yml: Adapted to fit new TestTAssert syntax * src/Test/TestTSuite.rb: Now inherited from TestTSuiteBase. * src/Test/TestTAssert.rb: Now inherited from TestTSuiteBase. So class attributes is printed only once for Uttk::Test::TestTAssert. * src/Test/TestTSuiteBase.rb: New. Contain every features of former TestTSuite. Make some refactoring to allow inheritance. 2004-10-11 Nicolas Despres * src/Test/TestTJUnit.rb: Location are now displayed as a sequence. Debug messages are now displayed as attributes instead of a message on stdout. * src/Test/TestTAssert.rb: Raise an AssertErr instead of print the 'assert failed' attribute. 2004-10-10 Nicolas Despres * test/all/xunit/junit/multibar.yml: New. Test file for the MultiRight/bar/BarTest.java class. * test/all/xunit/junit/simple_exception.yml: New. Test file for the SimpleException/SimpleExceptionTest.java class. * test/all/xunit/junit/MultiRight/Foo/FooTest.java: New. JUnit test class for Foo.java class. * test/all/xunit/junit/MultiRight/Foo/Foo.java: New. Foo.java class. * test/all/xunit/junit/MultiRight/bar/BarTest.java: New. JUnit test class for Bar.java class. * test/all/xunit/junit/MultiRight/bar/Bar.java: New. Bar.java class. * test/all/xunit/junit/MultiRight/MultiRight.java: New. MultiRight.java class. * test/all/xunit/junit/MultiRight/MultiRightTest.java: New. JUnit test class for MultiRight.java class. * test/all/xunit/junit/MultiRight/build.sh: New. Script to automaticaly build the stub java project MultiRight. * test/all/xunit/junit/multiright.yml: New. Test file for the MultiRightTest.java class. * test/all/xunit/junit/build.sh: New. Script to automaticaly build all the stubs java projects in junit directory. * test/all/xunit/junit/SimpleException/SimpleExceptionTest.java: New. JUnit test class for SimpleException.java class. * test/all/xunit/junit/SimpleException/build.sh: New. Script to automaticaly build the stub java project SimpleException. * test/all/xunit/junit/multifoo.yml: New. Test file for the FooTest.java class. * src/Test/TestTJUnit.rb: New. Wrapper for JUnit. * src/Test/TestTAssert.rb: Add/change method restriction access to protected. 2004-10-09 Nicolas Despres * src/Test/TestTAssert.rb: Remove the useless class Uttk::Test::TestTAssert.Script. * NORM: Add message to warn it's not up to date. 2004-10-09 Nicolas Despres * test/all/TestTAssert/first.yml: New. first.yml is the first, lone and fairly bad test file for TestTAssert. * test/all/TestTAssert/segfault.yml: New. Uttk segfault with this file. * src/Test/TestTAssert.rb: New. TestTAssert allows to write pre/post assertions to check before/after the execution of a test suite. Several assertions are already available. More will come later. See ./uttk -d 1 -h TestTAssert for further informations. 2004-10-01 Nicolas Despres * TODO: Add an item to don't forget to fix the test which failed in the test suite. 2004-10-01 Nicolas Despres * test/all/ref/out/stud.yml, test/all/ref/out/glob_stud.yml: * test/all/ref/out/glob.yml, test/all/ref/out/no_suite.yml: * test/all/ref/out/timeout.yml, test/all/ref/out/fatal.yml: * test/all/ref/out/sub.yml, test/all/ref/out/pipeline-timeout.yml: * test/all/ref/out/block.yml, test/all/ref/out/suite_timeout.yml: * test/all/ref/out/mini-lib.yml, test/all/ref/out/print_mode.yml: * test/all/ref/out/remote_dispatcher.yml, test/all/ref/out/author.yml: * test/all/ref/out/pool_stud.yml, test/all/ref/out/pool.yml: * test/all/ref/out/exit.yml, test/all/ref/out/wc.yml: * test/all/ref/out/ball.yml, test/all/ref/out/env_cmd.yml: * test/all/ref/out/remote_cmd.yml, test/all/ref/err/stud.yml: * test/all/ref/err/glob_stud.yml, test/all/ref/err/glob.yml: * test/all/ref/err/no_suite.yml, test/all/ref/err/timeout.yml: * test/all/ref/err/fatal.yml, test/all/ref/err/sub.yml: * test/all/ref/err/pipeline-timeout.yml, test/all/ref/err/block.yml: * test/all/ref/err/suite_timeout.yml, test/all/ref/err/mini-lib.yml: * test/all/ref/err/print_mode.yml * test/all/ref/err/remote_dispatcher.yml, test/all/ref/err/author.yml: * test/all/ref/err/pool_stud.yml, test/all/ref/err/pool.yml: * test/all/ref/err/exit.yml, test/all/ref/err/wc.yml: * test/all/ref/err/ball.yml, test/all/ref/err/env_cmd.yml: * test/all/ref/err/remote_cmd.yml: New. Output and error reference generated by the revision 106 of Uttk. * test/all.yml: New. Yaml input file to test Uttk. 2004-10-01 Nicolas Pouillard * src/Test/TestTCmd.rb: Fix bug with @command. 2004-10-01 Nicolas Pouillard * test/all/stud.yml, test/all/pool_stud.yml: Typo. * src/Test/TestTCmd.rb: Fix a test with stream[:ref]. * src/Tools/HostDispatcher.rb: Enforce hosts=. * src/Filter/Weight.rb: Add a default case for some hash tables. 2004-09-30 Nicolas Pouillard * src/Test/TestTSuite.rb, src/Test/TestTCmdBase.rb, * src/Test/TestTBase.rb: The abort method become public. 2004-09-30 Nicolas Pouillard A little yaml helper. * misc/expandtab.rb: New script to expand tabs in files. 2004-09-30 Nicolas Pouillard * test/all/stud.yml, test/all/glob.yml, test/all/no_suite.yml, * test/all/timeout.yml, test/all/fatal.yml, * test/all/pipeline-timeout.yml, test/all/block.yml, * test/all/suite_timeout.yml, test/all/print_mode.yml, * test/all/author.yml, test/all/pool_stud.yml, test/all/wc.yml, * test/all/pool.yml, test/all/remote_cmd.yml: Update weights. 2004-09-30 Marco Tessari * src/Test/TestTExtract.rb: Search the longest path than only the first. * src/Test/TestTCompile.rb: Initialize command. * misc/checkin.rb: Fix some bugs for prcs and cvs. 2004-09-29 Nicolas Pouillard * src/Test/TestTSuite.rb: Reorder, some methods. 2004-09-29 Nicolas Pouillard * src/Dumper/TracesXml.rb, misc/xml/minus.gif, misc/xml/empty.gif, * misc/xml/general.xsl, misc/xml/join.gif, misc/xml/js.css, * misc/xml/minusbottom.gif, misc/xml/tree.css, misc/xml/specialise.xsl, * misc/xml/plus.gif, misc/xml/joinbottom.gif, misc/xml/line.gif, * misc/xml/plusbottom.gif: Remove from trunk. 2004-09-29 Nicolas Pouillard Merge from the ACU branch (r35-97). 2004-09-27 Nicolas Pouillard * src/Test/TestTBase.rb: Use a set to rejected attributes. * src/Test/TestTCmd.rb: Fix the diff generation. * src/Test/TestTCmdDiff.rb: New. 2004-09-22 Nicolas Pouillard * src/Test/TestTExtract.rb: Use basename before extracting the extension. 2004-09-22 Nicolas Pouillard * test/all/ball.yml, * test/all/pool_stud.yml, * test/all/stud.yml: Add a dir attribute. * test/all/fatal.yml: Change names. * test/all/wc.yml: TestTSuite(TestT...) is deprecated. * test/all/ball/jack-exit/Makefile, * test/all/ball/joe-exit/Makefile, * test/all/ball/hello/Makefile, * test/all/ball/john-exit/Makefile: Add distclean. * test/all/ball/john-exit.tar.bz2, * test/all/ball/jack-exit.tar.bz2, * test/all/ball/joe-exit.tar.bz2, * test/all/ball/hello.tar.bz2, * test/all/ball/hello.tar.gz: Regen. * src/Test/TestTCmd.rb: Put the stream status only if it's needed. * src/Test/TestTFail.rb, * src/Test/TestTPass.rb: Remove the singleton pattern. * src/Test/TestTConfigure.rb, * src/Test/TestTExtract.rb: Put the sub command fatal. * src/Test/TestTBall.rb: Rearrange attributes. * src/uttk: Add the -D --define option to set a global value. * src/Dumper/TracesXml.rb: Chain with a Filter::Weight. * misc/gendoc.rb: Update. 2004-09-21 Nicolas Pouillard * src/Test/TestTCmd.rb: Print the status for each stream. * src/Dumper/TracesXml.rb: Typo. 2004-09-21 Nicolas Pouillard * src/Filter/Weight.rb: Fix. 2004-09-21 Nicolas Pouillard * src/Test/TestTSuite.rb: Internal improving. * src/Test/TestTPass.rb, * src/Test/TestTFail.rb, * src/Test/TestTClean.rb, * src/Test/TestTRemoteCmd.rb, * src/Test/TestTGlob.rb, * src/Test/TestTAuthors.rb, * src/Test/TestTCompile.rb, * src/Test/TestTBlock.rb: Update require. * src/Test/TestTCmd.rb: Simplification. * src/Test/TestTExtract.rb: Update print mode. * src/Filter/Base.rb, * src/Test/TestTBase.rb: Add a const_missing for Test autoloading. * src/Test/TestTBall.rb: Use TestTConfigure. * src/Test/TestTConfigure.rb: New. * src/Tools/traverse.rb: Add reverse_fold. * src/uttk: General improving. * src/Loader/Yaml.rb: Convert String hash keys to Symbol. * src/Loader/Base.rb: Factoring name lookup. * src/uttkstat: Remove. * test/all/exit.yml: Remove deprecated syntax TestTSuite(TestT...). * test/all/remote_dispatcher.yml: Refine name class. * test/all/print_mode.yml: Extend. * test/all/mini-lib.yml, * test/mini-lib/strlen.c: Update. * test/all/env_cmd.yml: Update layout. * src/Test/TestTCmdBase.rb: Add a to_s call to match ruby 1.9. 2004-09-21 Jerome Pouiller * src/Test/TestTBall.rb: Make distclean before configure, display error and standard output. * src/Test/TestTExtract.rb: Correct tar options * src/Dumper/Xml.rb: Updated for intranet display * src/Dumper/TracesXml.rb: Traces are now written in stream before end processing of all tarball. * TODO: Updated 2004-09-21 Jerome Pouiller * TODO: Updates * src/Test/TestTBall.rb: Changed configure command. I don't know why previous code don't work * src/Dumper/Xml.rb: Updated for ACU intranet display * misc/xml/specialise.xsl: Better display 2004-09-20 Marco Tessari * src/Test/TestTBase.rb: Change only the wanted symbol. * src/Test/TestTBall.rb: Add authors attribute to get TracesXml work. * src/Dumper/TracesXml.rb: Search for the right attribute. 2004-09-18 Nicolas Pouillard * test/all/glob_stud.yml: Update regexp. * src/TTResult.rb: Use symbols instead of constants for messages. * src/DocFilter/DFBasic.rb: Rename to ... * src/Filter/Basic.rb: ... this. * src/DocFilter/DFSummarizePass.rb: Rename to ... * src/Filter/SummarizePass.rb: ... this. * src/DocFilter/DFSummarizeFail.rb: Rename to ... * src/Filter/SummarizeFail.rb: ... this. * src/DocFilter/DFWeight.rb: Rename to ... * src/Filter/Weight.rb: ... this. * src/DocFilter/DFBase.rb: Rename to ... * src/Filter/Base.rb: ... this. * src/DocFilter/DFSummarize.rb: Rename to ... * src/Filter/Summarize.rb: ... this. * src/Dumper/Xml.rb, * src/Dumper/Yaml.rb, * src/Dumper/TracesXml.rb, * src/uttk: Update. 2004-09-18 Nicolas Pouillard * misc/checkin.rb: Add the option --mail which re-send the last mail. 2004-09-18 Nicolas Pouillard * src/Test/TestTBlock.rb, * src/Test/TestTExtract.rb, * src/Tools/io/ext.rb, * src/Tools/io/delegator.rb, * src/Tools/cut_output.rb, * src/TTResult.rb, * src/Dumper/Xml.rb, * src/Dumper/Yaml.rb: Remove module Uttk::Example, add some nodoc tags, and add some comments. * src/Test/TestTBase.rb: Prefer Exception instead of StandardError. * misc/gendoc.rb: New. 2004-09-17 Nicolas Pouillard * src/Test/TestTAuthors.rb, * src/Test/TestTCmdBase.rb, * src/Test/TestTFail.rb, * src/Test/TestTExtract.rb, * src/Test/TestTBlock.rb, * src/Test/TestTSuite.rb, * test/all/block.yml: Exception renaming. * src/Test/TestTBase.rb: Likewise and revert patch for <> expanding. * src/DocFilter/DFLogin.rb, * src/DocFilter/DFSplit.rb: Remove. * test/all/glob_stud.yml: Update <>. * test/all/author.yml: Update. * test/all/ball/hello.tar.bz2, * test/all/ball/20040804-exam_a1-zapngo-tessar_m.tar.gz, * test/all/ball/hello.tar.gz: Regen. * src/Dumper/TracesXml.rb: Update layout. 2004-09-17 Nicolas Pouillard * src/DocFilter/DFSummarizePass.rb, * src/DocFilter/DFWeight.rb, * src/DocFilter/DFLogin.rb, * src/DocFilter/DFSummarizeFail.rb, * src/DocFilter/DFBase.rb, * src/DocFilter/DFSplit.rb, * src/DocFilter/DFSummarize.rb, * src/DocFilter/DFBasic.rb, * src/Dumper/TracesXml.rb, * misc/header: Add the email. 2004-09-17 Nicolas Pouillard * AUTHORS: Add Jerome and Marco. * src/Test/TestTSuite.rb, * src/Test/TestTBlock.rb, * src/Test/TestTBall.rb, * src/Test/TestTBase.rb, * src/Test/TestTExtract.rb, * src/Test/TestTFail.rb, * src/Test/TestTCmdBase.rb, * src/Test/TestTRemoteCmd.rb, * src/Test/TestTClean.rb, * src/Test/TestTCmd.rb, * src/Test/TestTGlob.rb, * src/Test/TestTAuthors.rb, * src/Test/TestTPass.rb, * src/Test/TestTCompile.rb, * src/Tools/mktemp.rb, * src/Tools/CmdResult.rb, * src/Tools/HostDispatcher.rb, * src/Tools/io/dispatch.rb, * src/Tools/io/ext.rb, * src/Tools/io/yaml.rb, * src/Tools/io/delegator.rb, * src/Tools/io/filters.rb, * src/Tools/SymTbl.rb, * src/Tools/traverse.rb, * src/Tools/cut_output.rb, * src/uttk, * src/Loader/Yaml.rb, * src/Loader/Base.rb, * src/TTResult.rb, * src/DocFilter/DFSummarizePass.rb, * src/DocFilter/DFWeight.rb, * src/DocFilter/DFSummarizeFail.rb, * src/DocFilter/DFLogin.rb, * src/DocFilter/DFBase.rb, * src/DocFilter/DFSplit.rb, * src/DocFilter/DFSummarize.rb, * src/DocFilter/DFBasic.rb, * src/Dumper/Xml.rb, * src/Dumper/TracesXml.rb, * src/Dumper/Yaml.rb, * src/uttkstat: Change header. 2004-09-17 Nicolas Pouillard Add LastChangedBy to svn:keywords for all files. 2004-09-17 Nicolas Pouillard * test/all/env_cmd.yml: Add a test for <> in nested values. * src/Test/TestTBase.rb: Fix <> substitution in nested values. * misc/header: Update (evryone agree with this new format). 2004-09-17 Nicolas Pouillard * test/all/env_cmd.yml: New. 2004-09-17 Nicolas Pouillard * test/all/diff_cmd.yml: Rename as ... * test/all/print_mode.yml: ... this. * test/all/ball/jack-exit/exit.c: Add unistd.h. * test/all/ball/jack-exit.tar.bz2: Regen and change svn:mime-type. * src/Test/TestTBase.rb: Fix a bug with @reject. * src/Test/TestTCmd.rb: Add (print_mode=). * src/Tools/io/delegator.rb, * src/Test/TestTBlock.rb: Encapsulate the test in a module Uttk::Example. 2004-09-16 Nicolas Pouillard * src/Test/TestTCmd.rb: Add the environment variables handling in TestTCmd. 2004-09-16 Nicolas Pouillard * test/mini-lib/strlen.c, * test/mini-lib/Makefile: New. * test/uttk-check: Update to symtbl. 2004-09-16 Nicolas Pouillard * test/log/stud.yml, * test/log/timeout.yml, * test/log/fatal.yml, * test/log/pipeline-timeout.yml, * test/log/sub.yml, * test/log/block.yml, * test/log/uttk-check-log.yml, * test/log/suite_timeout.yml, * test/log/remote_dispatcher.yml, * test/log/uttk-check-summary.yml, * test/log/pool_stud.yml, * test/log/exit.yml, * test/log/pool.yml, * test/log/wc.yml, * test/log/ball.yml, * test/log/remote_cmd.yml: Remove. 2004-09-16 Nicolas Pouillard * test/all/glob.yml: Add <>. * test/all/author.yml: Update. * test/all/exit.yml, * test/all/remote_dispatcher.yml: Add weights. * test/all/ball/bar_p-mini-lib/Makefile, * test/all/ball/bar_p-mini-lib/my_strlen.c, * test/all/ball/joe_i-mini-lib/configure, * test/all/ball/joe_i-mini-lib/Makefile, * test/all/ball/joe_i-mini-lib/my_strlen.c, * test/all/ball/foo_s-mini-lib.tar.bz2, * test/all/ball/qux_j-mini-lib/Makefile, * test/all/ball/qux_j-mini-lib/my_strlen.c, * test/all/ball/bar_p-mini-lib.tar.bz2, * test/all/ball/foo_s-mini-lib/configure, * test/all/ball/foo_s-mini-lib/Makefile, * test/all/ball/foo_s-mini-lib/my_strlen.c, * test/all/ball/joe_i-mini-lib.tar.bz2, * test/all/ball/qux_j-mini-lib.tar.bz2, * test/all/mini-lib.yml: New. * test/all/ball/Makefile: Update. 2004-09-16 Nicolas Pouillard * src/Test/TestTSuite.rb: Convert strings to symbols. * src/Test/TestTFail.rb, * src/Test/TestTPass.rb, * src/Test/TestTCmdBase.rb, * src/Test/TestTRemoteCmd.rb, * src/Tools/HostDispatcher.rb, * src/Test/TestTBlock.rb: Cleaning, add comments. * src/TTResult.rb, * src/Loader/Base.rb, * src/DocFilter/DFLogin.rb, * src/DocFilter/DFSplit.rb, * src/DocFilter/DFSummarize.rb, * src/Dumper/TracesXml.rb, * src/Test/TestTCmd.rb: Convert strings to symbols, and change default values for print_*. * src/Test/TestTGetLogin.rb: Remove. * src/Test/TestTExtract.rb: Improve (use symtbl). * src/Test/TestTBase.rb: Fix symtbl, add the weight attribute. * src/Test/TestTBall.rb: Recode using TestTExtract, and TestTClean. * src/Test/TestTClean.rb: Fix inheritance. * src/Test/TestTGlob.rb: Fix typo, remove split. * src/Test/TestTAuthors.rb: Up to TestTCssAuthors. * src/Test/TestTExamBall.rb: Remove. * src/Tools/SymTbl.rb: Add more tests. * src/Tools/traverse.rb: Add fold. * src/Dumper/Xml.rb: Improve but not totally fix. * src/Dumper/Yaml.rb: Improve dispatching code. * src/uttk: Move BasicObserver class ... * src/DocFilter/DFBasic.rb: ... to here. * src/DocFilter/DFWeight.rb: New. 2004-09-14 Nicolas Pouillard * src/Tools/SymTbl.rb: New, the symbol table class. * src/Test/TestTBase.rb: Permit to initialize a new test with another, instanciate <> with the symbol table, and epilogue is no more virtual so evry other tests class must use `super'. * src/Test/TestTSuite.rb: Attach the SymTbl in create and use :foo instead of 'foo' in some places. * src/uttk, * src/Test/TestTBall.rb, * src/Test/TestTPass.rb, * src/Test/TestTFail.rb, * src/Test/TestTClean.rb, * src/Test/TestTAuthors.rb, * src/Test/TestTExamBall.rb, * src/Test/TestTBlock.rb: Update. * src/Test/TestTGetLogin.rb, * src/Test/TestTCmdBase.rb: Add super in epilogue. * src/Test/TestTGlob.rb: Use the symtbl to give the tarball name. * src/Dumper/Yaml.rb: Flush the io. 2004-09-11 Nicolas Pouillard * src/Tools/mktemp.rb: Unlink temfiles at exit. * src/Tools/cut_output.rb: Use InputFilter. * src/Test/TestTCmd.rb: Update. * src/uttk: Use Tempfile.close. 2004-09-11 Nicolas Pouillard * test/all/remote_dispatcher.yml: Change the host. * src/Test/TestTCmdBase.rb: Add @cmd_exit instead @cmd_result.exit. * src/Test/TestTCmd.rb: Lifting. * src/Tools/mktemp.rb: New version more safe. * src/Tools/CmdResult.rb: Remove exit. * src/Dumper/Xml.rb: Remove yaml require, stringify hash's keys. * src/Dumper/Yaml.rb: Don't yamlize Regexp's and Symbol's. * src/Dumper/XmlTraces.rb: Move to ... * src/Dumper/TracesXml.rb: ... here (cause of options Xml is a prefix of XmlTraces). * test/all/glob.yml: Update. 2004-09-11 Marco Tessari * src/Test/TestTCmdBase.rb, * src/Tools/mktemp.rb: Return a temp file string. * src/Test/TestTCmd.rb: Change printing defaults and strategie. * src/Test/TestTBase.rb: Reject initialisation moved. Prologue into begin end block. Fail raise an exeption. Print help with --help Test. * src/Test/TestTBall.rb: Pass dir to sub test. * src/Test/TestTAuthors.rb: Add login attribute. * src/Tools/CmdResult.rb: mktemp instead of Tempfile. * src/uttk: --help Test. * src/DocFilter/DFSplit.rb: Debugging... broken. 2004-09-10 Nicolas Pouillard * test/all/glob.yml: The attribute tarballs become glob. * test/all/sub.yml: Add names. * test/all/author.yml: The attribute studdir become dir. * test/uttk-check: Update. * src/Test/TestTSuite.rb: Add a default value to :pool. * src/Test/TestTBlock.rb: Update. * src/Test/TestTCmdBase.rb: Command is mandatory. * src/Test/TestTCmd.rb: Factor. * src/Test/TestTGetLogin.rb: Factor. * src/Test/TestTBall.rb, * src/Test/TestTBase.rb, * src/Test/TestTExtract.rb, * src/Test/TestTFail.rb, * src/Test/TestTRemoteCmd.rb, * src/Test/TestTClean.rb, * src/Test/TestTGlob.rb, * src/Test/TestTExamBall.rb, * src/Test/TestTAuthors.rb, * src/Test/TestTCompile.rb, * src/uttk, * src/DocFilter/DFLogin.rb, * src/DocFilter/DFSplit.rb, * src/Dumper/Xml.rb: Update. 2004-09-08 Nicolas Pouillard * test/all/stud.yml: Add names. * src/Test/TestTSuite.rb, * src/Test/TestTBlock.rb, * src/Test/TestTBase.rb, * src/Test/TestTBall.rb, * src/Test/TestTFail.rb, * src/Test/TestTCmdBase.rb, * src/Test/TestTRemoteCmd.rb, * src/Test/TestTCmd.rb, * src/Test/TestTPass.rb, * src/Loader/Base.rb, * src/Dumper/Yaml.rb, * src/uttk, * test/uttk-check: Add attributes with new format and now run take the result as a parameter. 2004-09-10 Marco Tessari * src/Test/TestTCompile.rb: Add -fomit-frame-pointer flag. * src/uttk: * src/Dumper/Xml.rb: * src/Dumper/Yaml.rb: * src/Dumper/XmlTraces.rb: Revert output for Dumper into IO. 2004-09-08 Marco Tessari * test/all/stud.yml: Unused comment removed. * src/uttk: Dumper takes a string and not an io on parameter. * src/DocFilter/DFSplit.rb: Call only once dumper. * src/Dumper/Xml.rb: Fixed initialization with string. * src/Dumper/Yaml.rb: Mikewise. * src/Dumper/XmlTraces.rb: New. 2004-08-19 Nicolas Pouillard * VERSION: Add. * src/uttk: Use Pathname class, improve the option parser, now dumpers and filters are found dynamically, and use VERSION file to display the revision. * src/DocFilter/DFLogin.rb: Fix requires, add FDLoginError. * src/DocFilter/DFSummarize.rb: Fix requires. 2004-08-10 Jerome Pouiller * TODO: Added some comment in TODO 2004-08-10 Jerome Pouiller * TODO: Added TODO (in french, sorry). I propose in many improvements, i've found during my beta-testing. Read-it... 2004-08-10 Jerome Pouiller * src/Dumper/Xml.rb: Cut long ligne at 80 charcaters. Change '\n' in
* misc/xml/specialise.xml: renomed in misc/xml/specialise.xsl * misc/xml/general.xsl: many improvement. Adapted and beautiful output now * misc/xml/specialise.xsl: same improvement than sc/xml/general.xsl * misc/xml/general.xml: renomed in misc/xml/general.xsl 2004-08-08 Jerome Pouiller * misc/xml/TestTKewl.xsl: rename TestTKewl.xsl in general.xsl * misc/intra.xsl: removed * misc/xml/specialise.xml: Is a specialisation of general.xsl. Show how to create new transmations based on general.xsl 2004-08-08 Jerome Pouiller * test/all/author.yml: Not '_' allowed an firstnmae of student * src/Dumper/Xml.rb: Totaly modified it. - Its output is nice now. - I copy "atribute" node in all element of content list. - It's easy to translate name of balises - There are only three types of node : test, testuit and prop (Testsuit is useless and i think to add "stat" later) * misc/xml/minus.gif, misc/xml/empty.gif, misc/xml/join.gif, misc/xml/js.css, misc/xml/minusbottom.gif, misc/xml/tree.css, misc/xml/plus.gif, misc/xml/joinbottom.gif, misc/xml/line.gif, misc/xml/plusbottom.gif: They are used for output of TestTKewl.xsl * misc/xml/TestTKewl.xsl: Xsl to use with Wml output. Pretty Nice, test it...(Not now, cause of a bug with DFSplit) 2004-08-07 Marco Tessari * src/Test/TestTCmd.rb: Fix text output. * src/Test/TestTExtract.rb: Fix attributes visibility, defaults, and mandatory. * src/Test/TestTGlob.rb: Fix creation for base tests. * src/Test/TestTCompile.rb: Really compile. * src/uttk: main encapsulate with a begin rescue block. * src/Loader/Base.rb: require the base filename not the full path, elsewhere conflict with other require. * misc/checkin.rb: Fix output for mail addresses. 2004-08-06 Marco Tessari * test/all/glob.yml, test/all/author.yml, test/all/ball/20040804-exam_a1-zapngo-tessar_m.tar.gz: New. * src/Test/TestTSuite.rb: Prevent for mothod redefinition. * src/Test/TestTGetLogin.rb, src/Test/TestTExtract.rb, * src/Test/TestTClean.rb, src/Test/TestTGlob.rb, * src/Test/TestTAuthors.rb, src/Test/TestTExamBall.rb, * src/Test/TestTCompile.rb: New. * src/Test/TestTBase.rb (fail): Add a reason * src/uttk: Add none filter. Split filter also call Login filter. Fix a bug on include option. * src/DocFilter/DFBase.rb: Change to work with new filters. * src/DocFilter/DFSummarize.rb: Inherite from DFBase. * src/DocFilter/DFLogin.rb, src/DocFilter/DFSplit.rb: New * misc/checkin.rb: Initialize @subject. 2004-08-06 Marco Tessari * test/all/diff_cmd.yaml: Rename as ... * test/all/diff_cmd.yml: this. * src/uttk: Rewrite option parsing using optparse. Set warnings. * src/Dumper/Xml.rb: Unit testing fix. 2004-08-05 Jerome Pouiller * src/Test/TestTCmd.rb: Added inputm output ans error attributes * src/uttk: --wml was don't work * src/Dumper/Xml.rb: improve output * misc/intra.xsl: improve xsl 2004-08-05 Jerome Pouiller * misc/intra.xsl: Added xslt for xml output. 2004-08-05 Marco Tessari * test/all/no_suite.yml: New. A test without TestTSuite but multple Tests. * test/all/fatal.yml: Tests names more explicit. * test/all/diff_cmd.yaml: New. Test a TestTCmd which fail. * src/Test/TestTCmd.rb: Fix, nil separator don't work. Use File.zero? to test an empty file. * src/Tools/traverse.rb: Fix. Redifine method warning. * src/uttk: More command line options. Add testsuite Tests dir to load path. * src/TTResult.rb (current_seq): Initialize. * misc/checkin: Call checkin.rb with warnings. * misc/checkin.rb: Fix warnings. Fix getpwnam call. 2004-08-05 Jérôme Pouiller * src/uttk: Add Xml to Dumper list * src/Dumper/Xml.rb: Added Xml output 2004-07-30 Nicolas Pouillard * misc/checkin: Add wrapper for checkin.rb. * misc/checkin.rb: Add. 2004-07-30 Nicolas Pouillard * test/all/pipeline-timeout.yml, * test/all/fatal.yml, * test/all/pool.yml, * test/all/wc.yml, * test/all/timeout.yml: Compress. Only one doc by file. * test/all/sub.yml: Use allways the current uttk. * test/all/exit.yml: Set the title. * test/all/factory_timeout.yml: Rename to ... * test/all/suite_timeout.yml: ... this. * test/log/factory_timeout.yml: Rename to ... * test/log/suite_timeout.yml: ... this. * test/log/uttk-check-log.yml, * test/log/uttk-check-summary.yml: Regen. * test/uttk-check: Check the output the reference. * src/Test/TestTBase.rb: Add the dumper. * src/Test/TestTCmdBase.rb: Change the substitution order. * src/Test/TestTCmd.rb: Use uttk as the default command in mode `sub'. * src/uttk: Simplify. * src/Loader/Base.rb: Name fix. * src/Dumper/Yaml.rb: Add a special case for strings with \n. 2004-07-27 Nicolas Pouillard * src/Test/TestTSuite.rb, * src/Test/TestTBall.rb, * src/Test/TestTBase.rb, * src/Test/TestTBlock.rb, * src/Test/TestTCmdBase.rb, * src/Test/TestTCmd.rb: Rename `logger' to `result'. * src/Tools/traverse.rb: Add. * src/TTResult.rb: Add the header, remove a cloned part. 2004-07-27 Nicolas Pouillard Use TTResult class instead of a logger. But already use the name `logger', it will be replace in future. * src/TTResult.rb: Add the result datastruct which follow the design pattern: observable. * src/Dumper/Yaml.rb: Add a yaml dumper as a TTResult observer. * src/Loader/Base.rb: Add an abstract loader. * src/Loader/Yaml.rb: Sub class of Loader::Base. * src/DocFilter/DFSummarizePass.rb, * src/DocFilter/DFSummarizeFail.rb: Fix morph_status. * src/DocFilter/DFSummarize.rb: Is now an observer. * src/uttkstat, * src/Test/TestTSuite.rb, * src/Test/TestTBase.rb, * src/Test/TestTBlock.rb, * src/Test/TestTCmdBase.rb, * src/Test/TestTCmd.rb, * src/uttk, * test/uttk-check: Update. 2004-07-23 Nicolas Pouillard * src/Tools/io/ext.rb: A puts is better here. 2004-07-23 Nicolas Pouillard * src/Tools/io/ext.rb: Little fix. * src/uttk: Stdin handling. * src/Loader/Yaml.rb: Do nothing when the test is already loaded. * src/uttkstat: Add summarize-pass and summarize-fail options. 2004-07-23 Nicolas Pouillard * src/DocFilter/DFSummarizePass.rb: Add. * src/DocFilter/DFSummarizeFail.rb: Add. * src/DocFilter/DFBase.rb: Improve the pretty print. * src/DocFilter/DFSummarize.rb: Split. 2004-07-23 Nicolas Pouillard * test/all/sub.yml: Use TestTCmd with the sub option. * test/all/block.yml: Add. * test/all/remote_dispatcher.yml: Use real machines, and use md5sum. * test/all/pool_stud.yml: Change the name. * test/all/ball/hello.tar.gz: Add. * test/all/ball/Makefile: Support gz. * test/all/ball.yml: Use hello.tar.gz. * test/log/pool_stud.yml, * test/log/block.yml: Regen. 2004-07-23 Nicolas Pouillard * src/Test/TestTSuite.rb (instance_variable_{set,get}): Clean the key. * src/Test/TestTSub.rb: Remove. * src/Test/TestTBall.rb: Use a suite. * src/Test/TestTBase.rb: Add an exception system of failure. * src/Test/TestTBlock.rb: Add. * src/Test/TestTCmdBase.rb: Improve the command format. * src/Test/TestTRemoteCmd.rb: Add a new line. * src/Test/TestTCmd.rb: Add a sub mode to replace TestTSub. 2004-07-21 Nicolas Pouillard * test/log/uttk-check-summary.yml: Add the ref summary. * test/log/uttk-check-log.yml: Add the ref output log. * test/log/stud.yml, * test/log/timeout.yml, * test/log/fatal.yml, * test/log/pipeline-timeout.yml, * test/log/sub.yml, * test/log/remote_dispatcher.yml, * test/log/pool_stud.yml, * test/log/exit.yml, * test/log/pool.yml, * test/log/wc.yml, * test/log/ball.yml, * test/log/factory_timeout.yml, * test/log/remote_cmd.yml: Regen. 2004-07-21 Nicolas Pouillard * src/Tools/io/yaml.rb: Improve the pretty printer to have a cleanner yaml output. * src/Tools/io/filters.rb (puts): Fix a bug you don't give arguments. * src/uttk: Little change in the suite creation. * src/DocFilter/DFBase.rb: Clean the yaml output. * src/DocFilter/DFSummarize.rb: Remove some code duplications. * src/Test/TestTBase.rb: Fix a bug, you can now have an attributes with `false' as value. * test/uttk-check: Improve options. * src/Test/TestTSub.rb: Clean milogue. * test/all/exit.yml: Remove the prefix `/usr/bin` for true and false. 2004-06-18 Nicolas Pouillard Initial checkin.