ptomato / jasmine-gjs

Jasmine for GJS
MIT License
20 stars 8 forks source link

Re-enable `make distcheck` on Travis CI #1

Closed ptomato closed 9 years ago

ptomato commented 9 years ago

Currently make check succeeds but make distcheck fails on Travis CI, with the log below. I've disabled make distcheck for now, because this should be investigated on a local system with Ubuntu 12.04.

It looks like the test fixture files are not being found. Perhaps there is some weirdness with Automake defining $(srcdir) differently than it does on my system with Automake 1.14.


FAIL: test/jasmineBootSpec.js (exit: 1)
=======================================
Started
..FFF......
Failures:
1) Jasmine boot adds a real spec file
  Message:
    Expected [] to match 1 file, but it contained 0
  Stack:
    @/home/travis/build/ptomato/jasmine-gjs/jasmine-gjs-2.1.3/test/jasmineBootSpec.js:102
    Jasmine<.execute@/home/travis/build/ptomato/jasmine-gjs/jasmine-gjs-2.1.3/src/jasmineBoot.js:127
    wrapper@resource:///org/gnome/gjs/modules/lang.js:169
    run/<@/home/travis/build/ptomato/jasmine-gjs/jasmine-gjs-2.1.3/src/command.js:37
    run@resource:///org/gnome/gjs/modules/mainloop.js:33
    run@/home/travis/build/ptomato/jasmine-gjs/jasmine-gjs-2.1.3/src/command.js:48
    @./bin/jasmine:17

2) Jasmine boot adds more than one spec file
  Message:
    Expected [] to match 2 files, but it contained 0
  Stack:
    @/home/travis/build/ptomato/jasmine-gjs/jasmine-gjs-2.1.3/test/jasmineBootSpec.js:114
    Jasmine<.execute@/home/travis/build/ptomato/jasmine-gjs/jasmine-gjs-2.1.3/src/jasmineBoot.js:127
    wrapper@resource:///org/gnome/gjs/modules/lang.js:169
    run/<@/home/travis/build/ptomato/jasmine-gjs/jasmine-gjs-2.1.3/src/command.js:37
    run@resource:///org/gnome/gjs/modules/mainloop.js:33
    run@/home/travis/build/ptomato/jasmine-gjs/jasmine-gjs-2.1.3/src/command.js:48
    @./bin/jasmine:17

3) Jasmine boot adds a whole directory of spec files
  Message:
    Expected [] to match 2 files, but it contained 0
  Stack:
    @/home/travis/build/ptomato/jasmine-gjs/jasmine-gjs-2.1.3/test/jasmineBootSpec.js:123
    Jasmine<.execute@/home/travis/build/ptomato/jasmine-gjs/jasmine-gjs-2.1.3/src/jasmineBoot.js:127
    wrapper@resource:///org/gnome/gjs/modules/lang.js:169
    run/<@/home/travis/build/ptomato/jasmine-gjs/jasmine-gjs-2.1.3/src/command.js:37
    run@resource:///org/gnome/gjs/modules/mainloop.js:33
    run@/home/travis/build/ptomato/jasmine-gjs/jasmine-gjs-2.1.3/src/command.js:48
    @./bin/jasmine:17

11 specs, 3 failed
Finished in 0.025 s