# HG changeset patch # User Tassilo Philipp # Date 1647527784 -3600 # Node ID 74a4f682d1efe7e38b0a237f4c283207f015dbaa # Parent 08b0c420ddff6cefc6df7989b9fbd67afa4c903d - improved comment diff -r 08b0c420ddff -r 74a4f682d1ef test/suite/mkcase.py --- 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