Noah Hellman
8f70f596b9
afl: add main file
...
for testing that crashes have been resolved
previously, binary of the main crate was used, but targets may have more
validation than simply checking for panics
2023-03-17 18:45:20 +01:00
Noah Hellman
2606e2f4fc
afl: gen -> parse, parse only
2023-03-17 18:45:20 +01:00
Noah Hellman
a3351d28b7
use bench instead of benches dir for benchmarks
...
in order to be able to place benchmarks in separate crates, if placed in
benches, they will be automatically considered part of the main crate
separate crates are needed to
- share generated input crate,
- avoid adding unused dependencies to tests
2023-02-14 16:31:58 +01:00
Noah Hellman
01d8c0015e
ci: add afl fuzz stage
...
fuzz for 1 min to quickly detect e.g. incorrect asserts
2023-02-13 18:16:34 +01:00
Noah Hellman
a6ad7a9d58
workspace: exclude jotdown-afl
...
does not build without nightly
2023-02-12 00:59:18 +01:00
Noah Hellman
0ddf2ba61f
make: add all, docs, check, lint targets
2023-02-12 00:59:18 +01:00
Noah Hellman
ac88c23d66
fixup! test suite: add djot.js bench files as tests
2023-02-06 23:09:48 +01:00
Noah Hellman
c518d150ad
fixup! add spec tests
2023-02-06 23:09:48 +01:00
Noah Hellman
5a882764f7
examples: add wasm online demo
2023-02-05 20:41:59 +01:00
Noah Hellman
fc96f3408f
make: add cov recipe
2023-02-05 20:36:49 +01:00
Noah Hellman
28c2bfbe8c
add afl fuzz target
2023-02-05 20:36:49 +01:00
Noah Hellman
78987f7ba3
add bench target and scripts to run simple benchmark
2023-02-05 20:36:48 +01:00
Noah Hellman
08332bed5e
test suite: add djot.js bench files as tests
2023-02-05 20:36:40 +01:00
Noah Hellman
8c1d38fe12
tests suite: update tests from new djot impl repo
...
replace jgm/djot submodule with jgm/djot.js that contains newer tests
2023-02-05 20:36:40 +01:00
Noah Hellman
8c0abca85f
add spec tests
2023-02-05 20:36:38 +01:00