# HG changeset patch # User Edgar Simo # Date 1249409231 0 # Node ID 1e277c40babe244ccd4467e0d76c6de1d551dc18 # Parent 9428ae7438783912783ab4aa0fec6d48804a850f Added placeholder for manual tests. diff -r 9428ae743878 -r 1e277c40babe test/automated/testsdl.c --- a/test/automated/testsdl.c Tue Aug 04 17:53:20 2009 +0000 +++ b/test/automated/testsdl.c Tue Aug 04 18:07:11 2009 +0000 @@ -24,10 +24,13 @@ /* * Tests to run. */ -static int run_platform = 1; -static int run_rwops = 1; -static int run_surface = 1; -static int run_render = 1; +static int run_manual = 0; /**< Run manual tests. */ +/* Manual. */ +/* Automatic. */ +static int run_platform = 1; /**< Run platform tests. */ +static int run_rwops = 1; /**< Run RWops tests. */ +static int run_surface = 1; /**< Run surface tests. */ +static int run_render = 1; /**< Run render tests. */ /* * Prototypes. @@ -43,6 +46,7 @@ { printf("Usage: %s [OPTIONS]\n", name); printf("Options are:\n"); + printf(" --manual enables tests that require user interaction\n"); printf(" --noplatform do not run the platform tests\n"); printf(" --norwops do not run the rwops tests\n"); printf(" --nosurface do not run the surface tests\n"); @@ -59,6 +63,7 @@ static void parse_options( int argc, char *argv[] ) { static struct option long_options[] = { + { "manual", no_argument, 0, 0 }, { "noplatform", no_argument, 0, 0 }, { "norwops", no_argument, 0, 0 }, { "nosurface", no_argument, 0, 0 }, @@ -121,6 +126,7 @@ { parse_options( argc, argv ); + /* Automatic tests. */ if (run_platform) test_platform(); if (run_rwops) @@ -130,6 +136,10 @@ if (run_render) test_render(); + /* Manual tests. */ + if (run_manual) { + } + return 0; }