[libgweather/benzea/revert-accidental-commit] Revert "tests: Skip translation tests if .mo file does not exist"



commit 0b04bcc80c5f69f5972e8bbdf3dbd56a407aa82f
Author: Benjamin Berg <bberg redhat com>
Date:   Fri Apr 24 18:54:57 2020 +0200

    Revert "tests: Skip translation tests if .mo file does not exist"
    
    This reverts commit 233d5608ab4b5226c956c3355d4bee50a5a454f5.
    
    It was not meant to be pushed to master.
    
    Closes: #42

 libgweather/test_libgweather.c | 6 ------
 1 file changed, 6 deletions(-)
---
diff --git a/libgweather/test_libgweather.c b/libgweather/test_libgweather.c
index d08700d..f152a4f 100644
--- a/libgweather/test_libgweather.c
+++ b/libgweather/test_libgweather.c
@@ -667,12 +667,6 @@ test_location_names (void)
     gweather_location_unref (brussels);
 
     setlocale (LC_ALL, "fr_FR.UTF-8");
-
-    if (!g_file_test (GNOMELOCALEDIR "/fr/LC_MESSAGES/libgweather-locations.mo", G_FILE_TEST_EXISTS)) {
-        g_test_skip ("Translations need to be installed for full testing");
-        return;
-    }
-
     _gweather_location_reset_world ();
 
     world = gweather_location_get_world ();


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