diff options
| author | PJ Eby <distutils-sig@python.org> | 2006-01-05 23:14:21 +0000 |
|---|---|---|
| committer | PJ Eby <distutils-sig@python.org> | 2006-01-05 23:14:21 +0000 |
| commit | bda5b372b2b631048897ec5ecee6eee98b3b06a9 (patch) | |
| tree | c32de3922b34596a9a609c8a4589d174be451a9d /tests/shlib_test/test_hello.py | |
| parent | b28da64e5120e9c2fd5b964fb46f7f2ded2eb5a3 (diff) | |
| download | python-setuptools-git-bda5b372b2b631048897ec5ecee6eee98b3b06a9.tar.gz | |
First draft of shared library build support. See tests/shlib_test
for a trivial example. This has only been tested on Windows with
a MinGW compiler, and the Mac OS support isn't finished. Testing
w/other platforms+compilers would be helpful.
--HG--
branch : setuptools
extra : convert_revision : svn%3A6015fed2-1504-0410-9fe1-9d1591cc4771/sandbox/trunk/setuptools%4041927
Diffstat (limited to 'tests/shlib_test/test_hello.py')
| -rwxr-xr-x | tests/shlib_test/test_hello.py | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/tests/shlib_test/test_hello.py b/tests/shlib_test/test_hello.py new file mode 100755 index 00000000..6da02e31 --- /dev/null +++ b/tests/shlib_test/test_hello.py @@ -0,0 +1,7 @@ +from unittest import TestCase + +class HelloWorldTest(TestCase): + def testHelloMsg(self): + from hello import hello + self.assertEqual(hello(), "Hello, world!") + |
