2023-03-04 12:14:45 +00:00
|
|
|
{callPackage, lib, stdenv}:
|
2023-02-02 18:25:31 +00:00
|
|
|
let
|
|
|
|
examples-shell = callPackage ./examples/shell.nix {};
|
2023-03-04 12:14:45 +00:00
|
|
|
examples-shell-with-emulator = callPackage ./examples/shell-with-emulator.nix {};
|
|
|
|
all-tests = examples-shell.passthru.tests //
|
|
|
|
examples-shell-with-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;
|
|
|
|
}
|