Tobias Happ
a5ed8b213f
treewide: apply statix fixes
2022-10-04 00:43:13 +02:00
Tobias Happ
7d1ed0fbaa
treewide: apply nixpkgs-fmt
2022-10-04 00:43:13 +02:00
Alexander Sosedkin
0ad6321f79
pkgs: use non-prebuilt SDK
2022-07-09 12:25:31 +02:00
Alexander Sosedkin
d1f52f2e1d
Update 21.11 references to 22.05
2022-07-01 00:50:28 +02:00
Tobias Happ
4ade388b9a
tests: do not create out link from proot build
2021-12-15 22:04:43 +01:00
Tobias Happ
52efd98b5e
tests: add cleanup logic for changed nix-channels
2021-12-15 22:04:43 +01:00
Tobias Happ
d8f098c8e5
tests: only expose env variables in setup that are used
2021-12-15 22:04:43 +01:00
Tobias Happ
619e53ac72
tests: simplify clean up logic for ~/.config/nixpkgs
2021-12-15 22:04:43 +01:00
Tobias Happ
0c2f293502
tests: only backup ~/.config/nixpkgs
...
Other files/directories are not modified by the general test setup.
2021-12-15 22:04:43 +01:00
Tobias Happ
e687e46e2f
tests: update flake tests to use new --flake argument
2021-12-15 22:04:43 +01:00
Tobias Happ
248632699e
tests: increase readability through small helper functions
2021-12-15 22:04:43 +01:00
Tobias Happ
7f983228fe
tests: add assertions only relevant for the specific test case
2021-12-15 22:04:43 +01:00
Tobias Happ
726f74d9ec
tests: restore the initial generation before each test
...
When developing it can happen to break the nix-on-droid script. If so,
this fix will ensure that each test has a working nix-on-droid script
available.
2021-12-15 22:04:43 +01:00
Tobias Happ
9477418fe6
tests: use bats pretty formatter
2021-12-15 22:04:43 +01:00
Alexander Sosedkin
856d931972
deduplicate proot for device and proot for fakedroid
2021-12-13 21:01:34 +01:00
Alexander Sosedkin
a6b8efbae3
tests/fakedroid: emulate a nix-on-droid-like env for testing
2021-12-13 21:01:34 +01:00
Alexander Sosedkin
343ec2ccc2
tests/on-device: add
2021-12-12 11:56:48 +01:00