automake-commit
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Automake-commit] [SCM] GNU Automake branch, test-protocols, created. v1


From: Stefano Lattarini
Subject: [Automake-commit] [SCM] GNU Automake branch, test-protocols, created. v1.11-872-gc96b881
Date: Tue, 21 Jun 2011 20:30:33 +0000

This is an automated email from the git hooks/post-receive script. It was
generated because a ref change was pushed to the repository containing
the project "GNU Automake".

http://git.sv.gnu.org/gitweb/?p=automake.git;a=commitdiff;h=c96b881f41b180f6176064cc00fe7af620c24c63

The branch, test-protocols has been created
        at  c96b881f41b180f6176064cc00fe7af620c24c63 (commit)

- Log -----------------------------------------------------------------
commit c96b881f41b180f6176064cc00fe7af620c24c63
Author: Stefano Lattarini <address@hidden>
Date:   Fri Jun 3 22:50:56 2011 +0200

    parallel-tests: allow each test to have multiple results
    
    With this change, we improve the code creating the `test-suite.log'
    global log and the console testsuite summary to make it     able to
    grasp multiple results per test script.  This is required in order
    to introduce the planned support for test protocols, like TAP and
    SubUnit, which can indeed run multiple tests per test script, each
    with its individual result.
    
    The implementation makes use of a custom reStructuredText field
    `:test-result:'.
    
    Note that no new documentation is added by this change; that is
    be left for follow-up changes.
    
    * lib/check.am ($(TEST_SUITE_LOG)): When processing .log files,
    recognize a report of a test's result only if it is declared with
    the custom `:test-result:' reStructuredText field placed at the
    beginning of a line.  Extend and add explanatory comments.
    (recheck, recheck-html): Add explanatory comments.
    * lib/test-driver: Write an appropriate reStructuredText field
    `:test-result:' in the generated log file.  Use a reStructuredText
    transition to better separate the test outcome report from the
    test script's registered output.  Improve comments.
    * tests/test-driver-custom-xfail-tests.test: Adjust.
    * tests/parallel-tests7.test: Adjust.
    * tests/parallel-tests-empty-testlogs.test: New test.
    * tests/parallel-tests-recheck-override.test: Likewise.
    * tests/parallel-tests2.test: Extend and keep more in-sync with ...
    * tests/test-driver-custom-html.test: ... this new related test.
    * tests/test-driver-custom-no-html.test: New test.
    * tests/test-driver-custom-multitest.test: Likewise.
    * tests/test-driver-custom-multitest-recheck.test: Likewise.
    * tests/test-driver-custom-multitest-recheck2.test: Likewise.
    * tests/trivial-test-driver: New file, used by the last four tests
    above.
    * tests/Makefile.am (TESTS): Update.
    (EXTRA_DIST): Distribute `trivial-test-driver'.
    (test-driver-custom-multitest.log): Depend on `trivial-test-driver'.
    (test-driver-custom-multitest-recheck.log): Likewise.
    (test-driver-custom-multitest-recheck2.log): Likewise.
    (test-driver-custom-html.log): Likewise.

commit 79922343073c66c3f8d4692efb1f31fe47c16fa9
Author: Stefano Lattarini <address@hidden>
Date:   Fri May 20 21:45:51 2011 +0200

    parallel-tests: allow custom driver scripts
    
    Allow suffix-based definition of custom "driver script" for the
    test scripts.  These driver scripts will be responsible of
    launching the tests (or their corresponding $(LOG_COMPILER), if
    they have an associated one), interpreting and displaying the
    test results, and writing the `.log' files.
    
    This new API should allow easy and flexible use of different
    test protocols in the future; in particular, we plan to use it
    to implement TAP and SubUnit harnesses.
    
    Note that no new documentation is added by this change; that is
    be left for follow-up changes.
    
    * automake.in (handle_tests): Define default for $(LOG_DRIVER),
    and, for any registered test extension `<ext>', define defaults
    for $(<ext>_LOG_DRIVER).  Substitute %DRIVER% using these new
    variables, instead of the old internal $(am__test_driver).  When
    processing check2.am, also substitute %DRIVER_FLAGS%.
    Require auxiliary script `test-driver' only if no driver has been
    explicitly defined for the test script kinds.
    * am/check2.am (?GENERIC?%EXT%$(EXEEXT).log, ?GENERIC?%EXT%.log,
    ?!GENERIC?%OBJ%): Pass the %DRIVER_FLAGS% to the %DRIVER% call.
    * tests/parallel-tests-no-extra-driver.test: New test.
    * tests/test-driver-custom.test: Likewise.
    * tests/test-driver-custom-xfail-tests.test: Likewise.
    * tests/test-driver-fail.test: Likewise.
    * tests/Makefile.am: Update.
    * NEWS: Update.

commit a27c9c4956fd1643cc3a0b3a553ce40039867680
Author: Stefano Lattarini <address@hidden>
Date:   Tue May 10 11:30:05 2011 +0200

    parallel-tests: add auxiliary script 'test-driver', refactor
    
    This refactoring should cause no API of functionality change,
    and is meant only to simplify the future implementation of TAP
    and SubUnit testsuite drivers.  More precisely, our roadmap is
    to move most of the "testsuite driving" features out of the
    Automake-generated Makefiles, and into external scripts with
    well-defined interfaces.  This will allow the user to define
    its own personalized testsuite drivers, and will also offer us
    a framework upon which to implement our new TAP and SubUnit
    drivers, all in a very unobtrusive way and retaining an high
    degree of code reuse and backward-compatibility.
    
    * lib/test-driver: New auxiliary script.
    * lib/Makefile.am (dist_SCRIPT_DATA): Add it.
    * automake.in (handle_tests): Require the new auxiliary script
    `test-driver', and define a new internal makefile variable
    `$(am__test_driver)', used to call it.  Perform new substitution
    on `DRIVER' when processing the `check2.am' file.
    * lib/check.am (am__tty_colors): Define new shell variable
    `$am__color_tests'.
    (am__rst_section): Removed, its role taken over by the new
    `test-driver' script.
    (am__test_driver_flags): New variable, contains the command
    line options passed to `test-driver'.
    (am__check_pre): Do not deal with temporary files and exit
    traps anymore, as the `test-driver' script takes care of that
    now.  Define shell variable `$am__enable_hard_errors', used by
    `$(am__test_driver_flags)'.  Reorder so that we don't need to
    save and restore the value of the `TERM' environment variable
    anymore.
    Other related adjustments.
    (am__check_post): Remove, as its role has been completely taken
    over by the `test-driver' script.
    * am/check2.am (?GENERIC?%EXT%$(EXEEXT).log, ?GENERIC?%EXT%.log,
    ?!GENERIC?%OBJ%): Call the test script through the Automake
    substituted `%DRIVER%', and honor the command-line options
    in `$(am__test_driver_flags)'.  Do not call the obsoleted
    `$(am__check_post)' anymore.
    * doc/automake.texi (Auxiliary Programs): Mention the new
    `test-driver' script.
    (Optional): Mention `test-driver' in AC_CONFIG_AUX_DIR.
    Since we are at it, break the list of auxiliary scripts by
    placing one per line, to simplify potential future additions
    of new scripts.
    * tests/check.test: Adjust.
    * tests/check2.test : Likewise.
    * tests/check3.test : Likewise.
    * tests/check4.test : Likewise.
    * tests/check10.test: Likewise.
    * tests/color.test: Likewise.
    * tests/color2.test: Likewise.
    * tests/comment9.test: Likewise.
    * tests/dejagnu.test: Likewise.
    * tests/exeext4.test: Likewise.
    * tests/maken3.test: Likewise.
    * tests/maken4.test: Likewise.
    * tests/parallel-tests-interrupt.test: Likewise.
    * tests/posixsubst-tests.test: Likewise.
    * tests/repeated-options.test: Likewise.
    * tests/check-no-test-driver.test: New test.
    * tests/parallel-test-driver-install.test: Likewise.
    * tests/Makefile.am (TESTS): Update.
    * NEWS: Update.

-----------------------------------------------------------------------


hooks/post-receive
-- 
GNU Automake



reply via email to

[Prev in Thread] Current Thread [Next in Thread]