Commit Graph

92 Commits

Author SHA1 Message Date
andri lim e4fb95cbe3
Resolve ambiguity between chronicles and macros on nim v2 (#45) 2024-01-19 16:26:33 +07:00
ringabout b56a5953e3
use named block and break pairs (#40) 2023-06-16 07:27:34 +00:00
tersec f95968acad
remove Nim 1.2 and 1.4 support; remove travis and appveyor configs (#44) 2023-06-16 07:27:02 +00:00
tersec ff1152d2fe
remove workaround for buggy Nim cgen (#43)
* remove workaround for buggy Nim cgen

* cpp target still nonfunctional
2023-06-15 17:41:11 +00:00
Etan Kissling 53a9fb0992
allow `programMain` to throw (#42)
Annotate `programMain` wrapper `proc` with `{.raises: [CatchableError]}`
to allow it to raise exceptions explicitly.
2023-05-31 17:28:07 +02:00
tersec 05466f6205
use Nim 2.0 in CI (#41) 2023-04-07 16:04:40 +00:00
tersec 29f98cec6f
update GitHub Actions CI images from deprecated Ubuntu 18.04 to 20.04 (#37)
* update GitHub Actions CI images from deprecated Ubuntu 18.04 to 20.04

* increase maximum hello_size from 100,000 to 101,000 bytes

* increase maximum hello_size from 101,000 to 102,000 bytes
2022-08-18 11:02:20 +00:00
tersec b791c83d84
update to supported macOS GitHub CI image (#36) 2022-07-22 15:19:20 +00:00
Zahary Karadjov dfc4c1b39f
v0.5.0 2022-06-29 17:18:00 +03:00
Ivan Yonchovski 60bef0dc35
Use unittest2 directly (#34) 2022-06-29 11:08:26 +03:00
Dustin Brody b6867213f2
replace deprecated existsFile with fileExists 2022-03-23 17:11:05 +00:00
Zahary Karadjov 1f66448152
programMain is now active only in the main module 2021-12-15 19:27:52 +02:00
Ștefan Talpalaru aa6e5216f4
version 0.4.2 2021-11-19 00:07:19 +01:00
Ștefan Talpalaru 7f8fc1c0ca
remove "--skipParentCfg:on" (#32)
Unfortunately, it disables config files in the project's directory
structure, as well as the ones above it we needed it for.
2021-11-19 00:05:06 +01:00
Ștefan Talpalaru 7e02e052a4
version 0.4.1 2021-11-18 00:08:41 +01:00
Ștefan Talpalaru 7ab60a5917
CI: move to GitHub Actions (#31)
* CI: move to GitHub Actions
2021-11-18 00:06:05 +01:00
Ștefan Talpalaru e50f912dde
ntu: fix exit code on error (#30)
and avoid an erroneous failure count
2021-11-17 23:07:28 +01:00
Kim De Mey 6d76fc5e51
Increase version to 0.4.0 to be able to tag (#29) 2021-03-25 11:41:43 +01:00
Jacek Sieka 5bab42da0a
Merge pull request #28 from status-im/nim-version
Lower nim version
2021-03-22 23:27:40 +01:00
Jacek Sieka e3283ff209
Lower nim version
For some reason, 1.2.6 doesn't work?
2021-03-22 23:08:06 +01:00
Jacek Sieka b5956a1b4b
add unittest dep 2021-03-22 20:51:40 +01:00
Jacek Sieka 0f890d4a66
unittest -> unittest2 2021-03-18 17:17:38 +01:00
Zahary Karadjov cc5d6e4612
remove some debugging code 2020-10-01 21:54:39 +03:00
Zahary Karadjov 61e5e1ec81
Fix a compilation issue manifesting under NimScript 2020-07-22 16:15:30 +03:00
Jacek Sieka 1b883ae284
Merge pull request #26 from juancarlospaco/master
Update fuzzing_engines.nim
2020-07-03 07:08:10 +02:00
Juan Carlos 9fe3275d71
Update fuzzing_engines.nim 2020-07-02 23:04:47 -03:00
kdeme c449d909a6
And remove confutils dependency as expected
Due to recursive dependency issue.
2020-06-18 17:04:23 +02:00
kdeme 5b5ecb93d6
Change to confutils as was intended
This might still give recursive dependency issues with nimble
due to confutils dependency on testutils.
2020-06-18 16:14:21 +02:00
Kim De Mey 805647d55b
Bump version to be able to correctly tag (#25) 2020-06-18 15:21:07 +02:00
Zahary Karadjov 622607e98e Add a cfg file for the CI 2020-06-12 14:23:11 +03:00
Zahary Karadjov 2c10c34dbc Renamed testrunner references to ntu 2020-06-12 14:23:11 +03:00
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