2020-03-31 09:17:30 +08:00
|
|
|
.Dd Mar 31, 2020
|
|
|
|
.Dt R2R 1
|
|
|
|
.Sh NAME
|
|
|
|
.Nm r2r
|
|
|
|
.Nd radare2 regression testsuite
|
|
|
|
.Sh SYNOPSIS
|
|
|
|
.Nm r2r
|
|
|
|
.Op Fl h
|
|
|
|
.Op Fl n
|
|
|
|
.Op Fl v
|
|
|
|
.Op Fl V
|
|
|
|
.Op Fl j Ar threads
|
|
|
|
.Op Fl r Ar r2-path
|
|
|
|
.Op Fl m Ar rasm2-pth
|
2020-03-31 17:29:57 +08:00
|
|
|
.Op Fl f Ar bin-for-json-tests
|
2020-03-31 09:17:30 +08:00
|
|
|
.Op Fl C Ar chdir
|
|
|
|
.Op [test-(dir|file) ...]
|
|
|
|
.Sh DESCRIPTION
|
|
|
|
Run all the radare2-regressions tests matching a specific word in the name.
|
|
|
|
.Pp
|
|
|
|
TODO: this manpage is work-in-progress
|
|
|
|
.Pp
|
|
|
|
You need radare2 to be available in $PATH.
|
|
|
|
.Sh OPTIONS
|
|
|
|
.Bl -tag -width Fl
|
|
|
|
.It Fl h
|
|
|
|
Show the help/usage message
|
|
|
|
.It Fl n
|
|
|
|
Do not run any test, just load/parse them
|
|
|
|
.It Fl v
|
|
|
|
Show version number
|
|
|
|
.It Fl V
|
|
|
|
Be verbose
|
|
|
|
.It Fl j Ar threads
|
|
|
|
Specify the number of tasks to run in parallel
|
|
|
|
.It Fl r Ar r2-path
|
|
|
|
Set path to radare2 executable
|
|
|
|
.It Fl n Ar rasm2-path
|
|
|
|
Set path to rasm2executable
|
|
|
|
.It Fl m Ar rasm2-path
|
|
|
|
Set path to rasm2executable
|
2020-03-31 17:29:57 +08:00
|
|
|
.It Fl f Ar bin-for-json-tests
|
|
|
|
Load the given binary when running the JSON tests
|
2020-03-31 09:17:30 +08:00
|
|
|
.It Fl C Ar directory
|
|
|
|
Early chdir before running any test
|
|
|
|
.El
|
|
|
|
.Sh USAGE
|
|
|
|
.Pp
|
|
|
|
Use the -n flag to dont run any test. Just load them.
|
|
|
|
.Pp
|
|
|
|
$ r2r -n
|
|
|
|
[r2r] Loading tests...
|
|
|
|
.Pp
|
|
|
|
.Sh SEE ALSO
|
|
|
|
.Pp
|
|
|
|
.Xr radare2(1) ,
|
|
|
|
.Xr rahash2(1) ,
|
|
|
|
.Xr rafind2(1) ,
|
|
|
|
.Xr rabin2(1) ,
|
|
|
|
.Xr rafind2(1) ,
|
|
|
|
.Xr radiff2(1) ,
|
|
|
|
.Xr rasm2(1) ,
|
|
|
|
.Sh AUTHORS
|
|
|
|
.Pp
|
|
|
|
Written by pancake <pancake@nopcode.org>.
|