diff options
| author | Your Name <you@example.com> | 2026-05-18 14:53:12 +0530 |
|---|---|---|
| committer | Your Name <you@example.com> | 2026-05-18 14:53:12 +0530 |
| commit | 6faa3cef6cc6206cc1579ad71f1042857a6d38d6 (patch) | |
| tree | 2e659a31a4f261a1f7d041d68b633e0bbf64a1f3 /tests/unit/Makefile | |
| parent | 2a86bec93273e2f4ceeab60683058c65dbb1da3d (diff) | |
test: add mint_health stub for host unit tests, fix test_cashu build
Diffstat (limited to 'tests/unit/Makefile')
| -rw-r--r-- | tests/unit/Makefile | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/unit/Makefile b/tests/unit/Makefile index 7ebc3b2..f47ef23 100644 --- a/tests/unit/Makefile +++ b/tests/unit/Makefile | |||
| @@ -58,10 +58,10 @@ test_nostr_event: test_nostr_event.c $(REPO_ROOT)/main/nostr_event.c $(REPO_ROOT | |||
| 58 | $(CC) $(CFLAGS) -I $(SECP256K1_PRIV_INC) $< $(REPO_ROOT)/main/nostr_event.c $(REPO_ROOT)/main/identity.c $(SECP256K1_OBJ) -o $@ $(LDFLAGS) | 58 | $(CC) $(CFLAGS) -I $(SECP256K1_PRIV_INC) $< $(REPO_ROOT)/main/nostr_event.c $(REPO_ROOT)/main/identity.c $(SECP256K1_OBJ) -o $@ $(LDFLAGS) |
| 59 | 59 | ||
| 60 | test_cashu: test_cashu.c $(REPO_ROOT)/main/cashu.c | 60 | test_cashu: test_cashu.c $(REPO_ROOT)/main/cashu.c |
| 61 | $(CC) $(CFLAGS) $< $(REPO_ROOT)/main/cashu.c -o $@ $(LDFLAGS) | 61 | $(CC) $(CFLAGS) -include stubs/mint_health.h $< $(REPO_ROOT)/main/cashu.c -o $@ $(LDFLAGS) |
| 62 | 62 | ||
| 63 | test_session: test_session.c $(REPO_ROOT)/main/session.c $(REPO_ROOT)/main/cashu.c | 63 | test_session: test_session.c $(REPO_ROOT)/main/session.c $(REPO_ROOT)/main/cashu.c |
| 64 | $(CC) $(CFLAGS) $< $(REPO_ROOT)/main/session.c $(REPO_ROOT)/main/cashu.c -o $@ $(LDFLAGS) | 64 | $(CC) $(CFLAGS) -include stubs/mint_health.h $< $(REPO_ROOT)/main/session.c $(REPO_ROOT)/main/cashu.c -o $@ $(LDFLAGS) |
| 65 | 65 | ||
| 66 | test_tollgate_client: test_tollgate_client.c | 66 | test_tollgate_client: test_tollgate_client.c |
| 67 | $(CC) $(CFLAGS) $< -o $@ $(LDFLAGS) | 67 | $(CC) $(CFLAGS) $< -o $@ $(LDFLAGS) |