diff options
Diffstat (limited to 'gcc-4.2.1-5666.3/libgomp/testsuite/libgomp.fortran/fortran.exp')
-rw-r--r-- | gcc-4.2.1-5666.3/libgomp/testsuite/libgomp.fortran/fortran.exp | 20 |
1 files changed, 20 insertions, 0 deletions
diff --git a/gcc-4.2.1-5666.3/libgomp/testsuite/libgomp.fortran/fortran.exp b/gcc-4.2.1-5666.3/libgomp/testsuite/libgomp.fortran/fortran.exp new file mode 100644 index 000000000..bf95aab00 --- /dev/null +++ b/gcc-4.2.1-5666.3/libgomp/testsuite/libgomp.fortran/fortran.exp @@ -0,0 +1,20 @@ +set lang_library_path "../libgfortran/.libs" +set lang_test_file "${lang_library_path}/libgfortranbegin.a" +set lang_link_flags "-lgfortranbegin -lgfortran" + +load_lib libgomp-dg.exp + +# Initialize dg. +dg-init + +if [file exists "${blddir}/${lang_test_file}"] { + + # Gather a list of all tests. + set tests [lsort [find $srcdir/$subdir *.\[fF\]{,90,95,03}]] + + # Main loop. + gfortran-dg-runtest $tests "" +} + +# All done. +dg-finish |