about summary refs log tree commit diff
path: root/nixpkgs/pkgs/development/mobile/androidenv/test-suite.nix
blob: b5aeca43246175d76827d22657833f42327e0afe (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
{callPackage, lib, stdenv}:
let
  examples-shell = callPackage ./examples/shell.nix {};
  examples-shell-with-emulator = callPackage ./examples/shell-with-emulator.nix {};
  all-tests = examples-shell.passthru.tests //
    examples-shell-with-emulator.passthru.tests;
in
stdenv.mkDerivation {
  name = "androidenv-test-suite";
  buidInputs = lib.mapAttrsToList (name: value: value) all-tests;

  buildCommand = ''
    touch $out
  '';

  passthru.tests = all-tests;

  meta.timeout = 60;
}