summaryrefslogtreecommitdiff
path: root/tests/print.scm
Commit message (Collapse)AuthorAgeFilesLines
* tests: Update expected values for package->code.Ricardo Wurmus2020-04-201-8/+8
| | | | | | Reported by janneke on IRC. * tests/print.scm: Update expected package definitions produced by package->code.
* import: print: Honor the outputs of inputs (!).Ludovic Courtès2019-06-071-17/+31
| | | | | | | | | | | | | | Fixes <http://bugs.gnu.org/35893>. Reported by Jesse Gibbons <jgibbons2357@gmail.com>. * guix/import/print.scm (package->code)[package-lists->code]: Preserve OUT in the result. * tests/print.scm (define-with-source): New macro. (pkg): Use it. (pkg-source): New variable. (pkg-with-inputs, pkg-with-inputs-source): New variables. ("simple package"): Refer to 'pkg-source'. ("package with inputs"): New test.
* import: Add package->code.Ricardo Wurmus2017-09-281-0/+64
* guix/import/print.scm: New file. * tests/print.scm: New file. * Makefile.am (SCM_TESTS): Add new test file. (MODULES): Add print.scm.