Coder Social home page Coder Social logo

Comments (4)

lambdageek avatar lambdageek commented on June 26, 2024

@visq I think this is happening because language-c.cabal doesn't include any of the files under test/harness/* as extra-source-files. So if you do cabal get language-c and then ls test/harness the only file that's shipped is run-harness.hs.

(Our .travis.yml doesn't test for that because it only does a cabal install from a source tarball, not a cabal build && cabal test && cabal install)

from language-c.

visq avatar visq commented on June 26, 2024

@bergmark
I see, thanks. We'll ensure the test works from the dist tarball and then I'll upload language-c 0.6.1 or 0.7.0.
@lambdageek
So extra-source-files should do the trick? It would be cool if travis.yml tested the dist tarball.

from language-c.

visq avatar visq commented on June 26, 2024

@lambdageek
Hmm, there is a lot that we would have to bundle for testing (examples, test framework, harness; I'm currently adding dg parse tests to the harness). I think it would be easier to disable the test if we are out of the source tree, and leave .travis.yml as is.

from language-c.

lambdageek avatar lambdageek commented on June 26, 2024

@visq I agree it's probably more expedient to have the harness disabled if running from a tarball - cabal doesn't make it easy to include a lot of extra source files, and while it would be nice to be able to test with a tarball, it would be a pain to maintain.

from language-c.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.