Changeset: dcd5eb2456e8 for MonetDB
URL: https://dev.monetdb.org/hg/MonetDB/rev/dcd5eb2456e8
Modified Files:
        testing/Mtest.py.in
Branch: Dec2025
Log Message:

Improve message.


diffs (34 lines):

diff --git a/testing/Mtest.py.in b/testing/Mtest.py.in
--- a/testing/Mtest.py.in
+++ b/testing/Mtest.py.in
@@ -1924,22 +1924,26 @@ def RunTest(env, TST, COND, oktests, len
                     break
             elif cond.startswith('THREADS<='):
                 if (int(env['TST_THREADS']) <= int(cond[9:])) == negate:
-                    reason = 'as number of threads is wrong'
+                    reason = 'as number of threads is too' \
+                        f' {"small" if negate else "large"}'
                     elem = SkipTest(env, TST, EXT, reason, length, TSTDIR, 
TSTTRGDIR, TSTSRCDIR)
                     break
             elif cond.startswith('THREADS>='):
                 if (int(env['TST_THREADS']) >= int(cond[9:])) == negate:
-                    reason = 'as number of threads is wrong'
+                    reason = 'as number of threads is too' \
+                        f' {"large" if negate else "small"}'
                     elem = SkipTest(env, TST, EXT, reason, length, TSTDIR, 
TSTTRGDIR, TSTSRCDIR)
                     break
             elif cond.startswith('VMSIZE>='):
                 if (int(env['TST_VMSIZE']) >= int(cond[8:])) == negate:
-                    reason = 'as virtual memory size is wrong'
+                    reason = 'as virtual memory size is too' \
+                        f' {"large" if negate else "small"}'
                     elem = SkipTest(env, TST, EXT, reason, length, TSTDIR, 
TSTTRGDIR, TSTSRCDIR)
                     break
             elif cond.startswith('VMSIZE<='):
                 if (int(env['TST_VMSIZE']) <= int(cond[8:])) == negate:
-                    reason = 'as virtual memory size is wrong'
+                    reason = 'as virtual memory size is too' \
+                        f' {"small" if negate else "large"}'
                     elem = SkipTest(env, TST, EXT, reason, length, TSTDIR, 
TSTTRGDIR, TSTSRCDIR)
                     break
             elif cond.startswith('USER='):
_______________________________________________
checkin-list mailing list -- [email protected]
To unsubscribe send an email to [email protected]

Reply via email to