summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKevin Greenan <kmgreen2@gmail.com>2014-03-31 08:59:50 -0700
committerKevin Greenan <kmgreen2@gmail.com>2014-03-31 08:59:50 -0700
commitfcd867d01bfec7c6c1a2bdc4639f1a6b924e4fff (patch)
tree0236e1fc560167b8dce8242c0a2e98e9ea75dea5
parentca21b175577fbd2dd56c52ff703a8c26fe46253f (diff)
parent4c82912f672fb9dd6e6bc24ea6930759130ab696 (diff)
downloadjerasure-fcd867d01bfec7c6c1a2bdc4639f1a6b924e4fff.tar.gz
Merged in dachary/jerasure/wip-gf-complete-tests (pull request #12)
allow override of GF-Complete directory in test_all_gfs.sh
-rwxr-xr-xExamples/test_all_gfs.sh3
-rw-r--r--README14
2 files changed, 15 insertions, 2 deletions
diff --git a/Examples/test_all_gfs.sh b/Examples/test_all_gfs.sh
index 03e5e9b..a9268c1 100755
--- a/Examples/test_all_gfs.sh
+++ b/Examples/test_all_gfs.sh
@@ -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
diff --git a/README b/README
index 3ba2c97..f48b3dc 100644
--- a/README
+++ b/README
@@ -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