From: <jh...@us...> - 2011-10-13 20:20:37
|
Revision: 302 http://etch.svn.sourceforge.net/etch/?rev=302&view=rev Author: jheiss Date: 2011-10-13 20:20:31 +0000 (Thu, 13 Oct 2011) Log Message: ----------- Skip the RCS conversion tests if RCS is not installed. See code comment for more detail. Modified Paths: -------------- trunk/test/test_history.rb Modified: trunk/test/test_history.rb =================================================================== --- trunk/test/test_history.rb 2011-10-13 19:48:48 UTC (rev 301) +++ trunk/test/test_history.rb 2011-10-13 20:20:31 UTC (rev 302) @@ -380,6 +380,15 @@ # testname = 'history conversion' + # It is getting harder and harder to find a package of RCS for + # modern operating systems. And at this point the likelihood of + # anyone still having unconverted history logs is getting vanishingly + # small. So if we don't have the RCS executables available just skip + # these tests. + if `which ci` == '' || `which co` == '' + return + end + # Mock up an original file and RCS history log mockorigcontents = "This is the original text\n" FileUtils.mkdir_p(File.dirname(@origfile)) This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |