summary refs log tree commit diff
path: root/pkgs/applications
diff options
context:
space:
mode:
authorMichael Weiss <dev.primeos@gmail.com>2021-01-20 20:00:58 +0100
committerGitHub <noreply@github.com>2021-01-20 20:00:58 +0100
commit88637a1c33a5c901a4f5b63b2f218a5017a952a2 (patch)
treebd2225297cec10bdac62d1762039bff988efa284 /pkgs/applications
parent7a865aa59c21addf0e2cf5ea8741c6314d5322a2 (diff)
parent70206c3be4265ec7b1651c4e61b6145560a0464d (diff)
downloadnixpkgs-88637a1c33a5c901a4f5b63b2f218a5017a952a2.tar
nixpkgs-88637a1c33a5c901a4f5b63b2f218a5017a952a2.tar.gz
nixpkgs-88637a1c33a5c901a4f5b63b2f218a5017a952a2.tar.bz2
nixpkgs-88637a1c33a5c901a4f5b63b2f218a5017a952a2.tar.lz
nixpkgs-88637a1c33a5c901a4f5b63b2f218a5017a952a2.tar.xz
nixpkgs-88637a1c33a5c901a4f5b63b2f218a5017a952a2.tar.zst
nixpkgs-88637a1c33a5c901a4f5b63b2f218a5017a952a2.zip
Merge pull request #110198 from primeos/chromium-vm-test
nixos/tests/chromium: Add ungoogled-chromium and Google Chrome
Diffstat (limited to 'pkgs/applications')
-rw-r--r--pkgs/applications/networking/browsers/chromium/README.md15
1 files changed, 15 insertions, 0 deletions
diff --git a/pkgs/applications/networking/browsers/chromium/README.md b/pkgs/applications/networking/browsers/chromium/README.md
index 5b7c9fe5504..9d23e3143c6 100644
--- a/pkgs/applications/networking/browsers/chromium/README.md
+++ b/pkgs/applications/networking/browsers/chromium/README.md
@@ -36,6 +36,21 @@ update `upstream-info.json`. After updates it is important to test at least
 `nixosTests.chromium` (or basic manual testing) and `google-chrome` (which
 reuses `upstream-info.json`).
 
+To run all automated NixOS VM tests for Chromium, ungoogled-chromium,
+and Google Chrome (not recommended, currently 6x tests!):
+```
+nix-build nixos/tests/chromium.nix
+```
+
+A single test can be selected, e.g. to test `ungoogled-chromium` (see
+`channelMap` in `nixos/tests/chromium.nix` for all available options):
+```
+nix-build nixos/tests/chromium.nix -A ungoogled
+```
+(Note: Testing Google Chrome requires `export NIXPKGS_ALLOW_UNFREE=1`.)
+
+For custom builds it's possible to "override" `channelMap`.
+
 ## Backports
 
 All updates are considered security critical and should be ported to the stable