[tracker-miners: 1/2] tests: Fix passing environment to test()




commit 9139c725321a1883871c20538795c3e53f324a80
Author: Matt Turner <mattst88 gmail com>
Date:   Sun Apr 11 16:02:26 2021 -0400

    tests: Fix passing environment to test()
    
    According to the Meson docs, the keyword argument is 'env' (See
    https://mesonbuild.com/Reference-manual.html#test)
    
    Fixes: 79db7cece ("tests: Set testing stopwords directory")

 tests/libtracker-extract/meson.build | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)
---
diff --git a/tests/libtracker-extract/meson.build b/tests/libtracker-extract/meson.build
index e86e04a63..a7681bc8c 100644
--- a/tests/libtracker-extract/meson.build
+++ b/tests/libtracker-extract/meson.build
@@ -30,7 +30,7 @@ foreach base_name: libtracker_extract_tests
       c_args: test_c_args)
 
     test(base_name, binary,
-      environtment: extract_test_environment,
+      env: extract_test_environment,
       protocol: test_protocol,
       suite: 'extract')
 endforeach
@@ -42,7 +42,7 @@ if libiptcdata.found() and libjpeg.found()
     c_args: test_c_args,
   )
   test('extract-iptc', iptc_test,
-    environtment: extract_test_environment,
+    env: extract_test_environment,
     protocol: test_protocol,
     suite: 'extract')
 endif


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