Skip to content

macOS Support #3

@ELLIOTTCABLE

Description

@ELLIOTTCABLE

So, this appears to not work at all on OS X (due to BSDs' differences w.r.t. several command-line APIs):

After first installing and adding to my setup(), I got errors like this:

> jxa-async@0.0.1 test /Users/ec/Dropbox/Code/jxa-async
> bats ./test/*.bats

 ✗ Browserify successfully bundles jxa-async
   (from function `setup' in file test/common.bash, line 24,
    from function `bats_test_begin' in file node_modules/bats/libexec/bats-exec-test, line 87,
    in test file test/browserify.bats, line 3)
     `@test "Browserify successfully bundles jxa-async" {' failed
   
   -- ERROR: temp_make --
   mktemp: illegal option -- -
   usage: mktemp [-d] [-q] [-t prefix] [-u] template ...
          mktemp [-d] [-q] [-u] -t prefix 
   --
   
   
   -- ERROR: temp_del --
   rm: No such file or directory
   --

After subsequently cloning bats-file and running its own tests with bats test, I'm seeing a failure on every single test.

(I believe Travis has macOS systems you can add to your build-matrix to ensure this continues to function on Macs!)

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions