lnd/make
Elle Mouton 1a60edbd33
make+graph/db: add -short helper and skip tests in short mode
In this commit, we add a makefile helper that can be used to add the
"-short" flag to the "go test" command when running unit tests via "make
unit ...".

Tests can then be expanded with a `testing.Short()` check to potentially
skip the test in short mode. This is useful for if a dev wants to
quickly run most of the tests in a package but would like to opt out of
running the longer form tests such as stress tests or rapid generation
tests.

This commit adds this check to two graph/db tests.
2025-08-05 06:34:38 +02:00
..
builder.Dockerfile multi: update Go to 1.23.10 2025-07-16 01:19:58 -03:00
fuzz_flags.mk make+scripts+docs: update fuzzing script and make fuzz 2022-11-11 10:30:05 -06:00
release_flags.mk Makefile: add GOCC variable 2025-02-23 09:48:54 +01:00
testing_flags.mk make+graph/db: add -short helper and skip tests in short mode 2025-08-05 06:34:38 +02:00