[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Automake-commit] [SCM] GNU Automake branch, experimental/ng/check-typos
From: |
Stefano Lattarini |
Subject: |
[Automake-commit] [SCM] GNU Automake branch, experimental/ng/check-typos-at-make-runtime, created. v1.12.1-305-gddc05a1 |
Date: |
Tue, 05 Jun 2012 22:05:28 +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=ddc05a1f8013cecc1276414c50a7142272240ba4
The branch, experimental/ng/check-typos-at-make-runtime has been created
at ddc05a1f8013cecc1276414c50a7142272240ba4 (commit)
- Log -----------------------------------------------------------------
commit ddc05a1f8013cecc1276414c50a7142272240ba4
Author: Stefano Lattarini <address@hidden>
Date: Wed Jun 6 00:04:23 2012 +0200
[ng] cleanup: unused variable in the automake script removed
* automake.in ($output_header): Remove.
(initialize_per_input): Don't reset it.
(generate_makefile): Don't use its content when creating the output
Makefile: it was always empty anyway.
Signed-off-by: Stefano Lattarini <address@hidden>
commit 739820b18ce319efd6ba393291b3041743a4cc18
Author: Stefano Lattarini <address@hidden>
Date: Tue Jun 5 17:08:59 2012 +0200
[ng] warns: also report typos for 'LOG_DEPENDENCIES' variables
* lib/am/parallel-tests.am (am__using_parallel_tests): New, set to
"yes" to inform the rest of the makefile that the parallel testsuite
harness is in use.
* lib/am/check-typos.am (.am/vartypos/whitelisted-vars): Whitelist
only 'LOG_DEPENDENCIES' variables that actually correspond to a
declared test extension.
* t/vartypos-deps.sh: New test.
Signed-off-by: Stefano Lattarini <address@hidden>
commit d7206037c1d573c29a1c2a3e909c531b7d90cabc
Author: Stefano Lattarini <address@hidden>
Date: Tue Jun 5 16:16:21 2012 +0200
[ng] warns: typos in '_DEPENDENCIES' variables are now reported
Detection of those typos had been disabled in commit in commit
'v1.12-295-g9a5f837' of 2012-05-22, "[ng] warns: don't report possible
issues with '_DEPENDENCIES' variables", to avoid spurious errors.
* lib/am/check-typos.am (.am/vartypos/suffixes): Add '_DEPENDENCIES'.
(.am/vartypos/whitelisted-vars): Extend accordingly to avoid spurious
errors.
* t/vartypos.sh: Extend to also test bad usages of '_DEPENDENCIES'
variables.
Signed-off-by: Stefano Lattarini <address@hidden>
commit 67d61020ff23f630bfa47bf6eec5036ecad5de74
Author: Stefano Lattarini <address@hidden>
Date: Tue Jun 5 13:49:04 2012 +0200
[ng] warns: typos in _SOURCES etc. reported at make runtime
For example, on an input:
bin_PROGRAMS = frob
forb_SOURCES = main.c
a proper warning should be given, since either 'forb' or 'frob' is likely a
typo. Mainline Automake gives the warning at automake runtime, while with
this change, the warnings will be moved at make runtime. This will allow
us to warn about variables like '_DEPENDENCIES', whose definitions can
be unavailable (or unanalyzable) at automake runtime (check about those
variables had to be disabled in commit 'v1.12-295-g9a5f837' of 2012-05-22,
"[ng] warns: don't report possible issues with '_DEPENDENCIES' variables",
to avoid spurious errors).
* automake.in (generate_makefile): Emit code to perform make runtime
checks, in particular those moved out from ...
(check_typos): ... this now-deleted function ...
* lib/am/check-typos.am: ... into this new Makefile fragment.
* Makefile.am (dist_am_DATA): Add the new file.
* lib/am/header-vars.am (am__error): New internal function, declares an
error without immediately terminating the make process. Allows us to
diagnose more issues at once, rather than stopping at the first one.
* t/spell.sh: Adjust and extend.
* t/spell2.sh: Likewise.
* t/warnopts.sh: Adjust.
* t/vartypo2.sh: Remove, its content adjusted and merged ...
* t/vartypos.sh: ... into this test, adjusted and extended as well.
Signed-off-by: Stefano Lattarini <address@hidden>
commit 181bc4246fcada82bc1221406428169bf8df6a2e
Author: Stefano Lattarini <address@hidden>
Date: Tue Jun 5 18:31:58 2012 +0200
[ng] refactor: new make variables am__all_libs and am__all_ltlibs
This change is only a preparatory refactoring in view of future changes.
* t/all-progs.sh: Renamed ...
* t/all-prog-libs.sh: ... like this, and extended.
* automake.in (generate_makefile): Define the make vars 'am__all_libs'
and 'am__all_ltlibs' respectively from the sorted keys of the hashes
'%known_libraries' and '%known_ltlibraries'. For consistency, and for
offering a better stability of the output Makefiles, sort the keys of
the '%known_programs' hash before using them to define the make variable
'am__all_progs'.
Signed-off-by: Stefano Lattarini <address@hidden>
commit e811379855364efe258b70088ff90101d13fad51
Author: Stefano Lattarini <address@hidden>
Date: Tue Jun 5 18:28:01 2012 +0200
[ng] automake: new global variable '%known_ltlibraries'
This is just a preparatory refactoring in view of future changes.
* automake.in (%known_ltlibraries): New global variable.
(initialize_per_input): Reset it.
(handle_ltlibraries): Register processed libtool libraries in
'%known_ltlibraries' rather than in '%known_libraries'.
(lang_vala_finish): Also take into account the contents of
'%known_ltlibraries'; since we are at it, refactor a little
to remove some inconsistency and code duplication.
Signed-off-by: Stefano Lattarini <address@hidden>
commit c7de107aaf55b1c30438d5a17fefd296fabc57ef
Author: Stefano Lattarini <address@hidden>
Date: Tue Jun 5 18:22:33 2012 +0200
[ng] coverage: conditional defn of lib_LIBRARIES and lib_LTLIBRARIES
This improved coverage will come handy to check the correctness of
future changes.
* t/cond30.sh: Enhance.
Signed-off-by: Stefano Lattarini <address@hidden>
-----------------------------------------------------------------------
hooks/post-receive
--
GNU Automake
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [Automake-commit] [SCM] GNU Automake branch, experimental/ng/check-typos-at-make-runtime, created. v1.12.1-305-gddc05a1,
Stefano Lattarini <=