PERFORCE change 178413 for review
Garrett Cooper
gcooper at FreeBSD.org
Tue May 18 01:13:12 UTC 2010
http://p4web.freebsd.org/@@178413?ac=10
Change 178413 by gcooper at gcooper-bioshock on 2010/05/18 01:12:19
We aren't necessarily at the test scope, and don't forget to import
ctypes.
Affected files ...
.. //depot/projects/soc2007/gcooper-pkg_install-enhancements-simplified/tools/regression/lib/libpkg/tests/__init__.py#3 edit
Differences ...
==== //depot/projects/soc2007/gcooper-pkg_install-enhancements-simplified/tools/regression/lib/libpkg/tests/__init__.py#3 (text+ko) ====
@@ -4,6 +4,8 @@
$FreeBSD$
"""
+import ctypes
+
# NOTE (gcooper): keep this up to date with .../lib/libpkg/Makefile .
SHLIB_MAJOR = 0
@@ -15,7 +17,7 @@
def setup_package():
""" Setup libpkg via ctypes. """
global LIBPKG
- LIBPKG = ctypes.CDLL(tests.LIBPKG_S)
+ LIBPKG = ctypes.CDLL(LIBPKG_S)
def teardown_package():
""" Teardown libpkg
More information about the p4-projects
mailing list