Author: bugman Date: Tue Jul 29 14:32:06 2008 New Revision: 7017 URL: http://svn.gna.org/viewcvs/relax?rev=7017&view=rev Log: The Modelfree4 system test is now skipped and passes if the binary executable cannot be found. This is in response to Seb's post at https://mail.gna.org/public/relax-devel/2008-07/msg00035.html (Message-id: <488E26B1.8010606@xxxxxxxxx>). Modified: 1.3/test_suite/system_tests/palmer.py Modified: 1.3/test_suite/system_tests/palmer.py URL: http://svn.gna.org/viewcvs/relax/1.3/test_suite/system_tests/palmer.py?rev=7017&r1=7016&r2=7017&view=diff ============================================================================== --- 1.3/test_suite/system_tests/palmer.py (original) +++ 1.3/test_suite/system_tests/palmer.py Tue Jul 29 14:32:06 2008 @@ -24,6 +24,9 @@ import sys from unittest import TestCase +# relax module imports. +from relax_io import test_binary + class Palmer(TestCase): """Class for testing various aspects specific to model-free analysis using the program @@ -33,6 +36,12 @@ def test_palmer_stage_1(self): """Test a complete model-free analysis using the program 'Modelfree4'.""" + # Test for the presence of the Modelfree4 binary (skip the test if not present). + try: + test_binary('modelfree4') + except: + return + # Execute the script. self.relax.interpreter.run(script_file=sys.path[-1] + '/test_suite/system_tests/scripts/palmer.py')