Hi RTEMS has pretty good FORTRAN test results on SPARC and PowerPC but a number fail in pattern matching. It appears to be a CR/LF issue.
I have attached the output of f77-edit-x-out (out.txt) and the associated fragment (run.txt) from the test run log which shows the pattern not matching. Based on breaking at the device driver, there is definitely a \r and \n at the end of each line printed and it is intentional from RTEMS' perspective. Is there some magic testsuite setting to tell DejaGNU about this? Some other suggestion to make the output pattern matching work. Tobias and I have taken a couple of swings at this in the past but never gotten a solution. I am hoping we are luckier this time. :) Thanks. -- Joel Sherrill, Ph.D. Director of Research & Development joel.sherr...@oarcorp.com On-Line Applications Research Ask me about RTEMS: a free RTOS Huntsville AL 35805 Support Available (256) 722-9985
1 2 3 1 2 3 *** EXIT code 0
Executing on host: /home2/joel/build/b-sparc-fortran/gcc/testsuite/gfortran/../../gfortran -B/home2/joel/build/b-sparc-fortran/gcc/testsuite/gfortran/../../ -B/home2/joel/build/b-sparc-fortran/sparc-rtems4.11/./libgfortran/ /users/joel/test-gcc/gcc-4.9-branch/gcc/testsuite/gfortran.dg/g77/f77-edit-x-out.f gfortran_tg.o -fno-diagnostics-show-caret -fdiagnostics-color=never -Os -pedantic-errors -B/users/joel/test-gcc/install-4.9-branch/sparc-rtems4.11/sis/lib/ -specs bsp_specs -qrtems -mcpu=cypress /home2/joel/build/b-sparc-fortran/rtems_gcc_main.o -B/home2/joel/build/b-sparc-fortran/sparc-rtems4.11/./libgfortran/.libs -L/home2/joel/build/b-sparc-fortran/sparc-rtems4.11/./libgfortran/.libs -Wl,-wrap,exit -Wl,-wrap,_exit -Wl,-wrap,main -Wl,-wrap,abort -lm -o ./f77-edit-x-out.exe (timeout = 300) spawn -ignore SIGHUP /home2/joel/build/b-sparc-fortran/gcc/testsuite/gfortran/../../gfortran -B/home2/joel/build/b-sparc-fortran/gcc/testsuite/gfortran/../../ -B/home2/joel/build/b-sparc-fortran/sparc-rtems4.11/./libgfortran/ /users/joel/test-gcc/gcc-4.9-branch/gcc/testsuite/gfortran.dg/g77/f77-edit-x-out.f gfortran_tg.o -fno-diagnostics-show-caret -fdiagnostics-color=never -Os -pedantic-errors -B/users/joel/test-gcc/install-4.9-branch/sparc-rtems4.11/sis/lib/ -specs bsp_specs -qrtems -mcpu=cypress /home2/joel/build/b-sparc-fortran/rtems_gcc_main.o -B/home2/joel/build/b-sparc-fortran/sparc-rtems4.11/./libgfortran/.libs -L/home2/joel/build/b-sparc-fortran/sparc-rtems4.11/./libgfortran/.libs -Wl,-wrap,exit -Wl,-wrap,_exit -Wl,-wrap,main -Wl,-wrap,abort -lm -o ./f77-edit-x-out.exe PASS: gfortran.dg/g77/f77-edit-x-out.f -Os (test for excess errors) spawn sis -i ./f77-edit-x-out.exe 1 2 3 1 2 3 *** EXIT code 0 PASS: gfortran.dg/g77/f77-edit-x-out.f -Os execution test FAIL: gfortran.dg/g77/f77-edit-x-out.f -Os output pattern test, is 1 2 3 1 2 3 , should match ^1 2 3( | | )1 2 3( | | )$