make tests executable
authorJacob Lifshay <programmerjake@gmail.com>
Tue, 9 Jul 2019 02:21:04 +0000 (19:21 -0700)
committerJacob Lifshay <programmerjake@gmail.com>
Tue, 9 Jul 2019 02:21:04 +0000 (19:21 -0700)
src/ieee754/div_rem_sqrt_rsqrt/test_algorithm.py [changed mode: 0644->0755]
src/ieee754/div_rem_sqrt_rsqrt/test_core.py [changed mode: 0644->0755]

old mode 100644 (file)
new mode 100755 (executable)
index 5760dba..9200b3b
@@ -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()
old mode 100644 (file)
new mode 100755 (executable)
index 0ee3935..74b10b0
@@ -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()