Add the ability to specify the db backend to run use for accounts when
running itests.
With this commit, you can run something like: `make itest
dbbackend=sqlite`.
This commit lets us perform make commands of the following form:
`make unit pkg=accounts` which will run all the tests in the specified
package. Or you can do `make unit pkg=accounts case=TestAccountStore` to
run a specific test in the specified package.
This commit lets us perform commands of the form: `make unit
tags=postgres` to add additional tags to the command. This will be
useful in a future where we, for example, want to run unit tests against
a specific DB backend.
This commit let's us specify commands of the form: `make unit
case=TestNameHere`. Note that this commit by itself is not very useful
in LiT since there are no tests in the main `terminal` package. A later
commit will let us set a package name too and then this will be more
useful.
Add a new COMPILE_TAGS environment variable that includes all the basic
set of tags that lit requires in order for compilation to succeed. Let
LND_RELEASE_TAGS then extend these flags.
This will let us expand the testing_flags.mk file later without needing
to use the LND_RELEASE_TAGS variable there.
Additional flags produce:
* Globally consistent commitment hash length, regardless of gitconfig
* `--broken` to create fail-safe tag indicating a dirty or corrupted
work tree
* `--always` to generate a tag, even if no tags are reachable from the
current commit.
In this commit, we let the PermissionsManager manage LND's subserver
permissions. Once Litd is connected to LND, it can get LND's build tags
and pass them to the PermissionsManager which will then adjust its list
of permissions accordingly.