aboutsummaryrefslogtreecommitdiff
path: root/tests/cpio.scm
AgeCommit message (Expand)Author
2024-04-15utils: Don’t re-export ‘call-with-temporary-output-file’....* guix/utils.scm: Remove re-export of ‘call-with-temporary-output-file’. Autoload a number of modules. * guix/download.scm, guix/import/hackage.scm, guix/import/hexpm.scm, guix/import/opam.scm, guix/import/pypi.scm, tests/cpio.scm, tests/egg.scm, tests/opam.scm, tests/publish.scm, tests/store-database.scm, tests/utils.scm: Adjust imports accordingly. Change-Id: I3f5e94631397996a30be2ea4ff8b50a3371e8ee7 Ludovic Courtès
2022-12-20cpio: Skip test on inode numbers that don't fit on 32 bits....Fixes <https://issues.guix.gnu.org/60202>. Reported by Christopher Baines <mail@cbaines.net>. * tests/cpio.scm (%test-file): New variable. ("file->cpio-header + write-cpio-header + read-cpio-header"): Use it. Skip test when the inode number of %TEST-FILE is too big. Ludovic Courtès
2016-04-03build: Add a Guile custom test driver using SRFI-64....Before that '.log' files for scheme tests were fragmented and not included in test-suite.log. This unifies the semantics of SRFI-64 API with Automake test suite. * build-aux/test-driver.scm: New file. * Makefile.am (SCM_LOG_DRIVER, AM_SCM_LOG_DRIVER_FLAGS): New variables. (SCM_LOG_COMPILER, AM_SCM_LOG_FLAGS): Delete variables. (AM_TESTS_ENVIRONMENT): Set GUILE_AUTO_COMPILE to 0. * test-env.in: Silence guix-daemon. * doc/guix.texi (Running the Test Suite): Describe how to display the detailed results. Bug reports require only 'test-suite.log' file. * tests/base32.scm, tests/build-utils.scm, tests/builders.scm, tests/challenge.scm, tests/cpan.scm, tests/cpio.scm, tests/cran.scm, tests/cve.scm, tests/derivations.scm, tests/elpa.scm, tests/file-systems.scm, tests/gem.scm, tests/gexp.scm, tests/gnu-maintenance.scm, tests/grafts.scm, tests/graph.scm, tests/gremlin.scm, tests/hackage.scm, tests/hash.scm, tests/import-utils.scm, tests/lint.scm, tests/monads.scm, tests/nar.scm, tests/packages.scm, tests/pk-crypto.scm, tests/pki.scm, tests/profiles.scm, tests/publish.scm, tests/pypi.scm, tests/records.scm, tests/scripts-build.scm, tests/scripts.scm, tests/services.scm, tests/sets.scm, tests/size.scm, tests/snix.scm, tests/store.scm, tests/substitute.scm, tests/syscalls.scm, tests/system.scm, tests/ui.scm, tests/union.scm, tests/upstream.scm, tests/utils.scm: Don't exit at the end of test groups. * tests/containers.scm: Likewise. Use 'test-skip' instead of exiting with error code 77. Mathieu Lirzin
2015-06-24Add (guix cpio)....* guix/cpio.scm, tests/cpio.scm: New files. * Makefile.am (MODULES): Add guix/cpio.scm. (SCM_TESTS): Add tests/cpio.scm. Ludovic Courtès
".so") (string-suffix? ".o" f) (string-suffix? ".a" f) (string-suffix? ".go" f) (string-suffix? ".pdf" f) (string-suffix? ".png" f) (string-suffix? ".info" f) (equal? (basename f) "guix-daemon") (equal? (basename f) "nix-setuid-helper") (string-contains f "nix-upstream/") (string-contains f "distro/packages/bootstrap/"))) (find-files "." "\\.[a-z]+$")) (("^([[:graph:]]+) This file is part of Guix." _ comment-start) (string-append comment-start " This file is part of GNU Guix.")) (("^([[:graph:]]+) Guix --- Nix package management.*" _ comment-start) (string-append comment-start " GNU Guix --- Functional package management for GNU\n")) (("^([[:graph:]]+) Guix is " _ comment-start) (string-append comment-start " GNU Guix is ")) (("^([[:graph:]]+) along with Guix." _ comment-start) (string-append comment-start " along with GNU Guix.")) (("^([[:graph:]]+) Copyright \\(C\\)" _ comment-start) (string-append comment-start " Copyright ©"))) Change headers using C-style comments manually. 2013-01-02release.nix: Update to new bootstrap Guile tarball.Ludovic Courtès * release.nix (bootstrap_guile): Update URLs and SHA256. (build)[preBuild]: Adjust tarball name. 2012-12-14release.nix: Remove trailing "/nix" from localstatedir.Ludovic Courtès * release.nix (tarball, build): Use /nix/var as localstatedir, as a follow-up to 7f4f065. 2012-12-13release.nix: tarball: Fix typo.Ludovic Courtès * release.nix (tarball): Replace "gnulib" by "nix". 2012-12-13release.nix: Add `build_disable_daemon'.Ludovic Courtès * release.nix (build_disable_daemon): New job. 2012-12-13release.nix: build: Allow builds within a chroot.Ludovic Courtès * release.nix (build): Remove `__noChroot' and `preConfigure'. 2012-12-13release.nix: Build the daemon.Ludovic Courtès * release.nix (tarball): Add `preAutoconf'. Augment `buildInputs' and `configureFlags' to allow daemon builds. (build): Likewise. 2012-11-04release.nix: Pass `--with-libgcrypt-prefix' in the `tarball' job.Ludovic Courtès * release.nix (jobs.tarball)[configureFlags]: Pass `--with-libgcrypt-prefix'. 2012-11-03build: Clearly mark Nixpkgs as optional.Ludovic Courtès * configure.ac: Always show the result of checking for Nixpkgs. Don't warn when Nixpkgs is not found. * Makefile.am (AM_DISTCHECK_CONFIGURE_FLAGS): Remove `--with-nixpkgs' flag. * guix/utils.scm (%nixpkgs-directory): Use either the compile-time or the run-time `NIXPKGS' environment variable. * release.nix (jobs.tarball, jobs.build): Remove `--with-nixpkgs' configure flag. * README: Mark Nixpkgs as optional. * distro/packages/databases.scm, distro/packages/guile.scm, distro/packages/typesetting.scm: Change uses of `nixpkgs-derivation*' to `nixpkgs-derivation', to avoid failing at compile-time. 2012-10-31release.nix: Use `--no-substitutes' in `distro.hello'.Ludovic Courtès * release.nix (distro.hello): Use `guix-build --no-substitutes', to avoid failures due to unavailable stale substitutes on hydra.nixos.org. 2012-10-28release.nix: Change `distro.hello' to produce something.Ludovic Courtès * release.nix (distro.hello)[buildPhase]: Tee the log to $out. Add a `name' attribute; remove `buildInputs' and instead use the full path to `guix-build'. 2012-10-27release.nix: Add a `distro.hello' job.Ludovic Courtès * release.nix (distro.hello): New job. 2012-10-27release.nix: Pre-download the Guile bootstrap tarball.Ludovic Courtès * release.nix (bootstrap_guile): New variable. (build)[preBuild]: New attribute. 2012-10-27release.nix: Set succeed-on-failure and build-out-source-tree.Ludovic Courtès * release.nix: Define `succeedOnFailure', `keepBuildDirectory', and `buildOutOfSourceTree'. (build): Inherit them. 2012-10-17release.nix: Add dependency on GNU Texinfo.Ludovic Courtès * release.nix (tarball)[buildNativeInputs]: Add `texinfo'. 2012-08-17release.nix: Add dependency on GNU libgcrypt.Ludovic Courtès * release.nix (build)[configureFlags]: Add `--with-libgcrypt-prefix'. 2012-08-14release.nix: Build out of chroot.Ludovic Courtès * release.nix: Add `preConfigure' and `__noChroot' attributes. 2012-08-14build: Add release.nix.Ludovic Courtès * release.nix: New file. * Makefile.am (EXTRA_DIST): Add it.