Menu

Windows Again

Whoops seems I uploaded the wrong file yesterday...

Version History:
v0.031:
-Fixed a bug with being able to to enable the gcc option in the native Windows cli
-Fixed a minor bug in the parsing of the injection hash
v0.03:
-Added basic injection of test cases directly into Matlab cli.
-Thus, it now requires the matlab-ruby library, but only if you are using Matlab-
related functions. So, it shouldn't present a problem if not.
(http://matlab-ruby.rubyforge.org/matlab-ruby/)
-Apparently, session inject is the norm with the Matlab/C libs, so there's no need to
start a new Matlab session for each test set, nor to store each of them
-Now can invoke the injection fucntion from the shell (as opposed to just the internal
cli)
-Fixed a bug in setting verbose on/off from the shell (would always be on unless storing
to file)
-Can now run external Matlab scripts (really trivial, but does make it less anoying)
-Fixed a bug in handling the case that the matlab-ruby library is not installed
-Deprecated the export function; can now only directly inject to Matlab
v0.02:
-Now has the option to randomly generate and output float values when permuting a range
-From the cli can now output to txt file copy-paste-able-to-Matlab arrays
v0.01:
-Now compiles and works exactly as (better than?) its predecessor Allpairs.
-Improved the sorting of parameters by number of values so it always works.
-Simplified the scoring data structures (scorestrings->scoreints) in findnext()
so that it's now just a simple integer array.
-Added ability to use embedded bash script to run the program associated with
the parameters of which corollaries are parsing the combinations into a bash
compatible array of arrays and making sure that the system HAS bash, gcc, gcov
and lcov.
-Added storing the combinations of parameter values to both a tab-delimited text file
and a csv file.
-Object-orientized the code
-Added verbosity option (always on if no output specified
-Added multiple file and option input at program call
-Added basic cli in the case that no input is specified as above
-Added enumerated output file specification
-Separated the cli and the test case generator into different classes
-Reimplemented the bash script to take modifiable command line options
TODO:
-Document the code!!!
-Review structures more thoroughly and prettify the code (for real)
-Allow selection of test set to inject into Matlab (maybe)
-Parse arguments from shell better (e.g. don't require quotes for multipart flags)
-Improve exception handling (e.g. when incorrect input is given)

Posted by Patrick Eads 2010-08-06

Log in to post a comment.