refactor: drop internal difftest support

This commit is contained in:
xinyangli 2024-07-23 17:15:35 +08:00
parent f852ee8689
commit 422ff9e006
Signed by: xin
SSH key fingerprint: SHA256:qZ/tzd8lYRtUFSrfBDBMcUqV4GHKxqeqRA3huItgvbk
21 changed files with 192 additions and 433 deletions

View file

@ -1,9 +1,9 @@
{ pkgs,
lib,
stdenv,
am-kernels,
dtc,
mini-gdbstub,
am-kernels ? null,
defconfig ? "alldefconfig",
}:
@ -41,7 +41,7 @@ stdenv.mkDerivation rec {
make
'';
doCheck = (defconfig == "alldefconfig");
doCheck = (am-kernels != null);
checkPhase = if doCheck then ''
export NEMU_IMAGES_PATH=${am-kernels}/share/am-kernels
make test