From 6ddc21dc5fe75c80df1bf383e5bfc2320deb8624 Mon Sep 17 00:00:00 2001 From: John Wiegley Date: Wed, 6 Aug 2008 23:21:06 -0400 Subject: 'make distcheck' now works. --- test/PyUnitTests.py | 5 +++++ test/UnitTests.py | 9 +++++++++ test/python/PyUnitTests.py | 5 ----- test/python/UnitTests.py | 9 --------- 4 files changed, 14 insertions(+), 14 deletions(-) create mode 100755 test/PyUnitTests.py create mode 100644 test/UnitTests.py delete mode 100755 test/python/PyUnitTests.py delete mode 100644 test/python/UnitTests.py (limited to 'test') diff --git a/test/PyUnitTests.py b/test/PyUnitTests.py new file mode 100755 index 00000000..471f0d15 --- /dev/null +++ b/test/PyUnitTests.py @@ -0,0 +1,5 @@ +#!/bin/sh + +PYTHONPATH="%builddir%":"%srcdir%":$PYTHONPATH \ +DYLD_LIBRARY_PATH="%builddir%/.libs":"%builddir%/gdtoa/.libs":$DYLD_LIBRARY_PATH \ + python "%srcdir%"/test/UnitTests.py diff --git a/test/UnitTests.py b/test/UnitTests.py new file mode 100644 index 00000000..843e9fc1 --- /dev/null +++ b/test/UnitTests.py @@ -0,0 +1,9 @@ +from unittest import TextTestRunner, TestSuite + +import tests.python.numerics.t_amount as t_amount + +suites = [ + t_amount.suite(), +] + +TextTestRunner().run(TestSuite(suites)) diff --git a/test/python/PyUnitTests.py b/test/python/PyUnitTests.py deleted file mode 100755 index 3c19093f..00000000 --- a/test/python/PyUnitTests.py +++ /dev/null @@ -1,5 +0,0 @@ -#!/bin/sh - -PYTHONPATH="%builddir%":"%srcdir%":$PYTHONPATH \ -DYLD_LIBRARY_PATH="%builddir%/.libs":"%builddir%/gdtoa/.libs":$DYLD_LIBRARY_PATH \ - python "%srcdir%"/tests/python/UnitTests.py diff --git a/test/python/UnitTests.py b/test/python/UnitTests.py deleted file mode 100644 index 843e9fc1..00000000 --- a/test/python/UnitTests.py +++ /dev/null @@ -1,9 +0,0 @@ -from unittest import TextTestRunner, TestSuite - -import tests.python.numerics.t_amount as t_amount - -suites = [ - t_amount.suite(), -] - -TextTestRunner().run(TestSuite(suites)) -- cgit v1.2.3