changeset 484:74a4f682d1ef

- improved comment
author Tassilo Philipp
date Thu, 17 Mar 2022 15:36:24 +0100
parents 08b0c420ddff
children 0c68b3f91367
files test/suite/mkcase.py
diffstat 1 files changed, 5 insertions(+), 4 deletions(-) [+]
line wrap: on
line diff
--- a/test/suite/mkcase.py	Thu Mar 17 10:25:14 2022 +0100
+++ b/test/suite/mkcase.py	Thu Mar 17 15:36:24 2022 +0100
@@ -24,9 +24,10 @@
 
 nargs    = 8
 
-#TODO: enable all types. temporary disabled for debuggin sparc64.
-types    = ["DCdouble","DClonglong"]#,"DCint","DCpointer","DCbool"]#,"DCfloat"]
-typeSigs = ["d"       ,"l"         ]#,"i"    ,"p"        ,"B"     ]#,"f"      ]
+# NOTE: not really feasible to enable all types, results in a huge number of
+#       cases; use other *_suite tests when needing to test many different types
+types    = ["DCdouble","DClonglong","DCint","DCpointer"] #...
+typeSigs = ["d"       ,"l"         ,"i"    ,"p"        ] #...
 
 # generator
 
@@ -54,7 +55,7 @@
   y    = x
   while y > 0:
     s     = (y-1) % ntypes
-    y     = (y-1) / ntypes
+    y     = int((y-1) / ntypes)
     args += [ types   [s] ]
     sig  += [ typeSigs[s] ]
     pos  += 1