aboutsummaryrefslogtreecommitdiff
path: root/tests
AgeCommit message (Expand)Author
2022-06-14restore compatibility with python 3.7Wojtek Kosior
2022-05-31add test case for unknown schema version errorWojtek Kosior
2022-05-31add "eval" permissionWojtek Kosior
2022-05-31improve loading of schema filesWojtek Kosior
2022-05-31add tests for features from version 2 of source package JSON schemaWojtek Kosior
2022-05-31incorporate version 2 of Hydrilla JSON schemasWojtek Kosior
2022-05-11make it easier to reuse/cache foreign package files when building a Hydrilla ...Wojtek Kosior
2022-05-11always use APT packages for amd64 architectureWojtek Kosior
2022-05-11raise a more informative error when a file referenced from index.json is missingWojtek Kosior
2022-05-11properly handle percent-encoded characters in .deb file namesWojtek Kosior
2022-05-10add missing english translations and verify message texts of raised exception...Wojtek Kosior
2022-05-10support piggybacking on APT packagesWojtek Kosior
2022-04-22use pyproject.toml for pytest configuration and move all tests to tests/ dire...Wojtek Kosior
5d89b39774e6b57dcd1f05bf68718d23866bb7 David Elsing 2024-01-09tests: Mock find-packages-by-name in crate importer test....* tests/crate.scm: Import only sha256 from (gcrypt hash) as gcrypt-sha256 to prevent a name collision. Rename test 'cargo-recursive-import' to 'crate-recursive-import' and 'cargo-recursive-import-hoors-existing-packages' to 'crate-recursive-import-honors-existing-packages'. Mock find-packages-by-name from (gnu packages). Adjust test to import fake 'bar' crate instead of doctool. (test-bar-crate): New variable. (test-bar-dependencies): New variable. (test-root-crate): Adjust sha256 -> gcrypt-sha256. (test-doctool-crate,test-doctool-dependencies): Remove variables. (rust-leaf-bob-3): New variable. Signed-off-by: Efraim Flashner <efraim@flashner.co.il> David Elsing 2024-01-09import: crate: Optionally import dev-dependencies recursively....If --recursive-dev-dependencies is specified, development dependencies are also included for all recursively imported packages. * doc/guix.texi (Invoking guix import): Mention --recursive-dev-dependencies. * guix/import/crate.scm (crate-recursive-import): Add recursive-dev-dependencies? argument. * guix/scripts/import/crate.scm (show-help, guix-import-crate): Add "--recursive-dev-dependencies". * tests/crate.scm: Test both #f and #t for #:recursive-dev-dependencies? in the 'cargo-recursive-import' test. (test-root-dependencies): Add intermediate-c as dev-dependency. (test-intermediate-c-crate, test-intermediate-c-dependencies): New variables. Signed-off-by: Efraim Flashner <efraim@flashner.co.il> Change-Id: Iae89794681155d77f128733120e60f03bc297717 David Elsing 2023-10-22guix: import: Don't import yanked rust crates....* guix/import/crate.scm (<crate-version>): Add yanked? field. (crate->guix-package)[find-crate-version]: Remove versions which have been yanked. * tests/crate.scm: Adjust tests for new yanked? field. Efraim Flashner 2022-05-30tests: Adjust crate importer test to spdx changes....This is a followup to 95b0544fcfa1a663435a9ac84db94312b938022b. * tests/crate.scm ("licenses: MIT/Apache-2.0 AND BSD-2-Clause"): Adjust expected result. Ludovic Courtès