[glib: 1/2] Removing unused tests/timeloop.c and tests/timeloop-basic.c




commit fd8424a9743d641c02894f195e8b06607e4c2746
Author: Emmanuel Fleury <emmanuel fleury gmail com>
Date:   Mon Apr 25 21:16:50 2022 +0200

    Removing unused tests/timeloop.c and tests/timeloop-basic.c
    
    Remove unused tests/timelooop.c and tests/timeloop-basic.c because
    these programs are manual performance tests which are no more relevant
    for glib. They were used for the writing of GMainLoop but since then
    they haven't not much been used in 22 years, it is safe to remove them.
    
    Helps issue #1434

 tests/meson.build      |   6 +-
 tests/timeloop-basic.c | 236 -------------------------------------------------
 tests/timeloop.c       | 221 ---------------------------------------------
 3 files changed, 1 insertion(+), 462 deletions(-)
---
diff --git a/tests/meson.build b/tests/meson.build
index 3290ffa6f8..a7b785351a 100644
--- a/tests/meson.build
+++ b/tests/meson.build
@@ -45,11 +45,7 @@ test_extra_programs = {
   'assert-msg-test' : {},
 }
 
-if host_machine.system() != 'windows'
-  tests += {
-    'timeloop' : {},
-  }
-else
+if host_machine.system() == 'windows'
   test_extra_programs += {
     'spawn-test-win32-gui' : {'gui_app' : true}
   }


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