File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -145,16 +145,16 @@ <h4 class="category-header {{ 'fail' if result.error else 'pass' }}" data-catego
145145 {%- endif %}
146146 {%- endfor %}
147147 {%- endif %}
148- {% if test.result.exit_code != test.result.expected_rc %}
148+ {% if test.result and test.result .exit_code != test.result.expected_rc %}
149149 {% if file.got is none or no_error.found-%}
150150 Fail
151151 {% else %}
152152 < a href ="# " class ="diff_link " data-test ="{{ file.test_id }} " data-regression ="{{ file.regression_test_id }} " data-output ="{{ file.regression_test_output_id }} "> Fail</ a >
153153 {%- endif %}
154- {% elif file.got is none or no_error.found or test.result.exit_code != 0 -%}
155- Pass
156154 {% elif file.got == "error" %}
157155 No output generated but there should be
156+ {% elif file.got is none or no_error.found or (test.result and test.result.exit_code != 0) -%}
157+ Pass
158158 {% else %}
159159 < a href ="# " class ="diff_link " data-test ="{{ file.test_id }} " data-regression ="{{ file.regression_test_id }} " data-output ="{{ file.regression_test_output_id }} "> Fail</ a >
160160 {%- endif %}
You can’t perform that action at this time.
0 commit comments