Commits

Anonymous committed 6e09602

Update Fortran tests that relied on the order of the -c option.

  • Participants
  • Parent commits 9f5f3e9

Comments (0)

Files changed (8)

test/Fortran/F77FLAGS.py

 
 test.run(arguments = '.', stderr = None)
 
-test.must_match('test01' + _exe, " -x -c\nThis is a .f file.\n")
-test.must_match('test02' + _exe, " -x -c\nThis is a .F file.\n")
-test.must_match('test03' + _exe, " -x -c\nThis is a .for file.\n")
-test.must_match('test04' + _exe, " -x -c\nThis is a .FOR file.\n")
-test.must_match('test05' + _exe, " -x -c\nThis is a .ftn file.\n")
-test.must_match('test06' + _exe, " -x -c\nThis is a .FTN file.\n")
-test.must_match('test07' + _exe, " -x -c\nThis is a .fpp file.\n")
-test.must_match('test08' + _exe, " -x -c\nThis is a .FPP file.\n")
-test.must_match('test09' + _exe, " -x -c\nThis is a .f77 file.\n")
-test.must_match('test10' + _exe, " -x -c\nThis is a .F77 file.\n")
+test.must_match('test01' + _exe, " -c -x\nThis is a .f file.\n")
+test.must_match('test02' + _exe, " -c -x\nThis is a .F file.\n")
+test.must_match('test03' + _exe, " -c -x\nThis is a .for file.\n")
+test.must_match('test04' + _exe, " -c -x\nThis is a .FOR file.\n")
+test.must_match('test05' + _exe, " -c -x\nThis is a .ftn file.\n")
+test.must_match('test06' + _exe, " -c -x\nThis is a .FTN file.\n")
+test.must_match('test07' + _exe, " -c -x\nThis is a .fpp file.\n")
+test.must_match('test08' + _exe, " -c -x\nThis is a .FPP file.\n")
+test.must_match('test09' + _exe, " -c -x\nThis is a .f77 file.\n")
+test.must_match('test10' + _exe, " -c -x\nThis is a .F77 file.\n")
 
 
 

test/Fortran/F90FLAGS.py

 
 test.run(arguments = '.', stderr = None)
 
-test.must_match('test01' + _exe, " -y -c\nThis is a .f file.\n")
-test.must_match('test02' + _exe, " -y -c\nThis is a .F file.\n")
-test.must_match('test03' + _exe, " -y -c\nThis is a .for file.\n")
-test.must_match('test04' + _exe, " -y -c\nThis is a .FOR file.\n")
-test.must_match('test05' + _exe, " -y -c\nThis is a .ftn file.\n")
-test.must_match('test06' + _exe, " -y -c\nThis is a .FTN file.\n")
-test.must_match('test07' + _exe, " -y -c\nThis is a .fpp file.\n")
-test.must_match('test08' + _exe, " -y -c\nThis is a .FPP file.\n")
-test.must_match('test09' + _exe, " -y -c\nThis is a .f77 file.\n")
-test.must_match('test10' + _exe, " -y -c\nThis is a .F77 file.\n")
-test.must_match('test11' + _exe, " -x -c\nThis is a .f90 file.\n")
-test.must_match('test12' + _exe, " -x -c\nThis is a .F90 file.\n")
-test.must_match('test13' + _exe, " -y -c\nThis is a .f95 file.\n")
-test.must_match('test14' + _exe, " -y -c\nThis is a .F95 file.\n")
+test.must_match('test01' + _exe, " -c -y\nThis is a .f file.\n")
+test.must_match('test02' + _exe, " -c -y\nThis is a .F file.\n")
+test.must_match('test03' + _exe, " -c -y\nThis is a .for file.\n")
+test.must_match('test04' + _exe, " -c -y\nThis is a .FOR file.\n")
+test.must_match('test05' + _exe, " -c -y\nThis is a .ftn file.\n")
+test.must_match('test06' + _exe, " -c -y\nThis is a .FTN file.\n")
+test.must_match('test07' + _exe, " -c -y\nThis is a .fpp file.\n")
+test.must_match('test08' + _exe, " -c -y\nThis is a .FPP file.\n")
+test.must_match('test09' + _exe, " -c -y\nThis is a .f77 file.\n")
+test.must_match('test10' + _exe, " -c -y\nThis is a .F77 file.\n")
+test.must_match('test11' + _exe, " -c -x\nThis is a .f90 file.\n")
+test.must_match('test12' + _exe, " -c -x\nThis is a .F90 file.\n")
+test.must_match('test13' + _exe, " -c -y\nThis is a .f95 file.\n")
+test.must_match('test14' + _exe, " -c -y\nThis is a .F95 file.\n")
 
 
 

test/Fortran/F95FLAGS.py

 
 test.run(arguments = '.', stderr = None)
 
-test.must_match('test01' + _exe, " -y -c\nThis is a .f file.\n")
-test.must_match('test02' + _exe, " -y -c\nThis is a .F file.\n")
-test.must_match('test03' + _exe, " -y -c\nThis is a .for file.\n")
-test.must_match('test04' + _exe, " -y -c\nThis is a .FOR file.\n")
-test.must_match('test05' + _exe, " -y -c\nThis is a .ftn file.\n")
-test.must_match('test06' + _exe, " -y -c\nThis is a .FTN file.\n")
-test.must_match('test07' + _exe, " -y -c\nThis is a .fpp file.\n")
-test.must_match('test08' + _exe, " -y -c\nThis is a .FPP file.\n")
-test.must_match('test09' + _exe, " -y -c\nThis is a .f77 file.\n")
-test.must_match('test10' + _exe, " -y -c\nThis is a .F77 file.\n")
-test.must_match('test11' + _exe, " -y -c\nThis is a .f90 file.\n")
-test.must_match('test12' + _exe, " -y -c\nThis is a .F90 file.\n")
-test.must_match('test13' + _exe, " -x -c\nThis is a .f95 file.\n")
-test.must_match('test14' + _exe, " -x -c\nThis is a .F95 file.\n")
+test.must_match('test01' + _exe, " -c -y\nThis is a .f file.\n")
+test.must_match('test02' + _exe, " -c -y\nThis is a .F file.\n")
+test.must_match('test03' + _exe, " -c -y\nThis is a .for file.\n")
+test.must_match('test04' + _exe, " -c -y\nThis is a .FOR file.\n")
+test.must_match('test05' + _exe, " -c -y\nThis is a .ftn file.\n")
+test.must_match('test06' + _exe, " -c -y\nThis is a .FTN file.\n")
+test.must_match('test07' + _exe, " -c -y\nThis is a .fpp file.\n")
+test.must_match('test08' + _exe, " -c -y\nThis is a .FPP file.\n")
+test.must_match('test09' + _exe, " -c -y\nThis is a .f77 file.\n")
+test.must_match('test10' + _exe, " -c -y\nThis is a .F77 file.\n")
+test.must_match('test11' + _exe, " -c -y\nThis is a .f90 file.\n")
+test.must_match('test12' + _exe, " -c -y\nThis is a .F90 file.\n")
+test.must_match('test13' + _exe, " -c -x\nThis is a .f95 file.\n")
+test.must_match('test14' + _exe, " -c -x\nThis is a .F95 file.\n")
 
 
 

test/Fortran/FORTRANFLAGS.py

 
 test.run(arguments = '.', stderr = None)
 
-test.must_match('test01' + _exe, " -x -c\nThis is a .f file.\n")
-test.must_match('test02' + _exe, " -x -c\nThis is a .F file.\n")
-test.must_match('test03' + _exe, " -x -c\nThis is a .for file.\n")
-test.must_match('test04' + _exe, " -x -c\nThis is a .FOR file.\n")
-test.must_match('test05' + _exe, " -x -c\nThis is a .ftn file.\n")
-test.must_match('test06' + _exe, " -x -c\nThis is a .FTN file.\n")
-test.must_match('test07' + _exe, " -x -c\nThis is a .fpp file.\n")
-test.must_match('test08' + _exe, " -x -c\nThis is a .FPP file.\n")
-test.must_match('test09' + _exe, " -x -c\nThis is a .f77 file.\n")
-test.must_match('test10' + _exe, " -x -c\nThis is a .F77 file.\n")
-test.must_match('test11' + _exe, " -x -c\nThis is a .f90 file.\n")
-test.must_match('test12' + _exe, " -x -c\nThis is a .F90 file.\n")
-test.must_match('test13' + _exe, " -x -c\nThis is a .f95 file.\n")
-test.must_match('test14' + _exe, " -x -c\nThis is a .F95 file.\n")
+test.must_match('test01' + _exe, " -c -x\nThis is a .f file.\n")
+test.must_match('test02' + _exe, " -c -x\nThis is a .F file.\n")
+test.must_match('test03' + _exe, " -c -x\nThis is a .for file.\n")
+test.must_match('test04' + _exe, " -c -x\nThis is a .FOR file.\n")
+test.must_match('test05' + _exe, " -c -x\nThis is a .ftn file.\n")
+test.must_match('test06' + _exe, " -c -x\nThis is a .FTN file.\n")
+test.must_match('test07' + _exe, " -c -x\nThis is a .fpp file.\n")
+test.must_match('test08' + _exe, " -c -x\nThis is a .FPP file.\n")
+test.must_match('test09' + _exe, " -c -x\nThis is a .f77 file.\n")
+test.must_match('test10' + _exe, " -c -x\nThis is a .F77 file.\n")
+test.must_match('test11' + _exe, " -c -x\nThis is a .f90 file.\n")
+test.must_match('test12' + _exe, " -c -x\nThis is a .F90 file.\n")
+test.must_match('test13' + _exe, " -c -x\nThis is a .f95 file.\n")
+test.must_match('test14' + _exe, " -c -x\nThis is a .F95 file.\n")
 
 
 

test/Fortran/SHF77FLAGS.py

 
 test.run(arguments = '.', stderr = None)
 
-test.must_match('test01' + _obj, " -x -c\nThis is a .f file.\n")
-test.must_match('test02' + _obj, " -x -c\nThis is a .F file.\n")
-test.must_match('test03' + _obj, " -x -c\nThis is a .for file.\n")
-test.must_match('test04' + _obj, " -x -c\nThis is a .FOR file.\n")
-test.must_match('test05' + _obj, " -x -c\nThis is a .ftn file.\n")
-test.must_match('test06' + _obj, " -x -c\nThis is a .FTN file.\n")
-test.must_match('test07' + _obj, " -x -c\nThis is a .fpp file.\n")
-test.must_match('test08' + _obj, " -x -c\nThis is a .FPP file.\n")
-test.must_match('test09' + _obj, " -x -c\nThis is a .f77 file.\n")
-test.must_match('test10' + _obj, " -x -c\nThis is a .F77 file.\n")
+test.must_match('test01' + _obj, " -c -x\nThis is a .f file.\n")
+test.must_match('test02' + _obj, " -c -x\nThis is a .F file.\n")
+test.must_match('test03' + _obj, " -c -x\nThis is a .for file.\n")
+test.must_match('test04' + _obj, " -c -x\nThis is a .FOR file.\n")
+test.must_match('test05' + _obj, " -c -x\nThis is a .ftn file.\n")
+test.must_match('test06' + _obj, " -c -x\nThis is a .FTN file.\n")
+test.must_match('test07' + _obj, " -c -x\nThis is a .fpp file.\n")
+test.must_match('test08' + _obj, " -c -x\nThis is a .FPP file.\n")
+test.must_match('test09' + _obj, " -c -x\nThis is a .f77 file.\n")
+test.must_match('test10' + _obj, " -c -x\nThis is a .F77 file.\n")
 
 
 

test/Fortran/SHF90FLAGS.py

 
 test.run(arguments = '.', stderr = None)
 
-test.must_match('test01' + _obj, " -y -c\nThis is a .f file.\n")
-test.must_match('test02' + _obj, " -y -c\nThis is a .F file.\n")
-test.must_match('test03' + _obj, " -y -c\nThis is a .for file.\n")
-test.must_match('test04' + _obj, " -y -c\nThis is a .FOR file.\n")
-test.must_match('test05' + _obj, " -y -c\nThis is a .ftn file.\n")
-test.must_match('test06' + _obj, " -y -c\nThis is a .FTN file.\n")
-test.must_match('test07' + _obj, " -y -c\nThis is a .fpp file.\n")
-test.must_match('test08' + _obj, " -y -c\nThis is a .FPP file.\n")
-test.must_match('test09' + _obj, " -y -c\nThis is a .f77 file.\n")
-test.must_match('test10' + _obj, " -y -c\nThis is a .F77 file.\n")
-test.must_match('test11' + _obj, " -x -c\nThis is a .f90 file.\n")
-test.must_match('test12' + _obj, " -x -c\nThis is a .F90 file.\n")
-test.must_match('test13' + _obj, " -y -c\nThis is a .f95 file.\n")
-test.must_match('test14' + _obj, " -y -c\nThis is a .F95 file.\n")
+test.must_match('test01' + _obj, " -c -y\nThis is a .f file.\n")
+test.must_match('test02' + _obj, " -c -y\nThis is a .F file.\n")
+test.must_match('test03' + _obj, " -c -y\nThis is a .for file.\n")
+test.must_match('test04' + _obj, " -c -y\nThis is a .FOR file.\n")
+test.must_match('test05' + _obj, " -c -y\nThis is a .ftn file.\n")
+test.must_match('test06' + _obj, " -c -y\nThis is a .FTN file.\n")
+test.must_match('test07' + _obj, " -c -y\nThis is a .fpp file.\n")
+test.must_match('test08' + _obj, " -c -y\nThis is a .FPP file.\n")
+test.must_match('test09' + _obj, " -c -y\nThis is a .f77 file.\n")
+test.must_match('test10' + _obj, " -c -y\nThis is a .F77 file.\n")
+test.must_match('test11' + _obj, " -c -x\nThis is a .f90 file.\n")
+test.must_match('test12' + _obj, " -c -x\nThis is a .F90 file.\n")
+test.must_match('test13' + _obj, " -c -y\nThis is a .f95 file.\n")
+test.must_match('test14' + _obj, " -c -y\nThis is a .F95 file.\n")
 
 
 

test/Fortran/SHF95FLAGS.py

 
 test.run(arguments = '.', stderr = None)
 
-test.must_match('test01' + _obj, " -y -c\nThis is a .f file.\n")
-test.must_match('test02' + _obj, " -y -c\nThis is a .F file.\n")
-test.must_match('test03' + _obj, " -y -c\nThis is a .for file.\n")
-test.must_match('test04' + _obj, " -y -c\nThis is a .FOR file.\n")
-test.must_match('test05' + _obj, " -y -c\nThis is a .ftn file.\n")
-test.must_match('test06' + _obj, " -y -c\nThis is a .FTN file.\n")
-test.must_match('test07' + _obj, " -y -c\nThis is a .fpp file.\n")
-test.must_match('test08' + _obj, " -y -c\nThis is a .FPP file.\n")
-test.must_match('test09' + _obj, " -y -c\nThis is a .f77 file.\n")
-test.must_match('test10' + _obj, " -y -c\nThis is a .F77 file.\n")
-test.must_match('test11' + _obj, " -y -c\nThis is a .f90 file.\n")
-test.must_match('test12' + _obj, " -y -c\nThis is a .F90 file.\n")
-test.must_match('test13' + _obj, " -x -c\nThis is a .f95 file.\n")
-test.must_match('test14' + _obj, " -x -c\nThis is a .F95 file.\n")
+test.must_match('test01' + _obj, " -c -y\nThis is a .f file.\n")
+test.must_match('test02' + _obj, " -c -y\nThis is a .F file.\n")
+test.must_match('test03' + _obj, " -c -y\nThis is a .for file.\n")
+test.must_match('test04' + _obj, " -c -y\nThis is a .FOR file.\n")
+test.must_match('test05' + _obj, " -c -y\nThis is a .ftn file.\n")
+test.must_match('test06' + _obj, " -c -y\nThis is a .FTN file.\n")
+test.must_match('test07' + _obj, " -c -y\nThis is a .fpp file.\n")
+test.must_match('test08' + _obj, " -c -y\nThis is a .FPP file.\n")
+test.must_match('test09' + _obj, " -c -y\nThis is a .f77 file.\n")
+test.must_match('test10' + _obj, " -c -y\nThis is a .F77 file.\n")
+test.must_match('test11' + _obj, " -c -y\nThis is a .f90 file.\n")
+test.must_match('test12' + _obj, " -c -y\nThis is a .F90 file.\n")
+test.must_match('test13' + _obj, " -c -x\nThis is a .f95 file.\n")
+test.must_match('test14' + _obj, " -c -x\nThis is a .F95 file.\n")
 
 
 

test/Fortran/SHFORTRANFLAGS.py

 
 test.run(arguments = '.', stderr = None)
 
-test.must_match('test01' + _obj, " -x -c\nThis is a .f file.\n")
-test.must_match('test02' + _obj, " -x -c\nThis is a .F file.\n")
-test.must_match('test03' + _obj, " -x -c\nThis is a .for file.\n")
-test.must_match('test04' + _obj, " -x -c\nThis is a .FOR file.\n")
-test.must_match('test05' + _obj, " -x -c\nThis is a .ftn file.\n")
-test.must_match('test06' + _obj, " -x -c\nThis is a .FTN file.\n")
-test.must_match('test07' + _obj, " -x -c\nThis is a .fpp file.\n")
-test.must_match('test08' + _obj, " -x -c\nThis is a .FPP file.\n")
-test.must_match('test09' + _obj, " -x -c\nThis is a .f77 file.\n")
-test.must_match('test10' + _obj, " -x -c\nThis is a .F77 file.\n")
-test.must_match('test11' + _obj, " -x -c\nThis is a .f90 file.\n")
-test.must_match('test12' + _obj, " -x -c\nThis is a .F90 file.\n")
-test.must_match('test13' + _obj, " -x -c\nThis is a .f95 file.\n")
-test.must_match('test14' + _obj, " -x -c\nThis is a .F95 file.\n")
+test.must_match('test01' + _obj, " -c -x\nThis is a .f file.\n")
+test.must_match('test02' + _obj, " -c -x\nThis is a .F file.\n")
+test.must_match('test03' + _obj, " -c -x\nThis is a .for file.\n")
+test.must_match('test04' + _obj, " -c -x\nThis is a .FOR file.\n")
+test.must_match('test05' + _obj, " -c -x\nThis is a .ftn file.\n")
+test.must_match('test06' + _obj, " -c -x\nThis is a .FTN file.\n")
+test.must_match('test07' + _obj, " -c -x\nThis is a .fpp file.\n")
+test.must_match('test08' + _obj, " -c -x\nThis is a .FPP file.\n")
+test.must_match('test09' + _obj, " -c -x\nThis is a .f77 file.\n")
+test.must_match('test10' + _obj, " -c -x\nThis is a .F77 file.\n")
+test.must_match('test11' + _obj, " -c -x\nThis is a .f90 file.\n")
+test.must_match('test12' + _obj, " -c -x\nThis is a .F90 file.\n")
+test.must_match('test13' + _obj, " -c -x\nThis is a .f95 file.\n")
+test.must_match('test14' + _obj, " -c -x\nThis is a .F95 file.\n")