Index: visual_studio/NativeClientVSAddIn/check_test_results.py |
diff --git a/visual_studio/NativeClientVSAddIn/check_test_results.py b/visual_studio/NativeClientVSAddIn/check_test_results.py |
index 4a84f9bdacedc7ad6b5cfd548f6c520a86c14414..83c571a6471190197b3c613c34059aaee5d4caca 100644 |
--- a/visual_studio/NativeClientVSAddIn/check_test_results.py |
+++ b/visual_studio/NativeClientVSAddIn/check_test_results.py |
@@ -29,10 +29,9 @@ def main(): |
results = results_node.findall('{%s}UnitTestResult' % MSTEST_NAMESPACE) |
test_run_name = root.attrib['name'] |
- exit_code = 0 |
- |
# Print the results, note any failures by setting exit_code to 1 |
for result in results: |
+ exit_code = 0 |
fail_message = None |
if 'outcome' not in result.attrib: |
result.attrib['outcome'] = 'Error' |