Commit graph

26 commits

Author SHA1 Message Date
Farhan Saiyed
c79a077d1c
Add a note regarding verbose mode in benchmark (#6157)
* Workflows run updated

* Adding note regarding verbose mode in benchmarks
2026-04-05 08:20:01 +08:00
Alok Kumar Mishra
470b1b1eb7
rz-ar: add archive extraction utility (#6036) 2026-03-18 03:51:18 +08:00
Giovanni
70fdd67278
Allow rizin tools to run as standalone binaries (#6011)
* Implement TOOL/ENVS/EXIT_STATUS for rz-test

* update readme
2026-03-11 16:24:23 +00:00
Anton Angelov
9d3109888e
Enhance performance of rz_bv_copy_nbits for large to small and small to large bv copies (#5551)
* Implement optimized functions for small to large and large to small

* Add benchmark instructions in testREADME.md

* Use the term unaligned consistently instead of nonaligned

* Slightly improve bitvector test error message

* Remove unnecessary annotations

* Edit readme

* Add explicit fallthrough comments

* Return statement for rz_bv_toggle_all()

* Extend tests
2025-11-30 00:48:36 +08:00
Rot127
51f9509d61
Enable rz-test asm tests to test for multiple instructions in a single test. (#5166)
This allows to test for assembly characteristics which are only valid in a certain context.
Here we also fix a bug in rz-asm, which didn't incremented the address before disassembly.
2025-05-26 14:05:19 +00:00
Rot127
a1b3332cb2
Move minunit due to compile errors. (#2439) 2022-03-23 20:00:47 +08:00
Dhruv Maroo
1532342358 Add --print-errorlogs flag meson test for Windows jobs 2022-03-06 16:54:44 +01:00
Florian Märkl
7e36f4bd38 Add IL lifting testing to rz-test 2022-01-10 19:27:09 +01:00
Dhruv Maroo
3d6b7f0235
Cleanup dbl command handler; Remove rz_bp_list (#2012) 2021-11-25 22:33:24 +05:30
Dhruv Maroo
afd1bab3c0
Port db commands to newshell (#1777)
* Add `db` commands in `cmd_debug.yaml`

* Use bool instead of int as return value

* Port `db` commands to newshell

* Fix integration tests. Use `db- <addr>`, instead of `db-<addr>`

* Fix `dbW` handler and update `rz_w32_add_winmsg_breakpoint`

* Remove checks for `argc` in `cmd_debug.c` (from review)

* Fix failing Windows tests

* Change control flow in conditional expressions

* Use `RzCmdStateOutput` in handler for `dbt` to print backtrace in various formats

* Use forward slash (/) instead of pipe (|) for command descriptions

* Use output modes for printing breakpoints in `db` handler

* Remove extra newline while printing breakpoints in JSON format

* Change description for `dbc` command

* Update descriptions and handlers; Remove <addr> argument wherever necessary

* Use `RZ_CMD_ARG_TYPE_CHOICES` for perm in `dbw`

* Add details for `dbC` and `dbw`

* Add quiet printing mode for breakpoints

* Remove unnecessary <addr> argument for `db` commands

 * Also add a quiet output mode for `dbl` and `dbt`

* Return if no breakpoint found in function `add_breakpoint`

* Update tests for new `db` commands

* Update `db` command descriptions

 * Remove `dbi.` redundant command
 * Add details for iterating through the list of breakpoints

* Extract `rz_debug_bp_add_noreturn_func` into `debug.c` as RZ_API

* Fix `dbil` handler and `dbg_bps` test

* Shift the noreturn function breakpoint to `cdebug.c`

* Format according to clang-format

* Fix failing integration tests

 * TODO: Find why `db- @@c:dblq` is failing, and fix the bug

* Update `db` commands

* Use `db- @@c:dblq` instead of `db-*`

 * This will also work as a test for command edits (see https://github.com/rizinorg/rizin/pull/1806)
2021-10-08 21:40:51 +05:30
Khairul Azhar Kasmiran
eb262e4df9 Use UTC timezone for tests 2021-09-08 23:14:46 +02:00
Aswin C
455b7f7de2
RzArch: Support for memory mapping the ROM sizes (#1228) 2021-06-26 03:02:17 +08:00
xarkes
ddcefec614
Added a tip to the unit test README (#860)
Help users run a specific testcase rather than the whole testsuite.
2021-03-19 12:44:06 +08:00
yossizap
36e0231251
Added regex documentation to test/README.md (#326) 2021-01-08 21:03:33 +01:00
Riccardo Schirone
a7fd3fa3c6 Use mu_main to reduce boilerplate in unit tests
* Disable colors on Windows because terminal looks bad otherwise
* Use environment on Windows to set PATH and make sure unit tests use
  the compiled libraries and not the installed ones
* Define ssize_t on Windows as well by using SSIZE_T

Update test_analysis_block.c

Update test_intervaltree.c

Update test_unum.c
2021-01-03 11:42:38 +01:00
Anton Kochkov
539f60a1a8
Rename radare to rizin (#68)
* Rename radare to rizin

- Rename REvent to RzEvent
- Rename RBreakpoint to RzBreakpoint
- Rename RRune to RzRune

* Remove unnecessary files
2020-11-04 18:56:27 +08:00
Riccardo Schirone
cb09988b9d
Rewrite some documentation (#49) 2020-10-26 17:12:19 +01:00
Riccardo Schirone
721609a17b
Rename to rizin (#2) 2020-10-01 16:13:03 +02:00
Riccardo Schirone
3f4079c4ca
Add support for TIMEOUT key for cmd tests (#17582) ##r2r 2020-09-04 15:17:17 +02:00
Anton Kochkov
38d82feecf
Fix path in test/README (#16582) 2020-04-14 08:37:14 +08:00
pancake
346eb5bd38
Move test/new/* into test/ ##tests (#16511) 2020-04-13 19:49:23 +02:00
Anton Kochkov
6f03942d8f
Remove r2r.js remnants (#16461) 2020-04-07 23:46:55 +02:00
Anton Kochkov
dc790f5250 Some README fixes 2020-04-01 13:02:10 +08:00
Khairul Azhar Kasmiran
5e619d5ad9
Highlight that 'new' is a directory name in test docs (#16035) 2020-02-23 19:45:17 +02:00
radare
2b15e7421e
Many improvements in the V testsuite (#15722) ##test
* Kill some more tests using <<RUN
* Improve r2r.v quite a lot up to 0.2
* Delete stale temporal files in the unit test
* Use executable path instead of dbpath and more cleanup
* Move manpage and move old bins into the attic
2019-12-29 19:26:15 +01:00
Florian Märkl
ae61aa8e37
Imports Tests from radare2-regressions (#15546) 2019-12-08 15:31:14 +01:00