diff --git a/Scripts/release.py b/Scripts/release.py index a3fd493a..e7c0c367 100644 --- a/Scripts/release.py +++ b/Scripts/release.py @@ -38,6 +38,9 @@ UPDATE_URL=http://nsis.sourceforge.net/Special:Simpleupdate?action=raw [svn2cl] SVN2CL_XSL=svn2cl.xsl + +[options] +SKIP_CPPUNIT=no ========================= 7zatarbz2.bat: @@ -97,6 +100,8 @@ UPDATE_URL = cfg.get('wiki', 'UPDATE_URL') SVN2CL_XSL = cfg.get('svn2cl', 'SVN2CL_XSL') +SKIP_CPPUINT = cfg.get('options', 'SKIP_CPPUNIT') + ### config env SVN_TAG = 'v' + ''.join(VERSION.split('.')) @@ -161,7 +166,7 @@ def RunTests(): print 'running tests...' run( - 'scons -C .. test', + 'scons -C .. %s' % (SKIP_CPPUINT == 'yes' and 'test-scripts' or 'test'), LOG_ALL, 'tests failed - see test.log for details' )