def METHOD_NAME(suite, adder):
    suite_test = suite[2]
    suite_test.append_line('slash.{}("err")'.format(adder))
    suite_test.append_line('slash.skip_test()')
    suite_test.expect_skip()
    for test in suite.iter_all_after(suite_test, assert_has_more=True):
        test.expect_not_run()
    summary = suite.run(additional_args=['-x'])
    [result] = summary.get_all_results_for_test(suite_test)
    assert result.has_skips()
    assert result.has_errors_or_failures()