Commit 4858ce6b authored by Emery Hemingway's avatar Emery Hemingway
Browse files

solo5: remove unsupported qemu flag in test

parent 7bba7b60
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
  '';