summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDaniel Stenberg <daniel@haxx.se>2002-05-05 11:18:03 +0000
committerDaniel Stenberg <daniel@haxx.se>2002-05-05 11:18:03 +0000
commit09552db910bed752d1ffd696070df97f15db9abd (patch)
treecf818da55ab98f36f6bf1bc94e2eb8e0563a03d3
parent6e2a24889d4f37d58d9c0d278ad63b2967e37327 (diff)
removed DOS newlines, made it use a static seed for better tests
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@440 a1c6a512-1295-4272-9138-f99709370657
-rw-r--r--firmware/test/wavey/harness.c13
1 files changed, 6 insertions, 7 deletions
diff --git a/firmware/test/wavey/harness.c b/firmware/test/wavey/harness.c
index 106f0a564b..92b0103be2 100644
--- a/firmware/test/wavey/harness.c
+++ b/firmware/test/wavey/harness.c
@@ -41,7 +41,7 @@ int main( int argc, char **args )
user_settings_t settings;
playlist_info_t playlist;
- debug( "\nrockbox test harness started.\n" );
+ debugf( "\nrockbox test harness started.\n" );
/* populate runtime data structures */
@@ -59,7 +59,7 @@ int main( int argc, char **args )
*/
void initialise( user_settings_t *settings, playlist_info_t *playlist )
{
- debug( "init()\n" );
+ debugf( "init()\n" );
reload_all_settings( settings );
reload_playlist_info( playlist );
@@ -72,7 +72,7 @@ void start( user_settings_t *settings, playlist_info_t *playlist )
{
track_t track;
- debug( "start()\n" );
+ debugf( "start()\n" );
/* show current values */
@@ -86,12 +86,12 @@ void start( user_settings_t *settings, playlist_info_t *playlist )
/* user selects a new playlist */
- load_playlist( playlist, "\\playlists\\2.m3u" );
+ load_playlist( playlist, "test2.m3u" );
display_current_playlist( playlist );
/* randomise playlist */
- randomise_playlist( playlist );
+ randomise_playlist( playlist, 45678 );
display_current_playlist( playlist );
/* get next track in playlist */
@@ -104,10 +104,9 @@ void start( user_settings_t *settings, playlist_info_t *playlist )
track = next_playlist_track( playlist );
display_playlist_track( &track );
}
-
#ifdef SIMULATOR
void app_main ()
{
main (0, NULL);
}
-#endif // SIMULATOR
+#endif