<div dir="ltr">On Mon, Aug 10, 2015 at 8:48 AM, Henri <span tabindex="-1" id=":285.1" style="" class="">Verbeet</span> <span dir="ltr"><<a href="mailto:hverbeet@gmail.com" target="_blank"><span tabindex="-1" id=":285.2" style="" class="">hverbeet</span>@gmail.com</a>></span> wrote:<br><div class="gmail_extra"><div class="gmail_quote"><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><span>On 10 August 2015 at 01:11, Józef Kucia <<a href="mailto:jkucia@codeweavers.com" target="_blank">jkucia@codeweavers.com</a>> wrote:<br>
> ---<br>
>  configure                    |   3 +-<br>
>  <a href="http://configure.ac" rel="noreferrer" target="_blank">configure.ac</a>                 |   3 +-<br>
</span>It's not a problem to include these, but it's not necessary either.<br>
Alexandre will generate these with tools/make_makefiles before<br>
committing the patch.<br>
<span><br>
> +    if (!(device = create_device()))<br>
> +    {<br>
> +        skip("Failed to create device, skipping tests.\n");<br>
> +        return;<br>
> +    }<br>
> +<br>
</span>There's nothing necessarily wrong with these tests, but you may want<br>
to consider waiting with submitting them until after they pass. Right<br>
now you're depending on create_device() to fail so the tests are<br>
skipped, but that means that once D3D11CreateDevice() is implemented<br>
you'd need to add todo_wine's and error handling to every test.<br>
<br>
<br>
</blockquote></div><br>The implementation of D3D11CreateDevice could be delayed until these tests pass. ID3D11Device could still be exposed through ID3D10Device. However, it might be more convenient to include the tests after they pass. I don't mind resubmitting them later.<br><br></div><div class="gmail_extra">How should be approached other tests which potentially influence decision how to organize D3D10 and D3D11 code? For example, tests which check implemented interfaces for D3D11Device. Is it preferred to submit them before implementation?<br></div></div>