Commit graph

12 commits

Author SHA1 Message Date
Jared Tobin
eae846389e
make: fix itest case filter
The -test.run pattern was missing the tranche prefix, so terminal and
custom_channels tests weren't actually running. The fix simply grafts
the pattern used in taproot-assets to ensure the tests are run.
2026-01-14 12:52:18 +04:00
ffranr
128e0b6df6
itest: add tranche-based parallel runner and clearer logs
- add tranche splitting/shuffling flags to the itest harness
- add itest-parallel target and scripts to run tranches concurrently
- write per-tranche logs under .logs/trancheN and tail failures for
  clarity
2025-12-09 12:47:05 +00:00
Elle Mouton
ccb1b64f8b
make: unit test flake hunter
For convenient flake hunting.
2025-03-26 09:20:53 -05:00
Elle Mouton
b6891b4b38
itest: run itests against chosen backend
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`.
2025-02-21 11:18:35 -03:00
Elle Mouton
0ec5d949f0
make+GH: helpers for testing against new SQL stores 2025-02-21 10:35:06 -03:00
Elle Mouton
1e83bc35e3
make: targeted packages
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.
2025-01-07 12:34:56 +02:00
Elle Mouton
2b0ffff815
make: add ability to add additional tags
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.
2025-01-07 12:34:55 +02:00
Elle Mouton
824a3c259c
make: add ability to specify unit test case
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.
2025-01-07 12:34:55 +02:00
Elle Mouton
43e1c9ee2d
make: move UNIT variables to testing_flags.mk
And use the new COMPILE_TAGS variable for the unit commands instead of
LND_RELEASE_TAGS.
2025-01-06 08:41:00 +02:00
Elle Mouton
8c64e27b53
make: extract compile tags
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.
2025-01-05 09:07:55 +02:00
positiveblue
c267ef64eb
multi: update lnd dependency to v0.16.0-beta.rc3
- Bump lnd and other module dependencies.
- Bump Go build version & RPCs
- Refactor itests to use the new lnd itest framework.
2023-03-15 08:36:23 -07:00
Oliver Gugger
ebb5e94381
multi: remove GO111MODULE, add icase flag to itest 2022-10-19 10:57:18 +02:00