[gnome-maps/wip/mlundblad/color-tests: 1/2] Enable generating the test run script multiple times



commit 12e9577e7bd61b2bc84c2a2980a261b41af59542
Author: Marcus Lundblad <ml update uu se>
Date:   Tue May 19 23:29:22 2020 +0200

    Enable generating the test run script multiple times
    
    The script config for generating the dynamic run
    script for the tests where not capable of being
    re-generated for multiple test cases.

 tests/meson.build | 11 +++++------
 1 file changed, 5 insertions(+), 6 deletions(-)
---
diff --git a/tests/meson.build b/tests/meson.build
index 0c0c5de8..947d3112 100644
--- a/tests/meson.build
+++ b/tests/meson.build
@@ -1,12 +1,11 @@
-script_conf = configuration_data()
-script_conf.set('GJS', find_program('gjs').path())
-script_conf.set('PACKAGE_VERSION', version)
-script_conf.set('libdir', libdir)
-script_conf.set('prefix', prefix)
-
 tests = ['utilsTest']
 
 foreach test : tests
+  script_conf = configuration_data()
+  script_conf.set('GJS', find_program('gjs').path())
+  script_conf.set('PACKAGE_VERSION', version)
+  script_conf.set('libdir', libdir)
+  script_conf.set('prefix', prefix)
   script_conf.set('name', test)
   configure_file(
     input: 'test.in',


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