Noah Hellman
91ae737be3
suite: prepend djot_js tests
...
avoid name conflicts when adding own tests
2023-04-25 21:03:18 +02:00
Noah Hellman
5de8543bb0
bench: mv input files to bench/input
...
only used by input crate, avoid cluttering bench dir
2023-04-10 11:49:03 +02:00
Noah Hellman
bee3d5d747
bench/suite_bench: use snake case for input files
...
rust identifiers may not contain -
use _ for files also to avoid confusion of having two names
2023-04-10 11:49:03 +02:00
Noah Hellman
443d6323c7
make: only rm symlink .dj files
2023-04-05 21:17:33 +02:00
Noah Hellman
7fcc802415
make: nonzero exit when afl_quick detects crashes
...
ci job still goes green when fuzzing fails, otherwise
2023-04-05 21:17:33 +02:00
Noah Hellman
bd831058f7
make: add afl_tmin target
...
minimize all failing cases to help debugging
2023-03-17 18:45:20 +01:00
Noah Hellman
0d884a65d5
afl: add debug feature
...
leave out debug prints when actually fuzzing to increase fuzz
performance
2023-03-17 18:45:20 +01:00
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