From 7deebd03de570feabc1d54a78e5f7f2953b27106 Mon Sep 17 00:00:00 2001 From: Jacob Lifshay Date: Mon, 8 Jul 2019 19:21:04 -0700 Subject: [PATCH] make tests executable --- src/ieee754/div_rem_sqrt_rsqrt/test_algorithm.py | 5 +++++ src/ieee754/div_rem_sqrt_rsqrt/test_core.py | 5 +++++ 2 files changed, 10 insertions(+) mode change 100644 => 100755 src/ieee754/div_rem_sqrt_rsqrt/test_algorithm.py mode change 100644 => 100755 src/ieee754/div_rem_sqrt_rsqrt/test_core.py diff --git a/src/ieee754/div_rem_sqrt_rsqrt/test_algorithm.py b/src/ieee754/div_rem_sqrt_rsqrt/test_algorithm.py old mode 100644 new mode 100755 index 5760dbab..9200b3b8 --- a/src/ieee754/div_rem_sqrt_rsqrt/test_algorithm.py +++ b/src/ieee754/div_rem_sqrt_rsqrt/test_algorithm.py @@ -1,3 +1,4 @@ +#!/usr/bin/env python3 # SPDX-License-Identifier: LGPL-2.1-or-later # See Notices.txt for copyright information @@ -1129,3 +1130,7 @@ class TestFixedUDivRemSqrtRSqrt(unittest.TestCase): shifted_remainder=shifted_remainder): self.assertEqual(obj.quotient_root, quotient) self.assertEqual(obj.remainder, shifted_remainder) + + +if __name__ == '__main__': + unittest.main() diff --git a/src/ieee754/div_rem_sqrt_rsqrt/test_core.py b/src/ieee754/div_rem_sqrt_rsqrt/test_core.py old mode 100644 new mode 100755 index 0ee39351..74b10b08 --- a/src/ieee754/div_rem_sqrt_rsqrt/test_core.py +++ b/src/ieee754/div_rem_sqrt_rsqrt/test_core.py @@ -1,3 +1,4 @@ +#!/usr/bin/env python3 # SPDX-License-Identifier: LGPL-2.1-or-later # See Notices.txt for copyright information @@ -227,3 +228,7 @@ class TestDivPipeCore(unittest.TestCase): log2_radix=1)) # FIXME: add more test_* functions + + +if __name__ == '__main__': + unittest.main() -- 2.30.2