Displaying 9 results from an estimated 9 matches for "failed_test".
Did you mean:
failed_tests
2007 Feb 06
0
Branch 'interpreter' - 15 commits - configure.ac libswfdec/swfdec_audio_event.c libswfdec/swfdec_button_movie.c libswfdec/swfdec_color.c libswfdec/swfdec_color.h libswfdec/swfdec_compiler.c libswfdec/swfdec_image.c libswfdec/swfdec_sprite_movie.c
...nome.org>
Date: Tue Feb 6 11:53:54 2007 +0100
list all failed tests at end of run
diff --git a/test/sound/sound.c b/test/sound/sound.c
index b74f9e2..f42149f 100644
--- a/test/sound/sound.c
+++ b/test/sound/sound.c
@@ -245,7 +245,7 @@ error:
int
main (int argc, char **argv)
{
- guint failed_tests = 0;
+ GList *failed_tests = NULL;
swfdec_init ();
@@ -253,7 +253,7 @@ main (int argc, char **argv)
int i;
for (i = 1; i < argc; i++) {
if (!run_test (argv[i]))
- failed_tests++;
+ failed_tests = g_list_prepend (failed_tests, g_strdup (argv[i]));;
}
} else {...
2007 Feb 06
0
21 commits - configure.ac libswfdec/swfdec_audio_event.c libswfdec/swfdec_bits.c libswfdec/swfdec_button_movie.c libswfdec/swfdec_color.c libswfdec/swfdec_color.h libswfdec/swfdec_compiler.c libswfdec/swfdec_edittext.c libswfdec/swfdec_image.c
...nome.org>
Date: Tue Feb 6 11:53:54 2007 +0100
list all failed tests at end of run
diff --git a/test/sound/sound.c b/test/sound/sound.c
index b74f9e2..f42149f 100644
--- a/test/sound/sound.c
+++ b/test/sound/sound.c
@@ -245,7 +245,7 @@ error:
int
main (int argc, char **argv)
{
- guint failed_tests = 0;
+ GList *failed_tests = NULL;
swfdec_init ();
@@ -253,7 +253,7 @@ main (int argc, char **argv)
int i;
for (i = 1; i < argc; i++) {
if (!run_test (argv[i]))
- failed_tests++;
+ failed_tests = g_list_prepend (failed_tests, g_strdup (argv[i]));;
}
} else {...
2007 Jul 02
0
Branch 'as' - 24 commits - configure.ac doc/Makefile.am doc/swfdec-sections.txt libswfdec/Makefile.am libswfdec/swfdec_amf.c libswfdec/swfdec_as_array.c libswfdec/swfdec_as_context.c libswfdec/swfdec_as_context.h libswfdec/swfdec_as_frame.c
...if (test->mutex)
+ g_mutex_lock (test->mutex);
test->output = g_string_free (output, FALSE);
+ if (test->mutex) {
+ g_cond_signal (test->cond);
+ g_mutex_unlock (test->mutex);
+ }
}
int
main (int argc, char **argv)
{
GList *walk, *tests = NULL;
- GString *failed_tests = g_string_new ("");
+ GString *failed_tests;
guint failures = 0;
+ GThreadPool *pool;
+ GError *error = NULL;
+ g_thread_init (NULL);
swfdec_init ();
+ failed_tests = g_string_new ("");
/* collect all tests into the tests list */
if (argc > 1) {
@@ -219...
2008 Jan 08
0
4 commits - test/.gitignore test/image test/Makefile.am test/swfdec_test_function.c test/swfdec_test_image.c test/swfdec_test_image.h test/swfdec_test_initialize.as test/swfdec_test_initialize.h test/swfdec_test_test.c test/trace
...{
- cairo_surface_destroy (surface);
- goto error;
- }
- cairo_surface_destroy (surface);
- g_object_unref (player);
- g_print (" OK\n");
- return TRUE;
-
-error:
- if (player)
- g_object_unref (player);
- return FALSE;
-}
-
-int
-main (int argc, char **argv)
-{
- GList *failed_tests = NULL;
-
- swfdec_init ();
-
- if (argc > 1) {
- int i;
- for (i = 1; i < argc; i++) {
- if (!run_test (argv[i]))
- failed_tests = g_list_prepend (failed_tests, g_strdup (argv[i]));
- }
- } else {
- GDir *dir;
- char *name;
- const char *path, *file;
- /* automa...
2007 Aug 17
0
Branch 'vivi' - 13 commits - libswfdec/swfdec_as_context.c libswfdec/swfdec_as_debugger.h libswfdec/swfdec_as_interpret.c libswfdec/swfdec_as_object.c libswfdec/swfdec_as_script_function.c test/trace vivified/core vivified/ui
...b/test/trace/trace.c
@@ -248,7 +248,7 @@ main (int argc, char **argv)
Test *test = walk->data;
run_test (test, NULL);
- g_print (test->output);
+ g_print ("%s", test->output);
if (!test->success) {
failures++;
g_string_append_printf (failed_tests,
@@ -276,7 +276,7 @@ main (int argc, char **argv)
Test *test = walk->data;
while (test->output == NULL)
g_cond_wait (cond, mutex);
- g_print (test->output);
+ g_print ("%s", test->output);
if (!test->success) {
failures++;
g_string_app...
2008 Jan 08
0
9 commits - configure.ac test/custom test/Makefile.am test/swfdec_test_initialize.as test/swfdec_test_initialize.h test/swfdec_test_test.c test/trace
...if (test->mutex)
- g_mutex_lock (test->mutex);
- test->output = g_string_free (output, FALSE);
- if (test->mutex) {
- g_cond_signal (test->cond);
- g_mutex_unlock (test->mutex);
- }
-}
-
-int
-main (int argc, char **argv)
-{
- GList *walk, *tests = NULL;
- GString *failed_tests;
- guint failures = 0;
- GThreadPool *pool;
- GError *error = NULL;
-
- g_log_set_always_fatal (G_LOG_LEVEL_ERROR | G_LOG_LEVEL_CRITICAL | G_LOG_LEVEL_WARNING);
- g_thread_init (NULL);
- /* by default get rid of the loads of warnings the tests produce */
- g_setenv ("SWFDEC_DEBUG"...
2007 Aug 18
0
8 commits - libswfdec/Makefile.am libswfdec/swfdec_as_strings.c libswfdec/swfdec_load_object_as.c libswfdec/swfdec_load_object_as.h libswfdec/swfdec_load_object.c libswfdec/swfdec_load_object.h libswfdec/swfdec_player.c libswfdec/swfdec_player_internal.h
...b/test/trace/trace.c
@@ -248,7 +248,7 @@ main (int argc, char **argv)
Test *test = walk->data;
run_test (test, NULL);
- g_print (test->output);
+ g_print ("%s", test->output);
if (!test->success) {
failures++;
g_string_append_printf (failed_tests,
diff-tree c2e81f0fcd0fda22a358e9884a539e55d03510e5 (from 1e15b5e20599d5193ba0745cf1e11fac076e66f6)
Author: Pekka Lampila <pekka.lampila at iki.fi>
Date: Sat Aug 18 14:21:22 2007 +0300
Allow calling XML.load with 0 params to return FALSE
diff --git a/libswfdec/swfdec_xml_as.c b/libs...
2007 Aug 20
0
Branch 'vivi' - 60 commits - libswfdec-gtk/swfdec_gtk_loader.c libswfdec/Makefile.am libswfdec/swfdec_as_array.c libswfdec/swfdec_as_context.c libswfdec/swfdec_as_frame.c libswfdec/swfdec_as_frame_internal.h libswfdec/swfdec_as_interpret.c
...b/test/trace/trace.c
@@ -248,7 +248,7 @@ main (int argc, char **argv)
Test *test = walk->data;
run_test (test, NULL);
- g_print (test->output);
+ g_print ("%s", test->output);
if (!test->success) {
failures++;
g_string_append_printf (failed_tests,
diff-tree c2e81f0fcd0fda22a358e9884a539e55d03510e5 (from 1e15b5e20599d5193ba0745cf1e11fac076e66f6)
Author: Pekka Lampila <pekka.lampila at iki.fi>
Date: Sat Aug 18 14:21:22 2007 +0300
Allow calling XML.load with 0 params to return FALSE
diff --git a/libswfdec/swfdec_xml_as.c b/libs...
2007 Aug 22
0
163 commits - autogen.sh configure.ac doc/swfdec-sections.txt libswfdec-gtk/swfdec_gtk_player.c libswfdec-gtk/swfdec_gtk_player.h libswfdec-gtk/swfdec_gtk_widget.c libswfdec-gtk/swfdec_source.c libswfdec/Makefile.am libswfdec/swfdec_as_array.c
...b/test/trace/trace.c
@@ -248,7 +248,7 @@ main (int argc, char **argv)
Test *test = walk->data;
run_test (test, NULL);
- g_print (test->output);
+ g_print ("%s", test->output);
if (!test->success) {
failures++;
g_string_append_printf (failed_tests,
@@ -276,7 +276,7 @@ main (int argc, char **argv)
Test *test = walk->data;
while (test->output == NULL)
g_cond_wait (cond, mutex);
- g_print (test->output);
+ g_print ("%s", test->output);
if (!test->success) {
failures++;
g_string_app...