Commit f4ebe2e8 authored by Ronald Oussoren's avatar Ronald Oussoren

This patch adds a testcase that demonstrates a problem

with the expansion of LDSHARED when accessing that value
through sysconfig.

The problem is probably caused by the 9189.

A fix will follow shortly.
parent 36d2e67d
......@@ -277,6 +277,12 @@ class TestSysConfig(unittest.TestCase):
_main()
self.assertTrue(len(output.getvalue().split('\n')) > 0)
def test_ldshared_value(self):
ldflags = sysconfig.get_config_var('LDFLAGS')
ldshared = sysconfig.get_config_var('LDSHARED')
self.assertIn(ldflags, ldshared)
def test_main():
run_unittest(TestSysConfig)
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment