mirror of git://sourceware.org/git/glibc.git
benchtests: make compare_strings.py accept string as attribute value
Commit ac759b1fbf
added attribute
"overlap" to bench-memmove-walk, whose value is a string. This change
makes compare_strings.py fail since benchout_strings.schema.json
requires the values of attributes to be number.
This patch relaxes such constraint.
Reviewed-by: Siddhesh Poyarekar <siddhesh@sourceware.org>
This commit is contained in:
parent
6de743a4e3
commit
edddffc9df
|
@ -28,7 +28,12 @@
|
||||||
"items": {"type": "number"}
|
"items": {"type": "number"}
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
"additionalProperties": {"type": "number"},
|
"additionalProperties": {
|
||||||
|
"oneOf": [
|
||||||
|
{ "type": "number" },
|
||||||
|
{ "type": "string" }
|
||||||
|
]
|
||||||
|
},
|
||||||
"minProperties": 2
|
"minProperties": 2
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue