Commit graph

14 commits

Author SHA1 Message Date
Jan Tojnar
0703985bef
gnomeExtensions.gsconnect: 41 → 43
https://github.com/andyholmes/gnome-shell-extension-gsconnect/releases/tag/v42
https://github.com/andyholmes/gnome-shell-extension-gsconnect/releases/tag/v43

- Added installed tests.
- Corrected license.
2020-10-24 01:18:44 +02:00
Nathaniel Glen
e879eb6db6 pipewire: add testing
This adds two tests. One is for whether the paths used by the module are
present, while the other is for testing functionality of PipeWire
itself. This is done with the recent addition of installed tests by
upstream.
2020-09-19 16:33:01 -04:00
Jan Tojnar
2bfa6aa848
nixosTests.installed-tests: Add the test data to VM closure
Flatpak’s installed tests build Flatpak runtimes, among other things.
Upstream code does this by copying some programs on `PATH`
as well as some possible dependencies from host’s /usr.
We patch the code to use `nix-store --query --requisites`
to make the dependency discovery easier.

The Flatpak’s installed tests add `socat` to `PATH` and later run
`nix-store --query --requisites` on its location but it was failing with

    error: path '/nix/store/qcyf7nq5vvfw32967sv4j6z190inrbrc-socat-1.7.3.4' is not valid

The issue occurred because, while the host Nix store is bind mounted into the test VM,
the VM’s store uses its own database that only contains the packages in the VM’s closure.
Since the test commands are not actually part of the VM but only passed through PTY,
the `flatpak.installedTests` derivation was not part of the VM’s closure, so `nix-store`
in the VM could not get information about its dependency `socat`.

Let’s make the `installedTests` of the tested package part of the test VM’s closure
by passing it as a global environment variable. This will also have the added benefit
that user no longer has to type the path when running the installed tests manually in the VM;
they can just use `gnome-desktop-testing-runner -d $TESTED_PACKAGE_INSTALLED_TESTS`,
which is much more conducive to tab completion.
2020-07-24 16:30:49 +02:00
Jan Tojnar
1fade973fc
libjcat: init at 0.1.1 2020-04-15 20:30:06 +02:00
Jan Tojnar
102fa4aaec malcontent: init at 0.4.0 2020-02-10 12:55:24 -05:00
Jan Tojnar
ea06e0055e glib-testing: init at 0.1.0 2020-02-10 12:55:24 -05:00
Jan Tojnar
f6afb29ee1
ibus: add installed tests 2019-12-07 00:58:30 +01:00
Jan Tojnar
973c2fcf3d
nixosTests.installed-tests: allow passing extra makeTest args
For example, extra meta tags.
2019-12-07 00:58:30 +01:00
worldofpeace
65b2a768bb
Merge pull request #72979 from worldofpeace/more-gnome-installed-test-cleanup
More gnome installed test cleanup
2019-11-07 14:34:28 +00:00
worldofpeace
4dc696be90
Merge pull request #72525 from r-ryantm/auto-update/gcab
gcab: 1.2 -> 1.3
2019-11-07 13:52:48 +00:00
worldofpeace
9b99912d82 nixosTests.libgdata: port to python, move to installed-tests 2019-11-07 08:07:51 -05:00
Jan Tojnar
e253d015a1
gcab: run & install tests
also add nixosTests.installed-tests.gcab for running the installed tests
2019-11-07 14:07:19 +01:00
worldofpeace
85251b3c24 nixosTests.libxmlb: port to python 2019-11-07 08:02:33 -05:00
worldofpeace
eee5986ac3 nixos/tests: add gnome-installed-tests with builder function
The test script is also ported to python.
2019-11-06 19:18:28 -05:00