Commit Graph

61 Commits

Author SHA1 Message Date
Zahary Karadjov d4240df8b4 Rename the testrunner binary to ntu (from nim-test-utils) 2020-06-12 14:23:11 +03:00
Zahary Karadjov 3602b06f68 Integrate fuzz.nims into testrunner (to be renamed to ntu) 2020-06-12 14:23:11 +03:00
Zahary Karadjov 421b8c8674 Add support for honggfuzz 2020-06-11 17:21:55 +03:00
Zahary Karadjov 1601894ec1
Fix the libFuzzer build 2020-06-01 15:09:45 +03:00
Zahary Karadjov d759496d08
Fix some genSym issues causing C compilation errors 2020-06-01 11:10:13 +03:00
Zahary Karadjov fcc5aa3a53
Allow compiling and running fuzzing tests as regular Nim programs
When you compile a fuzzing test with `nim c -r test.nim`, it will
now compile to a normal program accepting a fuzzing input file as
a command-line argument. This is an useful way to debug crashes
discovered by libFuzzer or AFL.

The code was also refactored to reduce the number of define variables
affecting the build type (there is no longer a separate -d:afl flag).
2020-05-29 21:26:37 +03:00
Zahary Karadjov 1ee5fcf750
Add an enum listing the supported fuzzing engines 2020-05-20 15:45:37 +03:00
andri lim 6382fdf88a
Merge pull request #19 from status-im/fuzzing-enhancements
[fuzz.nims] Add support for specifying corpus dir; Use afl++/clang by default
2020-05-20 10:26:12 +07:00
Zahary Karadjov e508aea59f
[fuzz.nims] Add support for specifying corpus dir; Use afl++/clang by default 2020-05-19 20:45:13 +03:00
jangko 4edb4c9ae4 update fuzzing_on_windows.md 2020-05-15 12:15:22 +03:00
jangko 442931cd74 disable gc:arc tests completely 2020-05-14 20:05:26 +03:00
jangko 182c4ec578 disable gc:arc test on macosx with clang 2020-05-14 20:05:26 +03:00
jangko 63debe637d adapt fuzzing tool to be compatible with windows 2020-05-14 20:05:26 +03:00
jangko 2b62e99ee6 fix testrunner bug 2020-05-14 20:05:26 +03:00
jangko 97b3a7a13e add fuzzing_on_windows instructions 2020-05-14 20:05:26 +03:00
jangko bb259f39bd modify readme.md and CI status images 2020-05-14 20:05:26 +03:00
jangko 29efb1a9e2 move pristine fuzzing from nim-eth to testutils/fuzzing 2020-05-14 20:05:26 +03:00
Zahary Karadjov db53781545
Some new helpers: asyncTest and procSuite 2020-05-04 20:09:40 +03:00
Zahary Karadjov d9c2287a2b
Use relative program paths 2020-04-21 02:24:18 +03:00
Zed b3b7074e39 Add markdown test report module 2020-03-10 11:35:49 +02:00
Zahary Karadjov 71708e2e2e
doh, allow multiple tests blocks in a module 2020-02-27 00:06:22 +02:00
Zahary Karadjov 91f208f8dc
Add testutils/moduletests - a new way to write unit tests 2020-02-26 23:45:07 +02:00
Andy Davidoff 8a593cb943 fixes #9 2020-02-26 14:37:13 -05:00
Andy Davidoff 2d184d65a7 update usage and docs 2020-02-25 21:28:34 -05:00
Andy Davidoff 7dd93bc7e9 add example unittests wrap 2020-02-25 18:24:29 -05:00
Andy Davidoff cc1213d32f finish it 2020-02-25 18:10:02 -05:00
Andy Davidoff 53901af910 closes #5 and adds further tightening 2020-02-25 01:32:04 -05:00
Andy Davidoff 05784dc981 style 2020-02-25 00:56:48 -05:00
Andy Davidoff 758d23e9ad comments, style, cleanup 2020-02-25 00:09:48 -05:00
Andy Davidoff cae16b4fa1 fix bug with max-size 2020-02-25 00:01:00 -05:00
Andy Davidoff 37325aca92 another docs update 2020-02-24 19:25:53 -05:00
Andy Davidoff 6ce127a2e4 add some docs for new features 2020-02-24 19:18:49 -05:00
Andy Davidoff d86daa43aa add threads, affinity, backends, nimcaching 2020-02-24 17:55:28 -05:00
Andy Davidoff c32a3e0065 add threading test 2020-02-24 17:54:35 -05:00
Andy Davidoff f937e97631 turn threads on 2020-02-24 13:04:57 -05:00
Andy Davidoff be8703e2c3 more cruft 2020-02-24 12:02:29 -05:00
Andy Davidoff 167ce0806d remove some cruft 2020-02-24 11:43:49 -05:00
Andy Davidoff bb917cc436 0.2.0: add --update 2020-02-23 14:49:51 -05:00
Andy Davidoff 481186aa76
Merge pull request #4 from disruptek/reset-io
add --update and structure multi-command invocation
2020-02-23 14:49:07 -05:00
Andy Davidoff 42e0e8bda2
Merge branch 'master' into reset-io 2020-02-23 14:22:51 -05:00
Andy Davidoff 0744ed8bc7 re-enable full tests 2020-02-23 14:20:54 -05:00
Andy Davidoff 439717e493 add --update and rethink multiple invocations 2020-02-23 14:19:53 -05:00
Andy Davidoff 64d0136b0e refactor prior to adding rewrite 2020-02-23 13:16:55 -05:00
Andy Davidoff 1b194e5ab6 correct README 2020-02-23 11:57:19 -05:00
Andy Davidoff 3cb988d3f6 fix creepy logic 2020-02-22 22:40:24 -05:00
Andy Davidoff b6b601e1eb fix syntax error in docs 2020-02-23 01:22:07 +02:00
Andy Davidoff 7730648760 0.1.1: use absolute paths 2020-02-22 17:10:51 -05:00
Andy Davidoff f6ac2ebbd7 clarify readme 2020-02-22 16:51:25 -05:00
Andy Davidoff 0393625a48 0.1.0: support command-line arguments 2020-02-22 16:35:13 -05:00
Andy Davidoff 9795bf0c9e
Merge pull request #1 from disruptek/step-next
command-line arguments
2020-02-22 20:36:19 +00:00