Giter Site home page Giter Site logo

Comments (6)

Pentarctagon avatar Pentarctagon commented on September 25, 2024

Sounds like #2137?

from wesnoth.

kloczek avatar kloczek commented on September 25, 2024

I'm not using scon but cmake.

from wesnoth.

Pentarctagon avatar Pentarctagon commented on September 25, 2024

I don't think cmake vs scons is relevant here. Also needs more info on where this is being run.

from wesnoth.

kloczek avatar kloczek commented on September 25, 2024

I don't think cmake vs scons is relevant here. Also needs more info on where this is being run.

This information is in first two lines provided output

+ cd wesnoth-1.19.0
+ /usr/bin/ctest --test-dir x86_64-redhat-linux-gnu --output-on-failure --force-new-ctest-process -j48 ' 

x86_64-redhat-linux-gnu it is directory generated by cmake -B x86_64-redhat-linux-gnu <cmake_options>

from wesnoth.

Pentarctagon avatar Pentarctagon commented on September 25, 2024

Right, but what kind of environment is this using that doesn't have an audio device? These exact tests are run each commit for our CI and pass.

from wesnoth.

Pentarctagon avatar Pentarctagon commented on September 25, 2024

I'd suspect it's because you're not using make conftests. The error No such audio device was fixed in the issue I linked before, which was done by setting the dummy audio driver:

wesnoth/src/CMakeLists.txt

Lines 197 to 207 in 9710730

add_custom_target(conftests
COMMAND ${CMAKE_COMMAND} -E env "SDL_AUDIODRIVER=dummy" ${CMAKE_CTEST_COMMAND}
DEPENDS
sdl2
sdl2_image
sdl2_mixer
sdl2_jpg
sdl2_png
sdl2_webp
sdl2_audio
)

from wesnoth.

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.