Giter VIP home page Giter VIP logo

Comments (2)

grondo avatar grondo commented on May 28, 2024

This issue appears to be because newer automake on ubuntu 14.04 has switched to parallel-tests by default:

https://www.gnu.org/software/automake/manual/html_node/Parallel-Test-Harness.html

The parallel test driver in automake requires a different set up (AM_TESTS_ENVIRONMENT instead of TESTS_ENVIRONMENT, use of TEST_EXTENSIONS and XX_LOG_COMPILER, etc) than the simpler serial tests driver, so this was breaking the lua tests (tests in TESTS are executed directly instead of under lunit or something)

We can fix this in two ways

  1. Update the definitions in src/bindings/lua/Makefile.am to work with parallel-tests
  2. Add serial-tests to automake options to force the same behavior between older automake and newer automake.

Though the parallel-tests is the preferred method for newer automake, I lean toward option 2 above just so that there is consistent behavior between development environments. The big problem there is that the serial-tests option is not going to be recognized by older automakes, so there will be a warning like

configure.ac:15: option `serial-tests' not recognized

I will have to see if there is a different way around this. I guess for now fixing up the lua tests to run in the parallel-tests environment is our only good solution...

from flux-core.

grondo avatar grondo commented on May 28, 2024

Ugh. Number 1 above doesn't work because the older TESTS_ENVIRONMENT variable seems to still mess up the newer automake's parallel-tests.

So far, there doesn't seem to be a good solution... except maybe creating a wrapper script for the lua tests that can be added to TESTS. configure.ac and Makefile.am's just weren't really meant to support multiple versions simultaneously...

from flux-core.

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.