diff options
| author | Tarek Ziadé <ziade.tarek@gmail.com> | 2009-06-28 21:30:52 +0000 |
|---|---|---|
| committer | Tarek Ziadé <ziade.tarek@gmail.com> | 2009-06-28 21:30:52 +0000 |
| commit | d500c02486a30fad1e49244afd7cca46009d0c07 (patch) | |
| tree | b6cebc9e729a1bc9a583e8e357437c00ad79fa86 /tests/test_unixccompiler.py | |
| parent | 05df8a008c0f8fdf36a253a815390886eed089e3 (diff) | |
| download | python-setuptools-git-d500c02486a30fad1e49244afd7cca46009d0c07.tar.gz | |
Merged revisions 73490 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk
........
r73490 | tarek.ziade | 2009-06-20 15:57:20 +0200 (Sat, 20 Jun 2009) | 1 line
Fixed #6164 AIX specific linker argument in Distutils unixcompiler
........
Diffstat (limited to 'tests/test_unixccompiler.py')
| -rw-r--r-- | tests/test_unixccompiler.py | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/tests/test_unixccompiler.py b/tests/test_unixccompiler.py index 94e9edfc..96f5454e 100644 --- a/tests/test_unixccompiler.py +++ b/tests/test_unixccompiler.py @@ -86,6 +86,14 @@ class UnixCCompilerTestCase(unittest.TestCase): sysconfig.get_config_var = gcv self.assertEqual(self.cc.rpath_foo(), '-R/foo') + # AIX C/C++ linker + sys.platform = 'aix' + def gcv(v): + return 'xxx' + sysconfig.get_config_var = gcv + self.assertEqual(self.cc.rpath_foo(), '-blibpath:/foo') + + def test_suite(): return unittest.makeSuite(UnixCCompilerTestCase) |
