test.cross.mbuffer: init
This adds a test case for the tricky issue encountered in https://github.com/NixOS/nixpkgs/issues/213453
This commit is contained in:
parent
6a05eeb515
commit
18bbf33b38
1 changed files with 10 additions and 0 deletions
|
@ -110,4 +110,14 @@ let
|
|||
in {
|
||||
gcc = (lib.mapAttrs (_: mapMultiPlatformTest (system: system // {useLLVM = false;})) tests);
|
||||
llvm = (lib.mapAttrs (_: mapMultiPlatformTest (system: system // {useLLVM = true;})) tests);
|
||||
|
||||
# see https://github.com/NixOS/nixpkgs/issues/213453
|
||||
# this is a good test of a lot of tricky glibc/libgcc corner cases
|
||||
mbuffer = let
|
||||
mbuffer = pkgs.pkgsCross.aarch64-multiplatform.mbuffer;
|
||||
emulator = with lib.systems; (elaborate examples.aarch64-multiplatform).emulator pkgs;
|
||||
in
|
||||
pkgs.runCommand "test-mbuffer" {} ''
|
||||
echo hello | ${emulator} ${mbuffer}/bin/mbuffer
|
||||
'';
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue