summaryrefslogtreecommitdiffstats
path: root/test/Fortran
diff options
context:
space:
mode:
authorWilliam Blevins <wblevins001@gmail.com>2016-09-24 06:05:34 (GMT)
committerWilliam Blevins <wblevins001@gmail.com>2016-09-24 06:05:34 (GMT)
commit9e87609dfac0fd6a87d2cdc0a9e4e8b5c0a6a99a (patch)
tree9f1f227334ac5874d079dadb6ad288b6b5e7524e /test/Fortran
parentd2312ff7f05636c425526936d1957464221b26d0 (diff)
downloadSCons-9e87609dfac0fd6a87d2cdc0a9e4e8b5c0a6a99a.zip
SCons-9e87609dfac0fd6a87d2cdc0a9e4e8b5c0a6a99a.tar.gz
SCons-9e87609dfac0fd6a87d2cdc0a9e4e8b5c0a6a99a.tar.bz2
Updated remaining Fortran tests to use fixture over import.
Diffstat (limited to 'test/Fortran')
-rw-r--r--test/Fortran/F03COM.py4
-rw-r--r--test/Fortran/F03FILESUFFIXES.py4
-rw-r--r--test/Fortran/F03FILESUFFIXES2.py4
-rw-r--r--test/Fortran/F03FLAGS.py4
-rw-r--r--test/Fortran/F08.py4
-rw-r--r--test/Fortran/F08COM.py4
-rw-r--r--test/Fortran/F08FILESUFFIXES.py4
-rw-r--r--test/Fortran/F08FILESUFFIXES2.py4
-rw-r--r--test/Fortran/F08FLAGS.py4
-rw-r--r--test/Fortran/F77.py4
-rw-r--r--test/Fortran/F77COM.py4
-rw-r--r--test/Fortran/F77FILESUFFIXES.py4
-rw-r--r--test/Fortran/F77FILESUFFIXES2.py4
-rw-r--r--test/Fortran/F77FLAGS.py4
-rw-r--r--test/Fortran/F90.py4
-rw-r--r--test/Fortran/F90COM.py4
-rw-r--r--test/Fortran/F90FILESUFFIXES.py4
-rw-r--r--test/Fortran/F90FILESUFFIXES2.py4
-rw-r--r--test/Fortran/F90FLAGS.py4
-rw-r--r--test/Fortran/F95.py4
-rw-r--r--test/Fortran/F95COM.py4
-rw-r--r--test/Fortran/F95FILESUFFIXES.py4
-rw-r--r--test/Fortran/F95FILESUFFIXES2.py4
-rw-r--r--test/Fortran/F95FLAGS.py4
-rw-r--r--test/Fortran/FORTRAN.py4
-rw-r--r--test/Fortran/FORTRANCOM.py4
-rw-r--r--test/Fortran/FORTRANFILESUFFIXES.py4
-rw-r--r--test/Fortran/FORTRANFILESUFFIXES2.py4
-rw-r--r--test/Fortran/FORTRANFLAGS.py4
-rw-r--r--test/Fortran/FORTRANPPFILESUFFIXES.py4
30 files changed, 42 insertions, 78 deletions
diff --git a/test/Fortran/F03COM.py b/test/Fortran/F03COM.py
index b0d1f79..dc1523e 100644
--- a/test/Fortran/F03COM.py
+++ b/test/Fortran/F03COM.py
@@ -26,14 +26,12 @@ __revision__ = "__FILE__ __REVISION__ __DATE__ __DEVELOPER__"
import TestSCons
-from common import write_fake_link
-
_python_ = TestSCons._python_
_exe = TestSCons._exe
test = TestSCons.TestSCons()
-write_fake_link(test)
+test.file_fixture('mylink.py')
test.write('myfortran.py', r"""
import sys
diff --git a/test/Fortran/F03FILESUFFIXES.py b/test/Fortran/F03FILESUFFIXES.py
index ffc2169..b1d2b93 100644
--- a/test/Fortran/F03FILESUFFIXES.py
+++ b/test/Fortran/F03FILESUFFIXES.py
@@ -26,14 +26,12 @@ __revision__ = "__FILE__ __REVISION__ __DATE__ __DEVELOPER__"
import TestSCons
-from common import write_fake_link
-
_python_ = TestSCons._python_
_exe = TestSCons._exe
test = TestSCons.TestSCons()
-write_fake_link(test)
+test.file_fixture('mylink.py')
test.write('myfortran.py', r"""
import getopt
diff --git a/test/Fortran/F03FILESUFFIXES2.py b/test/Fortran/F03FILESUFFIXES2.py
index 77a601f..44be880 100644
--- a/test/Fortran/F03FILESUFFIXES2.py
+++ b/test/Fortran/F03FILESUFFIXES2.py
@@ -26,14 +26,12 @@ __revision__ = "__FILE__ __REVISION__ __DATE__ __DEVELOPER__"
import TestSCons
-from common import write_fake_link
-
_python_ = TestSCons._python_
_exe = TestSCons._exe
test = TestSCons.TestSCons()
-write_fake_link(test)
+test.file_fixture('mylink.py')
test.write('myfortran.py', r"""
import getopt
diff --git a/test/Fortran/F03FLAGS.py b/test/Fortran/F03FLAGS.py
index 0c5bf93..b11b780 100644
--- a/test/Fortran/F03FLAGS.py
+++ b/test/Fortran/F03FLAGS.py
@@ -26,14 +26,12 @@ __revision__ = "__FILE__ __REVISION__ __DATE__ __DEVELOPER__"
import TestSCons
-from common import write_fake_link
-
_python_ = TestSCons._python_
test = TestSCons.TestSCons()
_exe = TestSCons._exe
-write_fake_link(test)
+test.file_fixture('mylink.py')
test.write('myfortran.py', r"""
import getopt
diff --git a/test/Fortran/F08.py b/test/Fortran/F08.py
index 35df37c..b61b861 100644
--- a/test/Fortran/F08.py
+++ b/test/Fortran/F08.py
@@ -26,14 +26,12 @@ __revision__ = "__FILE__ __REVISION__ __DATE__ __DEVELOPER__"
import TestSCons
-from common import write_fake_link
-
_python_ = TestSCons._python_
_exe = TestSCons._exe
test = TestSCons.TestSCons()
-write_fake_link(test)
+test.file_fixture('mylink.py')
test.write('myfortran.py', r"""
import getopt
diff --git a/test/Fortran/F08COM.py b/test/Fortran/F08COM.py
index 783a163..363c2d0 100644
--- a/test/Fortran/F08COM.py
+++ b/test/Fortran/F08COM.py
@@ -26,14 +26,12 @@ __revision__ = "__FILE__ __REVISION__ __DATE__ __DEVELOPER__"
import TestSCons
-from common import write_fake_link
-
_python_ = TestSCons._python_
_exe = TestSCons._exe
test = TestSCons.TestSCons()
-write_fake_link(test)
+test.file_fixture('mylink.py')
test.write('myfortran.py', r"""
import sys
diff --git a/test/Fortran/F08FILESUFFIXES.py b/test/Fortran/F08FILESUFFIXES.py
index 8463403..41059af 100644
--- a/test/Fortran/F08FILESUFFIXES.py
+++ b/test/Fortran/F08FILESUFFIXES.py
@@ -26,14 +26,12 @@ __revision__ = "__FILE__ __REVISION__ __DATE__ __DEVELOPER__"
import TestSCons
-from common import write_fake_link
-
_python_ = TestSCons._python_
_exe = TestSCons._exe
test = TestSCons.TestSCons()
-write_fake_link(test)
+test.file_fixture('mylink.py')
test.write('myfortran.py', r"""
import getopt
diff --git a/test/Fortran/F08FILESUFFIXES2.py b/test/Fortran/F08FILESUFFIXES2.py
index 39bba44..e53cee1 100644
--- a/test/Fortran/F08FILESUFFIXES2.py
+++ b/test/Fortran/F08FILESUFFIXES2.py
@@ -26,14 +26,12 @@ __revision__ = "__FILE__ __REVISION__ __DATE__ __DEVELOPER__"
import TestSCons
-from common import write_fake_link
-
_python_ = TestSCons._python_
_exe = TestSCons._exe
test = TestSCons.TestSCons()
-write_fake_link(test)
+test.file_fixture('mylink.py')
test.write('myfortran.py', r"""
import getopt
diff --git a/test/Fortran/F08FLAGS.py b/test/Fortran/F08FLAGS.py
index 866ea2c..34f3d75 100644
--- a/test/Fortran/F08FLAGS.py
+++ b/test/Fortran/F08FLAGS.py
@@ -26,14 +26,12 @@ __revision__ = "__FILE__ __REVISION__ __DATE__ __DEVELOPER__"
import TestSCons
-from common import write_fake_link
-
_python_ = TestSCons._python_
test = TestSCons.TestSCons()
_exe = TestSCons._exe
-write_fake_link(test)
+test.file_fixture('mylink.py')
test.write('myfortran.py', r"""
import getopt
diff --git a/test/Fortran/F77.py b/test/Fortran/F77.py
index 0ebd7ee..300df85 100644
--- a/test/Fortran/F77.py
+++ b/test/Fortran/F77.py
@@ -26,14 +26,12 @@ __revision__ = "__FILE__ __REVISION__ __DATE__ __DEVELOPER__"
import TestSCons
-from common import write_fake_link
-
_python_ = TestSCons._python_
_exe = TestSCons._exe
test = TestSCons.TestSCons()
-write_fake_link(test)
+test.file_fixture('mylink.py')
test.write('myfortran.py', r"""
import getopt
diff --git a/test/Fortran/F77COM.py b/test/Fortran/F77COM.py
index 1efbe05..4e15eea 100644
--- a/test/Fortran/F77COM.py
+++ b/test/Fortran/F77COM.py
@@ -26,14 +26,12 @@ __revision__ = "__FILE__ __REVISION__ __DATE__ __DEVELOPER__"
import TestSCons
-from common import write_fake_link
-
_python_ = TestSCons._python_
_exe = TestSCons._exe
test = TestSCons.TestSCons()
-write_fake_link(test)
+test.file_fixture('mylink.py')
test.write('myfortran.py', r"""
import sys
diff --git a/test/Fortran/F77FILESUFFIXES.py b/test/Fortran/F77FILESUFFIXES.py
index 2070ff2..1715ce9 100644
--- a/test/Fortran/F77FILESUFFIXES.py
+++ b/test/Fortran/F77FILESUFFIXES.py
@@ -26,14 +26,12 @@ __revision__ = "__FILE__ __REVISION__ __DATE__ __DEVELOPER__"
import TestSCons
-from common import write_fake_link
-
_python_ = TestSCons._python_
_exe = TestSCons._exe
test = TestSCons.TestSCons()
-write_fake_link(test)
+test.file_fixture('mylink.py')
test.write('myfortran.py', r"""
import getopt
diff --git a/test/Fortran/F77FILESUFFIXES2.py b/test/Fortran/F77FILESUFFIXES2.py
index 52e4d68..1938af1 100644
--- a/test/Fortran/F77FILESUFFIXES2.py
+++ b/test/Fortran/F77FILESUFFIXES2.py
@@ -26,14 +26,12 @@ __revision__ = "__FILE__ __REVISION__ __DATE__ __DEVELOPER__"
import TestSCons
-from common import write_fake_link
-
_python_ = TestSCons._python_
_exe = TestSCons._exe
test = TestSCons.TestSCons()
-write_fake_link(test)
+test.file_fixture('mylink.py')
test.write('myfortran.py', r"""
import getopt
diff --git a/test/Fortran/F77FLAGS.py b/test/Fortran/F77FLAGS.py
index 342adac..8e972ec 100644
--- a/test/Fortran/F77FLAGS.py
+++ b/test/Fortran/F77FLAGS.py
@@ -26,14 +26,12 @@ __revision__ = "__FILE__ __REVISION__ __DATE__ __DEVELOPER__"
import TestSCons
-from common import write_fake_link
-
_python_ = TestSCons._python_
test = TestSCons.TestSCons()
_exe = TestSCons._exe
-write_fake_link(test)
+test.file_fixture('mylink.py')
test.write('myg77.py', r"""
import getopt
diff --git a/test/Fortran/F90.py b/test/Fortran/F90.py
index d7c73c6..bbceaac 100644
--- a/test/Fortran/F90.py
+++ b/test/Fortran/F90.py
@@ -26,14 +26,12 @@ __revision__ = "__FILE__ __REVISION__ __DATE__ __DEVELOPER__"
import TestSCons
-from common import write_fake_link
-
_python_ = TestSCons._python_
_exe = TestSCons._exe
test = TestSCons.TestSCons()
-write_fake_link(test)
+test.file_fixture('mylink.py')
test.write('myfortran.py', r"""
import getopt
diff --git a/test/Fortran/F90COM.py b/test/Fortran/F90COM.py
index 8981bb3..e3be2a1 100644
--- a/test/Fortran/F90COM.py
+++ b/test/Fortran/F90COM.py
@@ -26,14 +26,12 @@ __revision__ = "__FILE__ __REVISION__ __DATE__ __DEVELOPER__"
import TestSCons
-from common import write_fake_link
-
_python_ = TestSCons._python_
_exe = TestSCons._exe
test = TestSCons.TestSCons()
-write_fake_link(test)
+test.file_fixture('mylink.py')
test.write('myfortran.py', r"""
import sys
diff --git a/test/Fortran/F90FILESUFFIXES.py b/test/Fortran/F90FILESUFFIXES.py
index ae61a84..47da08e 100644
--- a/test/Fortran/F90FILESUFFIXES.py
+++ b/test/Fortran/F90FILESUFFIXES.py
@@ -26,14 +26,12 @@ __revision__ = "__FILE__ __REVISION__ __DATE__ __DEVELOPER__"
import TestSCons
-from common import write_fake_link
-
_python_ = TestSCons._python_
_exe = TestSCons._exe
test = TestSCons.TestSCons()
-write_fake_link(test)
+test.file_fixture('mylink.py')
test.write('myfortran.py', r"""
import getopt
diff --git a/test/Fortran/F90FILESUFFIXES2.py b/test/Fortran/F90FILESUFFIXES2.py
index ab62ca7..7039530 100644
--- a/test/Fortran/F90FILESUFFIXES2.py
+++ b/test/Fortran/F90FILESUFFIXES2.py
@@ -26,14 +26,12 @@ __revision__ = "__FILE__ __REVISION__ __DATE__ __DEVELOPER__"
import TestSCons
-from common import write_fake_link
-
_python_ = TestSCons._python_
_exe = TestSCons._exe
test = TestSCons.TestSCons()
-write_fake_link(test)
+test.file_fixture('mylink.py')
test.write('myfortran.py', r"""
import getopt
diff --git a/test/Fortran/F90FLAGS.py b/test/Fortran/F90FLAGS.py
index f0b3003..8eaa938 100644
--- a/test/Fortran/F90FLAGS.py
+++ b/test/Fortran/F90FLAGS.py
@@ -27,14 +27,14 @@ __revision__ = "__FILE__ __REVISION__ __DATE__ __DEVELOPER__"
import TestSCons
-from common import write_fake_link
+
_python_ = TestSCons._python_
test = TestSCons.TestSCons()
_exe = TestSCons._exe
-write_fake_link(test)
+test.file_fixture('mylink.py')
test.write('myfortran.py', r"""
import getopt
diff --git a/test/Fortran/F95.py b/test/Fortran/F95.py
index e7745b1..56c6edd 100644
--- a/test/Fortran/F95.py
+++ b/test/Fortran/F95.py
@@ -26,14 +26,14 @@ __revision__ = "__FILE__ __REVISION__ __DATE__ __DEVELOPER__"
import TestSCons
-from common import write_fake_link
+
_python_ = TestSCons._python_
_exe = TestSCons._exe
test = TestSCons.TestSCons()
-write_fake_link(test)
+test.file_fixture('mylink.py')
test.write('myfortran.py', r"""
import getopt
diff --git a/test/Fortran/F95COM.py b/test/Fortran/F95COM.py
index 6ef6eb0..4761635 100644
--- a/test/Fortran/F95COM.py
+++ b/test/Fortran/F95COM.py
@@ -26,14 +26,14 @@ __revision__ = "__FILE__ __REVISION__ __DATE__ __DEVELOPER__"
import TestSCons
-from common import write_fake_link
+
_python_ = TestSCons._python_
_exe = TestSCons._exe
test = TestSCons.TestSCons()
-write_fake_link(test)
+test.file_fixture('mylink.py')
test.write('myfortran.py', r"""
import sys
diff --git a/test/Fortran/F95FILESUFFIXES.py b/test/Fortran/F95FILESUFFIXES.py
index 119629d..8643a24 100644
--- a/test/Fortran/F95FILESUFFIXES.py
+++ b/test/Fortran/F95FILESUFFIXES.py
@@ -26,14 +26,14 @@ __revision__ = "__FILE__ __REVISION__ __DATE__ __DEVELOPER__"
import TestSCons
-from common import write_fake_link
+
_python_ = TestSCons._python_
_exe = TestSCons._exe
test = TestSCons.TestSCons()
-write_fake_link(test)
+test.file_fixture('mylink.py')
test.write('myfortran.py', r"""
import getopt
diff --git a/test/Fortran/F95FILESUFFIXES2.py b/test/Fortran/F95FILESUFFIXES2.py
index d89839b..d267a24 100644
--- a/test/Fortran/F95FILESUFFIXES2.py
+++ b/test/Fortran/F95FILESUFFIXES2.py
@@ -26,14 +26,14 @@ __revision__ = "__FILE__ __REVISION__ __DATE__ __DEVELOPER__"
import TestSCons
-from common import write_fake_link
+
_python_ = TestSCons._python_
_exe = TestSCons._exe
test = TestSCons.TestSCons()
-write_fake_link(test)
+test.file_fixture('mylink.py')
test.write('myfortran.py', r"""
import getopt
diff --git a/test/Fortran/F95FLAGS.py b/test/Fortran/F95FLAGS.py
index 8c3ce09..525b8cc 100644
--- a/test/Fortran/F95FLAGS.py
+++ b/test/Fortran/F95FLAGS.py
@@ -26,14 +26,14 @@ __revision__ = "__FILE__ __REVISION__ __DATE__ __DEVELOPER__"
import TestSCons
-from common import write_fake_link
+
_python_ = TestSCons._python_
test = TestSCons.TestSCons()
_exe = TestSCons._exe
-write_fake_link(test)
+test.file_fixture('mylink.py')
test.write('myfortran.py', r"""
import getopt
diff --git a/test/Fortran/FORTRAN.py b/test/Fortran/FORTRAN.py
index 9a01fa6..c03698f 100644
--- a/test/Fortran/FORTRAN.py
+++ b/test/Fortran/FORTRAN.py
@@ -26,14 +26,14 @@ __revision__ = "__FILE__ __REVISION__ __DATE__ __DEVELOPER__"
import TestSCons
-from common import write_fake_link
+
_python_ = TestSCons._python_
_exe = TestSCons._exe
test = TestSCons.TestSCons()
-write_fake_link(test)
+test.file_fixture('mylink.py')
test.write('myg77.py', r"""
import getopt
diff --git a/test/Fortran/FORTRANCOM.py b/test/Fortran/FORTRANCOM.py
index 6948b96..bf84d26 100644
--- a/test/Fortran/FORTRANCOM.py
+++ b/test/Fortran/FORTRANCOM.py
@@ -26,14 +26,14 @@ __revision__ = "__FILE__ __REVISION__ __DATE__ __DEVELOPER__"
import TestSCons
-from common import write_fake_link
+
_python_ = TestSCons._python_
_exe = TestSCons._exe
test = TestSCons.TestSCons()
-write_fake_link(test)
+test.file_fixture('mylink.py')
test.write('myfortran.py', r"""
import sys
diff --git a/test/Fortran/FORTRANFILESUFFIXES.py b/test/Fortran/FORTRANFILESUFFIXES.py
index 92e30ea..e4b6192 100644
--- a/test/Fortran/FORTRANFILESUFFIXES.py
+++ b/test/Fortran/FORTRANFILESUFFIXES.py
@@ -26,14 +26,14 @@ __revision__ = "__FILE__ __REVISION__ __DATE__ __DEVELOPER__"
import TestSCons
-from common import write_fake_link
+
_python_ = TestSCons._python_
_exe = TestSCons._exe
test = TestSCons.TestSCons()
-write_fake_link(test)
+test.file_fixture('mylink.py')
test.write('myfortran.py', r"""
import getopt
diff --git a/test/Fortran/FORTRANFILESUFFIXES2.py b/test/Fortran/FORTRANFILESUFFIXES2.py
index 8ba0962..79231ac 100644
--- a/test/Fortran/FORTRANFILESUFFIXES2.py
+++ b/test/Fortran/FORTRANFILESUFFIXES2.py
@@ -26,14 +26,14 @@ __revision__ = "__FILE__ __REVISION__ __DATE__ __DEVELOPER__"
import TestSCons
-from common import write_fake_link
+
_python_ = TestSCons._python_
_exe = TestSCons._exe
test = TestSCons.TestSCons()
-write_fake_link(test)
+test.file_fixture('mylink.py')
test.write('myfortran.py', r"""
import getopt
diff --git a/test/Fortran/FORTRANFLAGS.py b/test/Fortran/FORTRANFLAGS.py
index 150000a..7dbc049 100644
--- a/test/Fortran/FORTRANFLAGS.py
+++ b/test/Fortran/FORTRANFLAGS.py
@@ -26,14 +26,14 @@ __revision__ = "__FILE__ __REVISION__ __DATE__ __DEVELOPER__"
import TestSCons
-from common import write_fake_link
+
_python_ = TestSCons._python_
test = TestSCons.TestSCons()
_exe = TestSCons._exe
-write_fake_link(test)
+test.file_fixture('mylink.py')
test.write('myfortran.py', r"""
import getopt
diff --git a/test/Fortran/FORTRANPPFILESUFFIXES.py b/test/Fortran/FORTRANPPFILESUFFIXES.py
index e0c6974..2791b91 100644
--- a/test/Fortran/FORTRANPPFILESUFFIXES.py
+++ b/test/Fortran/FORTRANPPFILESUFFIXES.py
@@ -30,14 +30,14 @@ import string
import sys
import TestSCons
-from common import write_fake_link
+
_python_ = TestSCons._python_
_exe = TestSCons._exe
test = TestSCons.TestSCons()
-write_fake_link(test)
+test.file_fixture('mylink.py')
test.write('myfortran.py', r"""
import getopt