]> git.ipfire.org Git - thirdparty/samba.git/commitdiff
ldb: Heed return code from Python testsuite
authorJoseph Sutton <josephsutton@catalyst.net.nz>
Tue, 29 Aug 2023 08:50:32 +0000 (20:50 +1200)
committerAndrew Bartlett <abartlet@samba.org>
Wed, 30 Aug 2023 02:15:29 +0000 (02:15 +0000)
When we added a second run of the Python testsuite, the return code from
the first run began to go ignored.

Signed-off-by: Joseph Sutton <josephsutton@catalyst.net.nz>
Reviewed-by: Andrew Bartlett <abartlet@samba.org>
lib/ldb/wscript

index 0d9320277d9e46a10138703c32b3f51dd6609ff2..bb49e95382cb292134c66f56b53e8437c230840e 100644 (file)
@@ -629,7 +629,7 @@ def test(ctx):
          'tests/python/index.py',
          'tests/python/repack.py'],
         extra_env={'SELFTEST_PREFIX': test_prefix,
-                   'LC_ALL': 'tr_TR.UTF-8'})
+                   'LC_ALL': 'tr_TR.UTF-8'}) or pyret
     print("Python testsuite returned %d" % pyret)
 
     cmocka_ret = 0