diff options
author | Tushar Gohad <tushar.gohad@intel.com> | 2016-01-12 15:52:13 -0700 |
---|---|---|
committer | Tushar Gohad <tushar.gohad@intel.com> | 2016-01-12 15:52:13 -0700 |
commit | 42f116e97b489694724e3d8bc52484dcd95ad706 (patch) | |
tree | dabe33fe9194575decc204ff74fc84039c23843f | |
parent | 93ee595ad809dbbf8674ee4af834fbe5d05b75f4 (diff) | |
download | pyeclib-42f116e97b489694724e3d8bc52484dcd95ad706.tar.gz |
Fix flat_xor_hd test invocation
-rw-r--r-- | test/test_pyeclib_c.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/test/test_pyeclib_c.py b/test/test_pyeclib_c.py index 4975840..2ca17c2 100644 --- a/test/test_pyeclib_c.py +++ b/test/test_pyeclib_c.py @@ -278,12 +278,12 @@ class TestPyECLib(unittest.TestCase): return format(throughput, '.10g') def test_xor_code(self): - if "flat_xor_hd" not in VALID_EC_TYPES: + if "flat_xor_hd_3" not in VALID_EC_TYPES: print("xor backend is not available in your enviromnet, skipping test") return for (ec_type, k, m, hd) in self.xor_types: - print(("\nRunning tests for %s k=%d, m=%d, hd=%d" % (ec_type, k, m, hd))) + print(("\nRunning tests for flat_xor_hd k=%d, m=%d, hd=%d" % (k, m, hd))) for size_str in self.sizes: avg_time = self.time_encode(k, m, ec_type.value, hd, |