Comments (7)
@jgarte I've changed my mind: Jo 1.9 is released as 1.8 didn't pass tests.
Thank you for reporting this!
from jo.
from jo.
configure: WARNING: unrecognized options: --enable-fast-install
Jo.............: version 1.8
Prefix.........: /gnu/store/vxsri8siqgdz4w01liddsy7dgzh5ls05-jo-1.8
C compiler.....: gcc -g -O2
Pandoc.........: NONE
Bash completion: ${prefix}/etc/bash_completion.d/jo.bash
Now type 'make [<target>]'
where the optional <target> is:
all - build all binaries
check - run the tests
install - install everything
phase `configure' succeeded after 3.2 seconds
starting phase `patch-generated-file-shebangs'
phase `patch-generated-file-shebangs' succeeded after 0.0 seconds
starting phase `build'
CC json.o
CC base64.o
CC jo.o
CCLD jo
phase `build' succeeded after 0.6 seconds
starting phase `check'
make check-TESTS
make[1]: Entering directory '/tmp/guix-build-jo-1.8.drv-0/jo-1.8'
make[2]: Entering directory '/tmp/guix-build-jo-1.8.drv-0/jo-1.8'
PASS: tests/jo.test 1 - basic logo
PASS: tests/jo.test 2 - basic logo (stdin)
PASS: tests/jo.test 3 - basic two values
PASS: tests/jo.test 4 - nested with executable
PASS: tests/jo.test 5 - nested native
PASS: tests/jo.test 6 - strings and numbers; pretty (Vanessa)
PASS: tests/jo.test 7 - version check
PASS: tests/jo.test 8 - data from file: text
PASS: tests/jo.test 9 - data from file: base64-encoded
PASS: tests/jo.test 10 - array: simple
PASS: tests/jo.test 11 - array: true,false,null (native and string)
PASS: tests/jo.test 12 - object: geo
PASS: tests/jo.test 13 - object: face card jo logo
PASS: tests/jo.test 14 - values: with equals signs in them
PASS: tests/jo.test 15 - object from file
PASS: tests/jo.test 16 - quotes in quotes
PASS: tests/jo.test 17 - type coercion
PASS: tests/jo.test 18 - nested objects with user-specified delimiter
PASS: tests/jo.test 19 - read from pipe
FAIL: tests/jo.test 20 - read json array elements
PASS: tests/jo.test 21 - read nested json elements
PASS: tests/jo.test 22 - avoid reading from file if escaped \@
PASS: tests/jo.test 23 - disable creation of null-valued keys
PASS: tests/jo.test 24 - jo as filter
PASS: tests/jo.test 25 - overwrite values of existing object keys
PASS: tests/jo.test 26 - read from stdin
PASS: tests/jo.test 27 - user-friendly errors
============================================================================
Testsuite summary for jo 1.8
============================================================================
# TOTAL: 27
# PASS: 26
# SKIP: 0
# XFAIL: 0
# FAIL: 1
# XPASS: 0
# ERROR: 0
============================================================================
See ./test-suite.log
Please report to [email protected]
============================================================================
make[2]: *** [Makefile:807: test-suite.log] Error 1
make[2]: Leaving directory '/tmp/guix-build-jo-1.8.drv-0/jo-1.8'
make[1]: *** [Makefile:915: check-TESTS] Error 2
make[1]: Leaving directory '/tmp/guix-build-jo-1.8.drv-0/jo-1.8'
make: *** [Makefile:1123: check-am] Error 2
Test suite failed, dumping logs.
--- ./test-suite.log --------------------------------------------------------
==============================
jo 1.8: ./test-suite.log
==============================
# TOTAL: 27
# PASS: 26
# SKIP: 0
# XFAIL: 0
# FAIL: 1
# XPASS: 0
# ERROR: 0
.. contents:: :depth: 2
FAIL: tests/jo
==============
1..27
ok 1 - basic logo
PASS: tests/jo.test 1 - basic logo
ok 2 - basic logo (stdin)
PASS: tests/jo.test 2 - basic logo (stdin)
ok 3 - basic two values
PASS: tests/jo.test 3 - basic two values
ok 4 - nested with executable
PASS: tests/jo.test 4 - nested with executable
ok 5 - nested native
PASS: tests/jo.test 5 - nested native
ok 6 - strings and numbers; pretty (Vanessa)
...
from jo.
from jo.
I was building the Guix package for it on GNU/Linux (void linux):
(define-public jo
(package
(name "jo")
(version "1.8")
(source
(origin
(method url-fetch)
(uri (string-append "https://github.com/jpmens/jo/releases/download/"
version "/jo-" version ".tar.gz"))
(sha256
(base32 "11n6asy5h52awyr5cp39r2x124akpqk7m02x9idrjf21ap3lpdlh"))))
(build-system gnu-build-system)
(home-page "https://github.com/jpmens/jo")
(synopsis "Output JSON from a shell")
(description "@code{jo} is a command-line utility to create JSON objects or
arrays. It creates a JSON string on stdout from words provided as
command-line arguments or read from stdin.")
(license (list license:gpl2+
license:expat)))) ; json.c, json.h
from jo.
Sorry about that: missing data files lead to that test 20 failing.
I’ll wait for a confirmation in #194 and will then cut a 1.9. release.
from jo.
@jpmens, is this the change required when adding new files?
diff --git a/Makefile.am b/Makefile.am
index 2387f43..2ac7e84 100644
--- a/Makefile.am
+++ b/Makefile.am
@@ -67,7 +67,7 @@ EXTRA_DIST = $(jo_EXTRA) \
tests/jo.17.sh tests/jo.17.exp tests/jo-creator.txt \
tests/jo.18.sh tests/jo.18.exp \
tests/jo.19.sh tests/jo.19.exp \
- tests/jo.20.sh tests/jo.20.exp \
+ tests/jo.20.sh tests/jo.20.exp tests/jo-large1.json tests/jo-large2.json \
tests/jo.21.sh tests/jo.21.exp \
tests/jo.22.sh tests/jo.22.exp \
tests/jo.23.sh tests/jo.23.exp \
from jo.
Related Issues (20)
- RFE: Do not split quoted keys with -d HOT 2
- Gaps in variable HOT 2
- Delete nested element HOT 5
- Assertion `utf8_validate(str)' failed - again? HOT 9
- Generating JSON and including JSON output from another program appears to result in double encoded JSON? HOT 3
- Suberflous `\` if try to escape `}` in value HOT 8
- feature allow string vals with spaces deep nested HOT 1
- Question: how to produce multiline strings? HOT 2
- UTF-8 crash - `Assertion failed: (utf8_validate(str))` HOT 5
- Passing an empty file with `@` syntax now throws an error on 1.7 HOT 5
- 1.9 build for Windows missing HOT 1
- jo will drop the trailing newline at the end of file HOT 8
- Dynamic array of nested oneofs HOT 1
- Disable type coercion HOT 6
- possible bug: use of `-a` on outer command in nested jo fails to render inside object element when space exists in internal object property value HOT 2
- Modifications to GPLv2 license make jo difficult to adopt in enterprise environment HOT 2
- Please support empty array HOT 1
- pass multiple variables to jo? HOT 3
- jo extends fractional part of some floats HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from jo.