feat: add support for hll
Signed-off-by: Pengda Yang <daz-3ux@proton.me>
This commit is contained in:
parent
45fa296263
commit
45975c0298
43
cts.json
43
cts.json
|
@ -3951,5 +3951,48 @@
|
|||
1
|
||||
],
|
||||
"since": "2.2.0"
|
||||
},
|
||||
|
||||
{
|
||||
"name": "pfadd command",
|
||||
"command": [
|
||||
"pfadd hll a b c d e",
|
||||
"pfcount hll"
|
||||
],
|
||||
"result": [
|
||||
1,
|
||||
5
|
||||
],
|
||||
"since": "2.8.9"
|
||||
},
|
||||
|
||||
{
|
||||
"name": "pfcount command",
|
||||
"command": [
|
||||
"pfadd hll a b c d e",
|
||||
"pfcount hll"
|
||||
],
|
||||
"result": [
|
||||
1,
|
||||
5
|
||||
],
|
||||
"since": "2.8.9"
|
||||
},
|
||||
|
||||
{
|
||||
"name": "pfmerge command",
|
||||
"command": [
|
||||
"pfadd hll1 0 1",
|
||||
"pfadd hll2 2 3",
|
||||
"pfmerge hll0 hll1 hll2",
|
||||
"pfcount hll0"
|
||||
],
|
||||
"result": [
|
||||
1,
|
||||
1,
|
||||
"OK",
|
||||
4
|
||||
],
|
||||
"since": "2.8.9"
|
||||
}
|
||||
]
|
||||
|
|
|
@ -49,7 +49,7 @@ def report_result():
|
|||
f"rate: {repr(passed / total * 100)}%")
|
||||
if args.show_failed and len(failed) != 0:
|
||||
print(f"This is failed tests for {args.specific_version}:")
|
||||
print(failed)
|
||||
print('\n'.join(str(fail) for fail in failed))
|
||||
exit(-1)
|
||||
else:
|
||||
for v, t in sorted(g_results.items()):
|
||||
|
@ -57,7 +57,7 @@ def report_result():
|
|||
f"rate: {repr(t.passed / t.total * 100)}%")
|
||||
if args.show_failed and len(t.failed) != 0:
|
||||
print(f"This is failed tests for {v}:")
|
||||
print(t.failed)
|
||||
print('\n'.join(str(fail) for fail in t.failed))
|
||||
exit(-1)
|
||||
|
||||
|
||||
|
|
Loading…
Reference in New Issue