~ubuntu-branches/ubuntu/trusty/libsdl2/trusty-proposed

« back to all changes in this revision

Viewing changes to test/testautomation.c

  • Committer: Package Import Robot
  • Author(s): Manuel A. Fernandez Montecelo
  • Date: 2013-12-28 12:31:19 UTC
  • mto: (7.1.3 sid)
  • mto: This revision was merged to the branch mainline in revision 7.
  • Revision ID: package-import@ubuntu.com-20131228123119-wehupm72qsjvh6vz
Tags: upstream-2.0.1+dfsg1
ImportĀ upstreamĀ versionĀ 2.0.1+dfsg1

Show diffs side-by-side

added added

removed removed

Lines of Context:
80
80
            }
81
81
        }
82
82
        if (consumed < 0) {
83
 
            fprintf(stderr,
84
 
                    "Usage: %s %s [--iterations #] [--execKey #] [--seed string] [--filter suite_name|test_name]\n",
 
83
            SDL_Log("Usage: %s %s [--iterations #] [--execKey #] [--seed string] [--filter suite_name|test_name]\n",
85
84
                    argv[0], SDLTest_CommonUsage(state));
86
85
            quit(1);
87
86
        }
114
113
    }
115
114
 
116
115
    /* Clean up */
117
 
    if (userRunSeed != NULL) {
118
 
        SDL_free(userRunSeed);
119
 
    }
120
 
    if (filter != NULL) {
121
 
        SDL_free(filter);
122
 
    }
 
116
    SDL_free(userRunSeed);
 
117
    SDL_free(filter);
123
118
 
124
119
    /* Shutdown everything */
125
120
    quit(result);