Makefile.in (lang_checks): Add.
gcc: * Makefile.in (lang_checks): Add. (check-c++, check-f77, check-java, check-g++, check-g77, check-objc): Remove hardcoded targets. * doc/sourcebuild.texi: Document testsuite hooks. * objc/Make-lang.in (check-objc, lang_checks): Add. gcc/cp: * Make-lang.in (check-g++, lang_checks): Add. gcc/f: * Make-lang.in (check-f77, lang_checks): Add. gcc/java: * Make-lang.in (check-java): Add. gcc/treelang: * Make-lang.in: Remove obsolete comment. From-SVN: r73758
This commit is contained in:
parent
19f0526a54
commit
49a4172630
|
@ -1,3 +1,11 @@
|
|||
2003-11-20 Joseph S. Myers <jsm@polyomino.org.uk>
|
||||
|
||||
* Makefile.in (lang_checks): Add.
|
||||
(check-c++, check-f77, check-java, check-g++, check-g77,
|
||||
check-objc): Remove hardcoded targets.
|
||||
* doc/sourcebuild.texi: Document testsuite hooks.
|
||||
* objc/Make-lang.in (check-objc, lang_checks): Add.
|
||||
|
||||
2003-11-19 Scott Snyder <snyder@fnal.gov>
|
||||
|
||||
PR target/13131
|
||||
|
|
|
@ -380,6 +380,7 @@ host_xm_defines=@host_xm_defines@
|
|||
xm_file_list=@xm_file_list@
|
||||
xm_include_list=@xm_include_list@
|
||||
xm_defines=@xm_defines@
|
||||
lang_checks=check-gcc
|
||||
lang_opt_files=@lang_opt_files@ $(srcdir)/c.opt $(srcdir)/common.opt
|
||||
lang_specs_files=@lang_specs_files@
|
||||
lang_tree_files=@lang_tree_files@
|
||||
|
@ -3253,10 +3254,6 @@ site.exp: ./config.status Makefile
|
|||
|
||||
CHECK_TARGETS = check-gcc @check_languages@
|
||||
|
||||
check-c++ : check-g++
|
||||
check-f77 : check-g77
|
||||
check-java :
|
||||
|
||||
check: $(CHECK_TARGETS)
|
||||
|
||||
# The idea is to parallelize testing of multilibs, for example:
|
||||
|
@ -3264,7 +3261,8 @@ check: $(CHECK_TARGETS)
|
|||
# will run 3 concurrent sessions of check-gcc, eventually testing
|
||||
# all 10 combinations. GNU make is required, as is a shell that expands
|
||||
# alternations within braces.
|
||||
check-gcc//% check-g++//% check-g77//% check-objc//%: site.exp
|
||||
lang_checks_parallel = $(lang_checks:=//%)
|
||||
$(lang_checks_parallel): site.exp
|
||||
target=`echo "$@" | sed 's,//.*,,'`; \
|
||||
variant=`echo "$@" | sed 's,^[^/]*//,,'`; \
|
||||
vardots=`echo "$$variant" | sed 's,/,.,g'`; \
|
||||
|
@ -3279,7 +3277,7 @@ $(TESTSUITEDIR)/site.exp: site.exp
|
|||
-rm -f $@
|
||||
sed '/set tmpdir/ s|testsuite|$(TESTSUITEDIR)|' < site.exp > $@
|
||||
|
||||
check-g++ check-gcc check-g77 check-objc: check-% : $(TESTSUITEDIR)/site.exp
|
||||
$(lang_checks): check-% : $(TESTSUITEDIR)/site.exp
|
||||
-(rootme=`${PWD_COMMAND}`; export rootme; \
|
||||
srcdir=`cd ${srcdir}; ${PWD_COMMAND}` ; export srcdir ; \
|
||||
cd $(TESTSUITEDIR); \
|
||||
|
|
|
@ -1,3 +1,7 @@
|
|||
2003-11-20 Joseph S. Myers <jsm@polyomino.org.uk>
|
||||
|
||||
* Make-lang.in (check-g++, lang_checks): Add.
|
||||
|
||||
2003-11-18 Kriang Lerdsuwanakij <lerdsuwa@users.sourceforge.net>
|
||||
|
||||
PR c++/12932
|
||||
|
|
|
@ -120,6 +120,9 @@ c++.tags: force
|
|||
|
||||
generated-manpages:: cp/g++.1
|
||||
|
||||
check-c++ : check-g++
|
||||
lang_checks += check-g++
|
||||
|
||||
#
|
||||
# Install hooks:
|
||||
# cc1plus is installed elsewhere as part of $(COMPILERS).
|
||||
|
|
|
@ -551,7 +551,9 @@ specified in @code{outputs} in @file{config-lang.in}, although this is
|
|||
deprecated). Some hooks are defined by using a double-colon rule for
|
||||
@code{@var{hook}}, rather than by using a target of form
|
||||
@code{@var{lang}.@var{hook}}. These hooks are called ``double-colon
|
||||
hooks'' below.
|
||||
hooks'' below. It also adds any testsuite targets that can use the
|
||||
standard rule in @file{gcc/Makefile.in} to the variable
|
||||
@code{lang_checks}.
|
||||
|
||||
@table @code
|
||||
@item all.build
|
||||
|
|
|
@ -1,3 +1,7 @@
|
|||
2003-11-20 Joseph S. Myers <jsm@polyomino.org.uk>
|
||||
|
||||
* Make-lang.in (check-f77, lang_checks): Add.
|
||||
|
||||
2003-11-16 Jason Merrill <jason@redhat.com>
|
||||
|
||||
* Make-lang.in (f77.tags): Create TAGS.sub files in each directory
|
||||
|
|
|
@ -153,6 +153,9 @@ info:: $(docobjdir)/g77.info
|
|||
dvi:: $(docobjdir)/g77.dvi
|
||||
generated-manpages:: $(docobjdir)/g77.1
|
||||
|
||||
check-f77 : check-g77
|
||||
lang_checks += check-g77
|
||||
|
||||
# g77 documentation.
|
||||
$(docobjdir)/g77.info: $(srcdir)/f/g77.texi $(srcdir)/f/bugs.texi \
|
||||
$(srcdir)/f/ffe.texi $(srcdir)/f/invoke.texi \
|
||||
|
|
|
@ -1,3 +1,7 @@
|
|||
2003-11-20 Joseph S. Myers <jsm@polyomino.org.uk>
|
||||
|
||||
* Make-lang.in (check-java): Add.
|
||||
|
||||
2003-11-19 Jeff Sturm <jsturm@one-point.com>
|
||||
|
||||
Fix PR java/13024.
|
||||
|
|
|
@ -170,6 +170,8 @@ generated-manpages:: $(docobjdir)/gcj.1 $(docobjdir)/gcjh.1 \
|
|||
$(docobjdir)/gij.1 $(docobjdir)/jv-convert.1 \
|
||||
$(docobjdir)/rmic.1 $(docobjdir)/rmiregistry.1
|
||||
|
||||
check-java :
|
||||
|
||||
# Install hooks:
|
||||
# jc1, gcj, jvgenmain, and gcjh are installed elsewhere as part
|
||||
# of $(COMPILERS).
|
||||
|
|
|
@ -107,6 +107,8 @@ objc.tags: force
|
|||
cd $(srcdir)/objc; etags -o TAGS.sub *.y *.c *.h; \
|
||||
etags --include TAGS.sub --include ../TAGS.sub
|
||||
|
||||
lang_checks += check-objc
|
||||
|
||||
#
|
||||
# Install hooks:
|
||||
# cc1obj is installed elsewhere as part of $(COMPILERS).
|
||||
|
|
|
@ -1,3 +1,7 @@
|
|||
2003-11-20 Joseph S. Myers <jsm@polyomino.org.uk>
|
||||
|
||||
* Make-lang.in: Remove obsolete comment.
|
||||
|
||||
2003-11-03 Kelley Cook <kcook@gcc.gnu.org>
|
||||
|
||||
* Make-lang.in (dvi): Move targets to $(docobjdir).
|
||||
|
|
|
@ -271,7 +271,6 @@ treelang.distdir:
|
|||
# not here yet sorry not sure if this is needed or not???
|
||||
|
||||
# test hook
|
||||
# the other languages are hard coded in the main makefile.in - that seems to be wrong
|
||||
|
||||
check-treelang: treelang.check
|
||||
|
||||
|
|
Loading…
Reference in New Issue