summaryrefslogtreecommitdiffstats
path: root/Lib/distutils/tests/test_sysconfig.py
diff options
context:
space:
mode:
authorTarek Ziadé <ziade.tarek@gmail.com>2009-05-07 21:24:43 (GMT)
committerTarek Ziadé <ziade.tarek@gmail.com>2009-05-07 21:24:43 (GMT)
commit5662d3e676088b43d3138d48819ce7410292198d (patch)
treef190db92a6ccfa4961db334be54032135c2316d7 /Lib/distutils/tests/test_sysconfig.py
parent72b06c6be08e9b1b27ee9c9963d5acec56b11d9c (diff)
downloadcpython-5662d3e676088b43d3138d48819ce7410292198d.zip
cpython-5662d3e676088b43d3138d48819ce7410292198d.tar.gz
cpython-5662d3e676088b43d3138d48819ce7410292198d.tar.bz2
Merged revisions 72445 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk ........ r72445 | tarek.ziade | 2009-05-07 23:20:34 +0200 (Thu, 07 May 2009) | 1 line Fixed #5941: added ARFLAGS for the archiver command. ........
Diffstat (limited to 'Lib/distutils/tests/test_sysconfig.py')
-rw-r--r--Lib/distutils/tests/test_sysconfig.py5
1 files changed, 3 insertions, 2 deletions
diff --git a/Lib/distutils/tests/test_sysconfig.py b/Lib/distutils/tests/test_sysconfig.py
index 1e9dbd5..971aac6 100644
--- a/Lib/distutils/tests/test_sysconfig.py
+++ b/Lib/distutils/tests/test_sysconfig.py
@@ -49,7 +49,8 @@ class SysconfigTestCase(unittest.TestCase):
if get_default_compiler() != 'unix':
return
- os.environ['AR'] = 'xxx'
+ os.environ['AR'] = 'my_ar'
+ os.environ['ARFLAGS'] = '-arflags'
# make sure AR gets caught
class compiler:
@@ -60,7 +61,7 @@ class SysconfigTestCase(unittest.TestCase):
comp = compiler()
sysconfig.customize_compiler(comp)
- self.assertEquals(comp.exes['archiver'], 'xxx')
+ self.assertEquals(comp.exes['archiver'], 'my_ar -arflags')
def test_suite():