You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@subversion.apache.org by br...@apache.org on 2017/07/22 20:07:44 UTC
svn commit: r1802709 - /subversion/trunk/win-tests.py
Author: brane
Date: Sat Jul 22 20:07:43 2017
New Revision: 1802709
URL: http://svn.apache.org/viewvc?rev=1802709&view=rev
Log:
Make sure the Windows test driver doesn't use an undefined variable.
* win_tests.py (failed): Define the variable in the global scope.
Complain if the --swig option got an invalid value.
Modified:
subversion/trunk/win-tests.py
Modified: subversion/trunk/win-tests.py
URL: http://svn.apache.org/viewvc/subversion/trunk/win-tests.py?rev=1802709&r1=1802708&r2=1802709&view=diff
==============================================================================
--- subversion/trunk/win-tests.py (original)
+++ subversion/trunk/win-tests.py Sat Jul 22 20:07:43 2017
@@ -1017,6 +1017,7 @@ create_target_dir(CMDLINE_TEST_SCRIPT_NA
# Ensure the tests directory is correctly cased
abs_builddir = fix_case(abs_builddir)
+failed = None
daemon = None
memcached = None
# Run the tests
@@ -1330,6 +1331,10 @@ elif test_swig == 'ruby':
print('[Test runner reported failure]')
failed = True
+elif test_swig:
+ print('Unknown Swig binding type: ' + str(test_swig))
+ failed = True
+
# Stop service daemon, if any
if daemon:
del daemon