lisa neigut
2327f04b54
HACKING.md: Update rec'd test cmd to `full-check`
Otherwise you won't run `check-source` and your Travis build will
fail on you.
Also remove comment about how it's currently disabled cuz that's a lie.
6 years ago
Rusty Russell
312209ad60
pytest: support simple subdaemon debugging.
Signed-off-by: Rusty Russell <rusty@rustcorp.com.au>
6 years ago
Rusty Russell
7b9341e762
subdaemon: better GDB support.
It was annoying me, so I made it much nicer to use.
Signed-off-by: Rusty Russell <rusty@rustcorp.com.au>
6 years ago
Rusty Russell
8bc845d7b6
lightningd: inline overview documentation (part 1 of 8).
Signed-off-by: Rusty Russell <rusty@rustcorp.com.au>
6 years ago
conanoc
80a875a9a5
Update HACKING.md
Added some info in debugging section.
[ Squashed: Guide to use configure. --RR ]
6 years ago
Christian Decker
ae99e493b8
pytest: Remove test_lightningd and all the legacy testing framework
6 years ago
William Casarin
6e4745b28a
doc: update python test requirements in HACKING
Signed-off-by: William Casarin <jb55@jb55.com>
7 years ago
Mark Beckwith
05d4e8519c
improved testing section
I went to the Nakamoto dinner last week and told some guys they
could get involved by improving our test coverage. So I updated
the docs for newbs like me. (I only recently discovered `PYTEST_PAR`).
Signed-off-by: Mark Beckwith <wythe@intrig.com>
7 years ago
Rusty Russell
fed5a117e7
Update ccan/structeq.
structeq() is too dangerous: if a structure has padding, it can fail
silently.
The new ccan/structeq instead provides a macro to define foo_eq(),
which does the right thing in case of padding (which none of our
structures currently have anyway).
Upgrade ccan, and use it everywhere. Except run-peer-wire.c, which
is only testing code and can use raw memcmp(): valgrind will tell us
if padding exists.
Interestingly, we still declared short_channel_id_eq, even though
we didn't define it any more!
Signed-off-by: Rusty Russell <rusty@rustcorp.com.au>
7 years ago
Corné Plooy
94ef0a7fbf
Add 'make ncc' target, for source code analysis.
7 years ago
Rusty Russell
72d103d6bb
Makefile: import config.vars.
We leave VALGRIND env var as an override for testing.
Signed-off-by: Rusty Russell <rusty@rustcorp.com.au>
7 years ago
Jan Sarenik
8d641456a1
doc/HACKING.md: remove note about DEVELOPER mode being default
The DEVELOPER mode is not the default since 00e75fee
,
change the documentation accordingly.
7 years ago
Rusty Russell
a935ae0711
doc: Link STLYE.md from HACKING.md
Signed-off-by: Rusty Russell <rusty@rustcorp.com.au>
7 years ago
Jan Sarenik
fd338c0689
doc: More plain-text improvements to HACKING.md and INSTALL.md
This time the rendered output is slightly different, but mostly
because long preformatted lines are wrapped and contain an extra
continuation backslash now.
7 years ago
Jan Sarenik
960548f311
doc: Reflow HACKING.md and INSTALL.md without textual change
See previous commit 9504a77b
for a script to prove there is no
change in the rendered file, just readability plain-text
improvements.
7 years ago
ZmnSCPxj
4255e4186d
HACKING: Add subtleties.
7 years ago
luca vaccaro
d36fa33c9b
Explain table vars ( #792 )
* Database Table vars
Explain Database Table vars and bip32_max_index variable.
7 years ago
William Casarin
5b4a62d822
doc: some sqlite db info for HACKING
Signed-off-by: William Casarin <jb55@jb55.com>
7 years ago
Rusty Russell
1950583612
subdaemon: make debugging a bit easier.
Use a volatile global, so debugger can flip it easily.
Signed-off-by: Rusty Russell <rusty@rustcorp.com.au>
7 years ago
William Casarin
3e3dbfdd1b
hacking: document subdaemon debugging
Signed-off-by: William Casarin <jb55@jb55.com>
7 years ago
Rusty Russell
758317387e
HACKING.md: describe take() in more detail.
Signed-off-by: Rusty Russell <rusty@rustcorp.com.au>
7 years ago
Rusty Russell
9b129f7fb5
doc/HACKING.md: update.
Signed-off-by: Rusty Russell <rusty@rustcorp.com.au>
7 years ago
practicalswift
61c47c09d0
Fix typos
7 years ago
Rusty Russell
ebba5f85a2
handshaked: remove.
Signed-off-by: Rusty Russell <rusty@rustcorp.com.au>
7 years ago
Rusty Russell
9da5abc39c
docs: update, move into doc/
Signed-off-by: Rusty Russell <rusty@rustcorp.com.au>
7 years ago