GSP
Quick Navigator

Search Site

Unix VPS
A - Starter
B - Basic
C - Preferred
D - Commercial
MPS - Dedicated
Previous VPSs
* Sign Up! *

Support
Contact Us
Online Help
Handbooks
Domain Status
Man Pages

FAQ
Virtual Servers
Pricing
Billing
Technical

Network
Facilities
Connectivity
Topology Map

Miscellaneous
Server Agreement
Year 2038
Credits
 

USA Flag

 

 

Man Pages
R2R(1) FreeBSD General Commands Manual R2R(1)

r2rradare2 regression testsuite

r2r [-h] [-H] [-i] [-n] [-L] [-q] [-v] [-V] [-j threads] [-f bin-for-json-tests] [-F fuzzbindir] [-C chdir] [-o file] [-s ignore] [-t seconds] [[test-(dir|file) ...]]

Run all the radare2 regression tests matching a specific word in the name.

You need radare2 to be available in $PATH.

Show the help/usage message
Display the list of environment variables and their default values
Interactive mode
Do not run any test, just load/parse them
Log mode (better printing for CI, logfiles, etc.)
Quiet mode (use like this: r2r -qv)
Show version number
Be verbose
threads
Specify the number of tasks to run in parallel
Do not run any test, just parse them for linting purposes
bin-for-json-tests
Load the given binary when running the JSON tests
directory
Early chdir before running any test
directory
Specify the path where the fuzzed binaries are
file
Output test run information in JSON format to file
test
Set R2R_SKIP_(TEST)=1 to skip running that test type
seconds
Timeout per test (default is (30*60))

Use the -n flag to not run any test. Just load them.


$ r2r -n
[r2r] Loading tests...

Run the tests contained in a directory interactively, if any of those tests fail to run, prompt the user to autofix, edit the commands, etc.


$ r2r -i test/db/cmd/cmd_pdf

radare2(1)

Written by pancake <pancake@nopcode.org>.

March 17, 2024

Search for    or go to Top of page |  Section 1 |  Main Index

Powered by GSP Visit the GSP FreeBSD Man Page Interface.
Output converted with ManDoc.