2024-02-29 20:09:43 +00:00
|
|
|
{ callPackage, lib, stdenv }:
|
2023-02-02 18:25:31 +00:00
|
|
|
let
|
2024-02-29 20:09:43 +00:00
|
|
|
examples-shell = callPackage ./examples/shell.nix { };
|
|
|
|
examples-shell-with-emulator = callPackage ./examples/shell-with-emulator.nix { };
|
|
|
|
examples-shell-without-emulator = callPackage ./examples/shell-without-emulator.nix { };
|
2023-03-04 12:14:45 +00:00
|
|
|
all-tests = examples-shell.passthru.tests //
|
2024-02-29 20:09:43 +00:00
|
|
|
(examples-shell-with-emulator.passthru.tests //
|
|
|
|
examples-shell-without-emulator.passthru.tests);
|
2023-02-02 18:25:31 +00:00
|
|
|
in
|
|
|
|
stdenv.mkDerivation {
|
|
|
|
name = "androidenv-test-suite";
|
2023-03-04 12:14:45 +00:00
|
|
|
buidInputs = lib.mapAttrsToList (name: value: value) all-tests;
|
2023-02-02 18:25:31 +00:00
|
|
|
|
2023-03-04 12:14:45 +00:00
|
|
|
buildCommand = ''
|
|
|
|
touch $out
|
|
|
|
'';
|
2023-02-02 18:25:31 +00:00
|
|
|
|
2023-03-04 12:14:45 +00:00
|
|
|
passthru.tests = all-tests;
|
2023-02-02 18:25:31 +00:00
|
|
|
|
|
|
|
meta.timeout = 60;
|
|
|
|
}
|