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>
master
Loic Dachary 2014-03-29 09:29:34 +01:00
parent e79904ea00
commit 4c82912f67
2 changed files with 15 additions and 2 deletions

View File

@ -37,8 +37,7 @@
# WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
# POSSIBILITY OF SUCH DAMAGE.
#
GF_COMPLETE_DIR=/usr/local/bin
GF_METHODS=${GF_COMPLETE_DIR}/gf_methods
GF_METHODS=${GF_COMPLETE_DIR:-/usr/local/bin}/gf_methods
k=12
m=3
seed=1370

14
README
View File

@ -70,3 +70,17 @@ determine the default field to use, if one is not specified.
If you would like to explore a using a different Galois Field implementation,
please see the manual.
------------------------------------------------------------
Testing GF-Complete
If the GF-Complete tools are installed in /usr/local/bin
cd Examples
./test_all_gfs.sh
If the GF-Complete tools are installed elsewhere
cd Examples
GF_COMPLETE_DIR=../../gf-complete/tools ./test_all_gfs.sh