Commit fcd867d01bfec7c6c1a2bdc4639f1a6b924e4fff

Authored by KMG
2 parents ca21b175 4c82912f
Exists in master

Merged in dachary/jerasure/wip-gf-complete-tests (pull request #12)

allow override of GF-Complete directory in test_all_gfs.sh
Showing 2 changed files with 15 additions and 2 deletions   Show diff stats
Examples/test_all_gfs.sh
... ... @@ -37,8 +37,7 @@
37 37 # WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
38 38 # POSSIBILITY OF SUCH DAMAGE.
39 39 #
40   -GF_COMPLETE_DIR=/usr/local/bin
41   -GF_METHODS=${GF_COMPLETE_DIR}/gf_methods
  40 +GF_METHODS=${GF_COMPLETE_DIR:-/usr/local/bin}/gf_methods
42 41 k=12
43 42 m=3
44 43 seed=1370
... ...
README
... ... @@ -70,3 +70,17 @@ determine the default field to use, if one is not specified.
70 70  
71 71 If you would like to explore a using a different Galois Field implementation,
72 72 please see the manual.
  73 +
  74 +------------------------------------------------------------
  75 +
  76 +Testing GF-Complete
  77 +
  78 +If the GF-Complete tools are installed in /usr/local/bin
  79 +
  80 +cd Examples
  81 +./test_all_gfs.sh
  82 +
  83 +If the GF-Complete tools are installed elsewhere
  84 +
  85 +cd Examples
  86 +GF_COMPLETE_DIR=../../gf-complete/tools ./test_all_gfs.sh
... ...