about summary refs log tree commit diff
path: root/pkgs/test
AgeCommit message (Collapse)AuthorFilesLines
2023-08-26Merge pull request #248960 from xworld21/texlive-testsDmitry Kalinkin1-29/+161
tests.texlive: several new tests
2023-08-26tests.texlive.fixedHashes: init (#248746)Vincenzo Mantova1-0/+21
The assertion that all TeX Live packages have a fixed hash is time consuming and should only be checked when running tests.
2023-08-26tests.texlive.opentype-fonts: use scheme-smallVincenzo Mantova1-1/+1
2023-08-26tests.texlive.opentype-fonts: use mkTeXTestVincenzo Mantova1-24/+22
2023-08-26tests.texlive.allLanguages: initVincenzo Mantova1-0/+74
2023-08-26tests.texlive.defaultLanguage: initVincenzo Mantova1-0/+35
2023-08-26tests.texlive.mkTeXTest: initVincenzo Mantova1-5/+30
2023-08-23tests.texlive.binaries: fix test for xpdfopen binaries (#250635)Vincenzo Mantova1-2/+2
2023-08-21texlive.bin.xetex: add teckit_compile to output (#250390)Vincenzo Mantova1-2/+3
2023-08-20Merge master into staging-nextgithub-actions[bot]1-4/+1
2023-08-19texlive.tlshell: hardcode revision numbers missing from minimal texlive.tlpdbVincenzo Mantova1-4/+1
2023-08-17Merge master into staging-nextgithub-actions[bot]3-6/+168
2023-08-17Merge remote-tracking branch 'origin/master' into haskell-updatessternenseemann1-0/+2
2023-08-17Merge master into staging-nextgithub-actions[bot]1-0/+2
2023-08-15tests.cross.sanity: add armv5tel and armv6lAdam Joseph1-0/+2
2023-08-16Merge master into haskell-updatesgithub-actions[bot]1-1/+3
2023-08-15Merge master into staging-nextgithub-actions[bot]1-1/+3
2023-08-14tests.cross.sanity: enable mbuffer testAdam Joseph1-1/+2
This test passes now. Also fixes a minor oversight in the bug -- the test case needs to `touch $out` on success.
2023-08-14libgcc: make needed architecture-specific targets if isArmv7Adam Joseph1-0/+1
2023-08-06Merge master into haskell-updatesgithub-actions[bot]1-31/+173
2023-08-05Merge branch 'staging-next' into stagingVladimír Čunát1-31/+173
2023-08-04Merge pull request #238525 from tie/patch-shebang-update-store-pathsArtturi1-1/+18
2023-07-29texlive.combine: add ghostscript to wrappers instead of combiningVincenzo Mantova1-12/+8
2023-07-29tests.texlive.rpdfcrop: init, check that rpdfcrop runs in restricted modeVincenzo Mantova1-0/+10
2023-07-29tests.texlive.shebangs: init, check that all shebangs are in NixVincenzo Mantova1-0/+31
2023-07-29tests.texlive.binaries: test non-combined binaries with empty PATH, where ↵Vincenzo Mantova1-5/+53
possible
2023-07-29texlive: build bin containers for binaries and scriptsVincenzo Mantova1-21/+78
2023-07-28Merge master into haskell-updatesgithub-actions[bot]1-9/+1
2023-07-27Merge pull request #245524 from hercules-ci/writeScriptBin-meta.mainProgramRobert Hensing1-9/+1
Add meta.mainProgram to writeCBin, add tests
2023-07-27Merge master into haskell-updatesgithub-actions[bot]1-0/+50
2023-07-26Merge pull request #238739 from apfelkuchen6/texlive-licenses-v2Pol Dellaiera1-0/+50
texlive.combine: expose licensing information of combined packages [v2]
2023-07-26trivial-builders: Move test list closerRobert Hensing1-12/+1
2023-07-26writeCBin: Add meta.mainProgramRobert Hensing1-0/+3
... and add tests.
2023-07-26Merge master into haskell-updatesgithub-actions[bot]2-27/+0
2023-07-25tests.texlive.licenses: initapfelkuchen061-0/+50
2023-07-22writers: split out the testszimbatm2-27/+0
Make it easier to run and debug individual tests.
2023-07-21Merge master into haskell-updatesgithub-actions[bot]1-1/+1
2023-07-20Merge master into haskell-updatesgithub-actions[bot]1-0/+1
2023-07-16Merge pull request #243798 from cdepillabout/stack-version-checkDennis Gosnell2-0/+152
tests.haskell.upstreamStackHpackVersion: init
2023-07-16tests.haskell.upstreamStackHpackVersion: initDennis Gosnell2-0/+152
This tests that the upstream `stack` release uses the same version of `hpack` as the `stack` in Nixpkgs.
2023-07-16Merge master into haskell-updatesgithub-actions[bot]1-4/+30
2023-07-15Merge master into haskell-updatesgithub-actions[bot]1-0/+10
2023-07-06gccWithoutTargetLibc: link libgcc_s.so using -mnewlib if isPowerAdam Joseph1-1/+1
Closes #244405 Also adds considerably more commenting to document what is going on.
2023-07-04tests.haskell.shellFor: change package used in extraDependencies testDennis Gosnell1-6/+16
This commit does the following two things: 1. Changes the Haskell package used in the extraDependencies test from releaser to conduit. The reason for this is that conduit is more of a "core" package in Haskell, and it is more likely to always be working. (If conduit is not compiling, then large chunks of Hackage won't be working.) 2. Tighten up the GHCi test to actually use the package from extraDependencies. It appears that GHCi can fail to import the package from extraDependencies, and that doesn't cause GHCi to return an error code, which means the test isn't actually testing anything. This new change makes it so that if the package from extraDependencies is actually not included for some reason, then this shellFor test should fail.
2023-07-03stdenv: fix overriding with attrset when finalAttrs isn't usedArtturin1-0/+5
``` nix-repl> (pkgs.htop.overrideAttrs { pname = "hello-overriden"; }).pname error: … while evaluating a branch condition at /nix/store/phn5cahwacv9wjgalygw62x8l4xbl6x3-source/lib/customisation.nix:86:7: 85| in 86| if builtins.isAttrs result then | ^ 87| result // { … while calling the 'isAttrs' builtin at /nix/store/phn5cahwacv9wjgalygw62x8l4xbl6x3-source/lib/customisation.nix:86:10: 85| in 86| if builtins.isAttrs result then | ^ 87| result // { (stack trace truncated; use '--show-trace' to show the full trace) error: attempt to call something which is not a function but a set at /nix/store/phn5cahwacv9wjgalygw62x8l4xbl6x3-source/pkgs/stdenv/generic/make-derivation.nix:58:21: 57| f = self: super: 58| let x = f0 super; | ^ 59| in ```
2023-07-01test.cross.sanity: add pkgs.pkgsCross.m68k.stdenvAdam Joseph1-0/+1
2023-07-01Merge pull request #239005 from Artturin/setorfunoverrRobert Hensing1-0/+5
stdenv: let overrideAttrs accept attrset OR function
2023-07-01test.cross.sanity: initAdam Joseph1-4/+30
This commit adds `pkgs.test.cross.sanity`, which is meant to be a carefully curated list of builds/packages that tend to break when refactoring our cross-compilation infrastructure. It should strike a balance between being small enough to fit in a single eval (i.e. not so large that hydra-eval-jobs is needed) so we can ask @ofborg to check it, yet should have good examples of things that often break. So, no buckshot `mapTestOnCross` calls here.
2023-06-30stdenv: let overrideAttrs accept attrset OR functionArtturin1-0/+5
Makes overrideAttrs usable in the same way that `override` can be used. It allows the first argument of `overrideAttrs` to be either a function or an attrset, instead of only a function: hello.overrideAttrs (old: { postBuild = "echo hello"; }) hello.overrideAttrs { postBuild = "echo hello"; } Previously only the first example was possible. Co-authored-by: adisbladis <adisbladis@gmail.com> Co-authored-by: matthewcroughan <matt@croughan.sh>
2023-06-30test.cross.mbuffer: initAdam Joseph1-0/+10
This adds a test case for the tricky issue encountered in https://github.com/NixOS/nixpkgs/issues/213453