mirror of
https://github.com/nix-community/nix-on-droid.git
synced 2025-12-12 20:11:09 +01:00
modules/android-integration: add am command
This commit is contained in:
parent
8b48f7a229
commit
e7d2d97007
10 changed files with 157 additions and 0 deletions
16
tests/on-device/config-android-integration.bats
Normal file
16
tests/on-device/config-android-integration.bats
Normal 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
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue