Fixed windows build

This commit is contained in:
Yevgen Muntyan 2010-10-19 01:08:37 -07:00
parent 6a775651c5
commit 0e8b99bc30

View File

@ -37,7 +37,7 @@ unit_tests_main (MooTestOptions opts, char **tests)
moo_test_cleanup (); moo_test_cleanup ();
#ifdef __WIN32__ #ifdef __WIN32__
if (!g_getenv ("WINESERVER") && !list_only) if (!g_getenv ("WINESERVER") && !(opts & MOO_TEST_LIST_ONLY))
{ {
printf ("Done, press Enter..."); printf ("Done, press Enter...");
fflush (stdout); fflush (stdout);