summaryrefslogtreecommitdiff
path: root/test/AR
diff options
context:
space:
mode:
authorWilliam Deegan <bill@baddogconsulting.com>2016-11-28 08:53:37 -0800
committerWilliam Deegan <bill@baddogconsulting.com>2016-11-28 08:53:37 -0800
commitc6bad1d59576348df5ba54abe6703c448469cfaf (patch)
tree566428089b48f80bab14789ec4e3d77b8d003477 /test/AR
parentcfb02848f9cbd9d9cdd5416c84eb1ce34c045506 (diff)
downloadscons-c6bad1d59576348df5ba54abe6703c448469cfaf.tar.gz
Fix tests failing on win32 AR and Fortran and M4
Diffstat (limited to 'test/AR')
-rw-r--r--test/AR/ARCOM.py2
-rw-r--r--test/AR/ARCOMSTR.py1
2 files changed, 3 insertions, 0 deletions
diff --git a/test/AR/ARCOM.py b/test/AR/ARCOM.py
index f9d00382..9ae5b9fb 100644
--- a/test/AR/ARCOM.py
+++ b/test/AR/ARCOM.py
@@ -40,6 +40,7 @@ test.file_fixture('myrewrite.py')
test.write('SConstruct', """
env = Environment(tools=['default', 'ar'],
ARCOM = r'%(_python_)s mycompile.py ar $TARGET $SOURCES',
+ RANLIB = True,
RANLIBCOM = r'%(_python_)s myrewrite.py ranlib $TARGET',
LIBPREFIX = '',
LIBSUFFIX = '.lib')
@@ -49,6 +50,7 @@ env.Library(target = 'output', source = ['file.1', 'file.2'])
test.write('file.1', "file.1\n/*ar*/\n/*ranlib*/\n")
test.write('file.2', "file.2\n/*ar*/\n/*ranlib*/\n")
+
test.run(arguments = '.')
test.must_match('output.lib', "file.1\nfile.2\n")
diff --git a/test/AR/ARCOMSTR.py b/test/AR/ARCOMSTR.py
index 3235f120..a3a9c8e5 100644
--- a/test/AR/ARCOMSTR.py
+++ b/test/AR/ARCOMSTR.py
@@ -42,6 +42,7 @@ test.write('SConstruct', """
env = Environment(tools=['default', 'ar'],
ARCOM = r'%(_python_)s mycompile.py ar $TARGET $SOURCES',
ARCOMSTR = 'Archiving $TARGET from $SOURCES',
+ RANLIB = True,
RANLIBCOM = r'%(_python_)s myrewrite.py ranlib $TARGET',
LIBPREFIX = '',
LIBSUFFIX = '.lib')