modules/android-integration: add am command

This commit is contained in:
Alexander Sosedkin 2024-06-01 17:51:25 +02:00
parent 8b48f7a229
commit e7d2d97007
10 changed files with 157 additions and 0 deletions

View file

@ -0,0 +1,16 @@
# Copyright (c) 2019-2024, see AUTHORS. Licensed under MIT License, see LICENSE.
load lib
@test 'android-integration options can be used' {
run ! command -v am
cp \
"$ON_DEVICE_TESTS_DIR/config-android-integration.nix" \
~/.config/nixpkgs/nix-on-droid.nix
nix-on-droid switch
command -v am
switch_to_default_config
}