Merge pull request #85781 from blitz/spike-test
Add spike integration test to nixosTests
This commit is contained in:
@@ -1,4 +1,4 @@
|
||||
{ stdenv, fetchgit, dtc }:
|
||||
{ stdenv, fetchgit, dtc, nixosTests }:
|
||||
|
||||
stdenv.mkDerivation rec {
|
||||
pname = "spike";
|
||||
@@ -20,6 +20,10 @@ stdenv.mkDerivation rec {
|
||||
|
||||
doCheck = true;
|
||||
|
||||
passthru.tests = {
|
||||
can-run-hello-world = nixosTests.spike;
|
||||
};
|
||||
|
||||
meta = with stdenv.lib; {
|
||||
description = "A RISC-V ISA Simulator";
|
||||
homepage = "https://github.com/riscv/riscv-isa-sim";
|
||||
|
||||
Reference in New Issue
Block a user