On 10/26/2012 10:59 AM, Steve Beattie wrote: > This patch replaces the hardcoded path to the in-tree apparmor parser > in several of the script based test scripts with the APPARMOR_PARSER > environment variable, keeping the hardcoded location as the default. > It also adds support for overriding the location of the parser via the > same environment variable. The make infrastructure is updated to use > this, though uses a different variable (PARSER) to drive it. > > Thus 'make check PARSER=/some/path/to/an/alternate/apparmor_parser' > will run all the parser tests on that binary. This is useful for > running the testsuite in an automated post-install environment. > (It should be noted that doing so will still build and run the unit > test binaries based on the source tree.)
Acked-by: John Johansen <john.johan...@canonical.com> -- AppArmor mailing list AppArmor@lists.ubuntu.com Modify settings or unsubscribe at: https://lists.ubuntu.com/mailman/listinfo/apparmor