makamaka / JSON

perl implementation of JSON encoder/decoder
42 stars 40 forks source link

99_binary.t takes forever on a raspberry pi #42

Open AndyColson opened 5 years ago

AndyColson commented 5 years ago

Not sure if it can be cut down, or skipped, or something, but wow, it runs for a long time.

charsbar commented 5 years ago

Well, it probably does, and there are already a few workarounds for you, such as use --notest option (of cpanm), use distropref (of cpan), or install JSON::XS and set PERL_JSON_BACKEND=JSON::XS explicitly when you test.

So, what do you actually want? If there is a good reason to modify the test, I can modify a script to copy tests from JSON::XS ( https://github.com/makamaka/JSON-PP/blob/master/author/bin/sync_xs.pl ) to suit your need (such as add an environmental variable to skip under raspberry pi, etc). Otherwise, I just recommend you to use one of the workarounds.