From 8f177b749bbe92be7c43b89bca022582b642cb7f Mon Sep 17 00:00:00 2001 From: Paul Brossier Date: Tue, 26 Feb 2013 13:42:44 -0500 Subject: [PATCH] moved test scripts to tests --- python/{build_osx => env_osx} | 0 python/{ => tests}/a_weighting_test_simple.expected | 0 python/{ => tests}/c_weighting_test_simple.expected | 0 python/{ => tests}/run_all_tests | 2 +- 4 files changed, 1 insertion(+), 1 deletion(-) rename python/{build_osx => env_osx} (100%) rename python/{ => tests}/a_weighting_test_simple.expected (100%) rename python/{ => tests}/c_weighting_test_simple.expected (100%) rename python/{ => tests}/run_all_tests (92%) diff --git a/python/build_osx b/python/env_osx similarity index 100% rename from python/build_osx rename to python/env_osx diff --git a/python/a_weighting_test_simple.expected b/python/tests/a_weighting_test_simple.expected similarity index 100% rename from python/a_weighting_test_simple.expected rename to python/tests/a_weighting_test_simple.expected diff --git a/python/c_weighting_test_simple.expected b/python/tests/c_weighting_test_simple.expected similarity index 100% rename from python/c_weighting_test_simple.expected rename to python/tests/c_weighting_test_simple.expected diff --git a/python/run_all_tests b/python/tests/run_all_tests similarity index 92% rename from python/run_all_tests rename to python/tests/run_all_tests index dc2fbce4..ad18a92c 100755 --- a/python/run_all_tests +++ b/python/tests/run_all_tests @@ -6,7 +6,7 @@ if __name__ == '__main__': # get relevant files curdir = os.path.dirname(sys.argv[0]) if curdir == '': curdir = '.' - files = os.listdir(os.path.join(curdir, 'tests')) + files = os.listdir(curdir) modfiles = filter (lambda y: y.endswith('.py'), files) modfiles = filter (lambda f: f.startswith('test_'), modfiles) # get module names -- 2.26.2