Commit 4c82912f672fb9dd6e6bc24ea6930759130ab696

Authored by Loic Dachary
1 parent e79904ea
Exists in master

allow override of GF-Complete directory in test_all_gfs.sh

And document how to run it in the README

Signed-off-by: Loic Dachary <loic@dachary.org>
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
... ...