Unverified Commit 02bb1e0d authored by Franz Pletz's avatar Franz Pletz Committed by GitHub
Browse files

Merge pull request #321975 from ehmry/solo5

solo5: remove unsupported qemu flag in test
parents aa239436 4858ce6b
Loading
Loading
Loading
Loading
+4 −2
Original line number Diff line number Diff line
{ lib, stdenv, fetchurl, dosfstools, libseccomp, makeWrapper, mtools, parted
, pkg-config, qemu, syslinux, util-linux }:
, pkg-config, qemu_test, syslinux, util-linux }:

let
  version = "0.8.1";
@@ -55,10 +55,12 @@ in stdenv.mkDerivation {
  '';

  doCheck = stdenv.hostPlatform.isLinux;
  nativeCheckInputs = [ util-linux qemu ];
  nativeCheckInputs = [ util-linux qemu_test ];
  checkPhase = ''
    runHook preCheck
    patchShebangs tests
    substituteInPlace scripts/virtio-run/solo5-virtio-run.sh \
      --replace " -no-acpi" ""
    ./tests/bats-core/bats ./tests/tests.bats
    runHook postCheck
  '';