Running the gfortran test_suite without DejaGnu

THOMAS Paul Richard prthomas@drfccad.cea.fr
Wed Jan 19 15:54:00 GMT 2005


The correct version of the script to run the test suite on systems without
dejagnu or similar is attached.

	It produces a log file as follows:

	*****************gfortran testsuite*******************

	Run on Wed Jan 19 16:32:56 CET 2005           System V5.1 2650 alpha

	GNU Fortran 95 (GCC 4.0.0 20050117 (experimental))
	Copyright (C) 2005 Free Software Foundation, Inc.

	GNU Fortran comes with NO WARRANTY, to the extent permitted by law.
	You may redistribute copies of GNU Fortran
	under the terms of the GNU General Public License.
	For more information about these matters, see the file named COPYING

	*****************gfortran.dg**************************
	***********************************
	./g77/12002.f compiles and runs OK
	***********************************
	./g77/12632.f compiles and runs OK
	***********************************
	./g77/13037.f compiles and runs OK
	***********************************
	./g77/13060.f compiles OK
	***********************************

	etc. etc. UNTIL:

	***********************************
	./shape_1.f90 fails in compilation
	 In file ./shape_1.f90:4

	  integer, parameter :: a(n) = 1 ! { dg-error "cannot be automatic"
"automatic 
	                           1
	Error: Parameter array 'a' at (1) cannot be automatic or assumed
shape
	 In file ./shape_1.f90:5

	  integer, parameter :: z(:) = (/ 1,2,3 /) ! { dg-error "cannot be
automatic" "
	                           1
	Error: Parameter array 'z' at (1) cannot be automatic or assumed
shape
	***********************************
	./simpleif_1.f90 compiles and runs OK
	***********************************
	./string_ctor_1.f90 compiles and runs OK
	***********************************
	./use_allocated_1.f90 compiles and runs OK
	***********************************
	../mytests/test_nml_1.f compiles and runs OK
	***********************************
	../mytests/test_nml_2.f compiles and runs OK
	***********************************
	../mytests/test_nml_3.f95 compiles and runs OK
	11 compilation errors
	1 load and link errors
	4 runtime errors
	195 completely successful

	  
 <<dg1.sh>> 
-------------- next part --------------
A non-text attachment was scrubbed...
Name: dg1.sh
Type: application/octet-stream
Size: 4250 bytes
Desc: not available
URL: <http://gcc.gnu.org/pipermail/fortran/attachments/20050119/a35bb6c6/attachment.obj>


More information about the Fortran mailing list