-
Notifications
You must be signed in to change notification settings - Fork 73
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
failing test testsuite-json.test 256 UGM3 with jq 1.7 #99
Comments
the error is
so somehow floats with trailing zeros are changed to integers. I only see this error if |
The issue seems to be related to the new jq release (https://github.com/jqlang/jq/releases/tag/jq-1.7). the test fails for libfyaml 0.8 and 0.9 |
Yes, I would guess this would be a problem. I need to think about how to control jq output. |
The expected JSON file contains integers, the yaml file doesn't:
This looks like a problem with the test itself. Libfyaml behaves correctly by not changing the type -- at least that's what I'd expect. Maybe jq converted floats to ints during canonicalization, which has been changed in newer versions? That would mask that the difference in outputs was always present. I'm running into the same failure with jq 1.6, btw. E: It's probably this PR 1752. From the changes to the manual:
|
The real problem is that libfyaml does not do (yet on master) object conversions due to only supporting the built-in schema (i.e. all scalars are strings). Arguably the test will have to be skipped while this is the case, and I will revisit when schema support lands in master. |
when building the AUR package, I encounter a failing test (testsuite-json.test 256 UGM3). Log file is attached.
There are also a few compiler warning:
test-suite.log
The text was updated successfully, but these errors were encountered: