Skip to content

build/tests: Miscellaneous fixes

Simon McVittie requested to merge smcv/libcapsule:test-misc-fixes into master
  • !27 (merged)

  • tests/capture-libs: Use run_ok instead of system to run rm -fr

    Arch Linux's perl complains that system() is an undefined function. I'm not sure why, because it's a standard library facility (and unlike C system(), it takes a list of arguments rather than using the shell), but in any case it's easy to avoid.

  • Distinguish between enabling the library and enabling shared libraries

    Some tests for capsule-capture-libs will need to compile shared libraries, even if libcapsule itself is not built.

Merge request reports