[gtk+] reftests: Add a message to the test output



commit 2423eb11e3024b03ecce6090a6a6698170629d88
Author: Matthias Clasen <mclasen redhat com>
Date:   Sun Jan 31 14:06:34 2016 -0500

    reftests: Add a message to the test output
    
    Emit a message that ends up in the test output if we are modifying
    the test on the fly.

 testsuite/reftests/animation-direction.c |    2 ++
 1 files changed, 2 insertions(+), 0 deletions(-)
---
diff --git a/testsuite/reftests/animation-direction.c b/testsuite/reftests/animation-direction.c
index 7ee9902..006717f 100644
--- a/testsuite/reftests/animation-direction.c
+++ b/testsuite/reftests/animation-direction.c
@@ -40,6 +40,8 @@ strip_attributes_if_no_animation (GtkWidget *widget)
   if (enabled)
     return;
 
+  g_message ("Unsetting text attributes because animation is disabled.");
+
   reftest_inhibit_snapshot ();
   gtk_label_set_attributes (GTK_LABEL (widget), NULL);
   g_timeout_add (500, unblock, NULL);


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]