apparmor/libraries/libapparmor
Steve Beattie a1bf63dbe9 Subject: libapparmor - add python bindings tests based on C tests
This patch adds tests for the swig generated python library bindings
that reuse the C language tests.

Fitting it into autotools was a bit of a trick, and is likely pretty
brittle, as before the test script runs, it needs to know the location
of the built libapparmor.so library, the built _LibAppArmor.so library
and the python wrapper bits (thankfully, the latter two are the same
directory). It's also unclear how to get autotools to emit the output of
the test_python.py script when building, rather than just summarizing it
as one test run.

Also note that test_python.py is doing a bit of magic to automatically
generate test case methods based on the contents of the test_multi/
directory. This has the disadvantage of breaking tools like nosetests
and other external tools that try to automatically detect testcases.

Signed-off-by: Steve Beattie <steve@nxnw.org>
Acked-by: Tyler Hicks <tyhicks@canonical.com>
2013-09-06 14:18:08 -07:00
..
doc libapparmor: Clarify that mode strings are not to be freed 2013-09-04 15:48:43 -07:00
m4 Subject: libapparmor - use python-config if it exists when configuring 2013-01-29 15:21:47 -08:00
src libapparmor: Clarify that mode strings are not to be freed 2013-09-04 15:48:43 -07:00
swig Subject: libapparmor - add python bindings tests based on C tests 2013-09-06 14:18:08 -07:00
testsuite Subject: libapparmor - don't emit path in testcase output 2013-09-06 14:13:56 -07:00
AUTHORS libraries/libapparmor/: more license cleanups, adjust my email address 2011-02-23 14:02:45 -08:00
autogen.sh move libapparmor into the libraries directory 2008-05-19 22:48:31 +00:00
ChangeLog move libapparmor into the libraries directory 2008-05-19 22:48:31 +00:00
configure.ac Subject: libapparmor - add python bindings tests based on C tests 2013-09-06 14:18:08 -07:00
COPYING.LGPL move libapparmor into the libraries directory 2008-05-19 22:48:31 +00:00
INSTALL move libapparmor into the libraries directory 2008-05-19 22:48:31 +00:00
libapparmor1.spec Bump versioning to AppArmor 2.5 2010-03-10 23:07:29 -08:00
Makefile.am move libapparmor into the libraries directory 2008-05-19 22:48:31 +00:00
NEWS move libapparmor into the libraries directory 2008-05-19 22:48:31 +00:00
README move libapparmor into the libraries directory 2008-05-19 22:48:31 +00:00

What little documentation exists is in src/aalogparse.h.  Please file bugs using http://bugzilla.novell.com under the AppArmor product.