ClojureScript

Travis JavaScriptCore unit tests failing

Details

  • Type: Defect Defect
  • Status: Closed Closed
  • Priority: Minor Minor
  • Resolution: Completed
  • Affects Version/s: None
  • Fix Version/s: None
  • Component/s: None
  • Labels:
    None
  • Patch:
    Code and Test
  • Approval:
    Accepted

Description

The JavaScriptCore Travis tests are failing like this:

$ jsc core-advanced-test.js

Testing cljs.primitives-test
Segmentation fault (core dumped)

This appears to be related to code generate for tests added with CLJS-2391, triggering CLJS-910 (because the Travis environment runs an older version of JavaScriptCore).

It can be worked around by slightly modifying the test.

  1. CLJS-2404.patch
    19/Nov/17 8:54 AM
    0.9 kB
    Mike Fikes
  2. CLJS-2404-2.patch
    19/Nov/17 10:23 AM
    1.0 kB
    Mike Fikes

Activity

Hide
Mike Fikes added a comment -

Assigning back to myself. Something failed in Travis with the attached patch.

Show
Mike Fikes added a comment - Assigning back to myself. Something failed in Travis with the attached patch.
Hide
Mike Fikes added a comment -

The attached CLJS-2404-2.patch contains a variant of the workaround that reliably works in the Travis environment.

Show
Mike Fikes added a comment - The attached CLJS-2404-2.patch contains a variant of the workaround that reliably works in the Travis environment.

People

Vote (0)
Watch (0)

Dates

  • Created:
    Updated:
    Resolved: