akhikolla / RcppDeepState

RcppDeepState, a simple way to fuzz test code in Rcpp packages
https://akhikolla.github.io./
8 stars 2 forks source link

sub-directory for every function? #28

Closed tdhock closed 4 years ago

tdhock commented 4 years ago

Right now all functions are saved in inst/testfiles/ can we make function-specific sub-directories instead? e.g. for binsegRcpp inst/testfiles/binseg_normal inst/testfiles/binseg_normal_cost and then put all the files specific to that function under the corresponding sub-directory

tdhock commented 4 years ago

with this new structure you can use inst/testfiles/binseg_normal/Makefile instead of inst/testfiles/binseg_normal.Makefile (so then you can run make without the -f flag)

tdhock commented 4 years ago

also I would suggest putting input argument data files under a sub-directory, e.g.

inst/testfiles/binseg_normal/inputs/data_vec
inst/testfiles/binseg_normal/inputs/max_segments
akhikolla commented 4 years ago

Implemented the same structure - function specific folders and inputs in the sub folders.

akhikolla commented 4 years ago

function-specific harness and Makefile in - function folder inputs - function folder/inputs outputs(for binary files) - functionfolder/function_output