Use winetest_interactive to disable tests.

svn path=/trunk/; revision=59392
This commit is contained in:
Sylvain Petreolle 2013-06-30 13:59:59 +00:00
parent 1536f38001
commit 6536e07d53
5 changed files with 26 additions and 6 deletions

View file

@ -221,6 +221,11 @@ static void test_basefilter(void)
START_TEST(dsoundrender)
{
if(!winetest_interactive)
{
skip("Skipping dsoundrender test, see ROSTESTS_116\n");
return;
}
CoInitialize(NULL);
if (!create_dsound_renderer())
return;

View file

@ -1846,6 +1846,12 @@ static void test_render_filter_priority(void)
START_TEST(filtergraph)
{
CoInitializeEx(NULL, COINIT_MULTITHREADED);
if(!winetest_interactive)
{
skip("Skipping filtergraph test, see ROSTESTS_116\n");
return;
}
else{
test_render_run(avifileA);
test_render_run(mpegfileA);
test_graph_builder();
@ -1853,5 +1859,6 @@ START_TEST(filtergraph)
test_mediacontrol();
test_filter_graph2();
test_render_filter_priority();
}
CoUninitialize();
}

View file

@ -206,9 +206,15 @@ START_TEST(misc)
{
CoInitialize(NULL);
if(!winetest_interactive)
{
skip("Skipping misc test, see ROSTESTS_116\n");
return;
}
else{
test_video_renderer_aggregations();
test_filter_graph_aggregations();
test_filter_mapper_aggregations();
}
CoUninitialize();
}

View file

@ -18,16 +18,12 @@ extern void func_videorenderer(void);
const struct test winetest_testlist[] =
{
{ "avisplitter", func_avisplitter },
#ifdef ROSTESTS_116_FIXED
{ "dsoundrender", func_dsoundrender },
{ "filtergraph", func_filtergraph },
#endif /* ROSTESTS_116_FIXED */
{ "filtermapper", func_filtermapper },
{ "memallocator", func_memallocator },
#ifdef ROSTESTS_116_FIXED
{ "misc", func_misc },
{ "videorenderer", func_videorenderer },
#endif /* ROSTESTS_116_FIXED */
{ "referenceclock", func_referenceclock },
{ 0, 0 }
};

View file

@ -156,9 +156,15 @@ START_TEST(videorenderer)
if (!create_video_renderer())
return;
if(!winetest_interactive)
{
skip("Skipping filtergraph test, see ROSTESTS_116\n");
return;
}
else{
test_query_interface();
test_basefilter();
}
release_video_renderer();
CoUninitialize();