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
|
2020-11-19 11:52:55 +08:00
|
|
|
.Op Fl i
|
2020-03-31 09:17:30 +08:00
|
|
|
.Op Fl n
|
2020-04-08 19:56:52 +08:00
|
|
|
.Op Fl q
|
2020-03-31 09:17:30 +08:00
|
|
|
.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
|
|
|
|
You need radare2 to be available in $PATH.
|
|
|
|
.Sh OPTIONS
|
|
|
|
.Bl -tag -width Fl
|
|
|
|
.It Fl h
|
|
|
|
Show the help/usage message
|
2020-11-19 11:52:55 +08:00
|
|
|
.It Fl i
|
|
|
|
Interactive mode
|
2020-03-31 09:17:30 +08:00
|
|
|
.It Fl n
|
|
|
|
Do not run any test, just load/parse them
|
2020-04-08 19:56:52 +08:00
|
|
|
.It Fl q
|
|
|
|
Quiet mode (use like this: r2r -qv)
|
2020-03-31 09:17:30 +08:00
|
|
|
.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
|
2021-05-20 09:34:23 +08:00
|
|
|
.Xr radare2(1)
|
2020-03-31 09:17:30 +08:00
|
|
|
.Sh AUTHORS
|
|
|
|
.Pp
|
|
|
|
Written by pancake <pancake@nopcode.org>.
|