Ctrl + click test results.
The repos used for the test were selected as they had several dozen (hundred) files that could be converted to html with roffit. Expand below to show test repos and what file extensions were used:
Show File Extensions and Repos Tested
- .1
- .3
- .8
- .1.in
- nmap/nmap.git
- libssh2/libssh2.git
- curl/curl.git
I included comments in extract-full-data.sh (extract test files from repos) and data-test (file to build test) where each of the below steps occur. They should be hard to miss.
- Set configuration and ready data to be extracted.
- Determine, then clone repositories from configuration.
- Extract files matching configured extensions in
config-variables.sh
to data/full-test directory. - Prompt to confirm then run function to extract data.
- Set configuration and ready test elements.
- Clone source (bagder) and pull (jhauga) roffit repo.
- Start test function configurring function for source or pull.
- Set a start and end time for each build with roffit, pushing start and end to two separate arrays.
- In
run_command()
sub-function call roffit first utilizing prior configurations to build using source or pull roffit and calculate build time(s).- Additional marker here cause this is where roffit is called and timed.
- Determnin difference after all files built second in `runc_command() sub-function.
- Call
run_command()
sub-function. - Determine if there is a difference, checking empty files and count number of differences.
- Call
run_test()
function with source or pull, reconfigure and callrun_test()
again. - Make support html elements for difference output and dropdown menus.
- Compare total fies built to files with differences, outputting results to supporting text file.
- Calculate stats for build times, outputting results to supporting text file.
- Make remaining support html elements and clean files and directories.