title: Test suite result dependency in testNG
body: <p>I have test suite xml file  that contains other test suites in the following format:</p>
  
  <pre><code>&lt;suite-files&gt;
      &lt;suite-file path="debug1.xml" /&gt;
      &lt;suite-file path="debug2.xml"/&gt;
  
  &lt;/suite-files&gt;
  </code></pre>
  
  <p>Is there a way to add a dependency between the two sub suites? Meaning if <code>debug1.xml</code> fails, then <code>debug2.xml</code> should not be executed at all.
  TestNG does not provide any dependency on the <code>&lt;suite-files&gt;</code> level. Can this be done, perhaps, through some listener?</p>