summaryrefslogtreecommitdiffstats
path: root/pkgs/test/default.nix
AgeCommit message (Collapse)Author
2024-04-08llvmPackages_9: remove due to ageTristan Ross
2024-03-26tests.nixpkgs-check-by-name: Remove now that a separate repo is usedSilvan Mosberger
Since https://github.com/NixOS/nixpkgs/pull/297901, the tool is fetched from https://github.com/NixOS/nixpkgs-check-by-name, so there's no need to keep it around in Nixpkgs anymore
2024-03-19treewide: drop LLVM11annalee
2024-02-29substitute: Deprecate `replacements`, introduce `replacementsList`Silvan Mosberger
Also: - Add tests - Treewide update - Improve docs
2024-02-27Merge pull request #290946 from ju1m/systemd-option-listWill Fancher
nixos/systemd: merge unit options as lists when at least one value is a list
2024-02-25nixos/systemd: merge unit options as lists when at least one value is a listJulien Moutinho
2024-02-17fetchPypiLegacy: add testDavHau
2024-01-31Merge pull request #279844 from doronbehar/tests/buildFHSEnvAtemu
tests.buildFHSEnv.libtinfo: init
2024-01-30treewide: drop LLVM10annalee
2024-01-25treewide: drop LLVM8annalee
2024-01-24tests.cc-wrapper: fix errorArtturin
`error: llvmPackages_{6,7} has been removed from nixpkgs`
2024-01-10Merge branch 'master' into staging-nextWeijia Wang
2024-01-10tests.buildFHSEnv.liblzma: initDoron Behar
Do so in a generalized manner.
2024-01-10Merge master into staging-nextgithub-actions[bot]
2024-01-09llvmPackages_6: removeWeijia Wang
Remove as the last two users are gone.
2024-01-08checkpointBuildTools: mkCheckpointedBuild -> mkCheckpointBuildBryan Lai
All other functions are in the form of `*{c,C}heckpointBuild*`, so we deprecate the `mkCheckpointedBuild` function in favor of `mkCheckpointBuild`. Also address some inconsistencies in the docs: some `buildOutput` should actually be `incrementalBuildArtifacts`.
2023-12-21Merge pull request #272752 from ↵Connor Baker
ConnorBaker/feat/autoPatchelf-support-structuredAttrs auto-patchelf: add support for __structuredAttrs
2023-12-21Test __structuredAttrs support in autoPatchelfYann Hamdaoui
This commit adds a test for the newly added support for __structuredAttrs in autoPatchelf(hook). It copied a reasonably small-closure binary derivation that makes use of autoPatchelf, stripped it down for the purpose of the test, and check that autoPatchelf correctly set the interpreter and runpath whether __structuredAttrs is set to true or not.
2023-12-19Merge pull request #167670 from messemar/incremental-buildsJanne Heß
incremental builds: add derivation override functions
2023-12-15treewide: add __attrsFailEvaluation and __recurseIntoDerivationForReleaseJobsAdam Joseph
2023-12-07rename: incremental -> checkpointed buildsMartin Messer
2023-12-07checkpointedBuild: add checkpointed build test based on pkgs helloMartin Messer
2023-12-04llvmPackages_7: remove at 7.1.0sternenseemann
2023-11-17llvmPackages_5: dropRaito Bezarius
While using very old compilers is a fair usecase, it induces a maintenance churn as we collect more and more LLVM versions for the LLVM maintainers. Especially when we need to backport uniform changes to the whole tree, furthermore, it consumes and waste CI resources.
2023-11-16tests.cc-wrapper.supported: make it actually build the testsArtturin
it was building the stdenv only
2023-11-04tests: fix eval failuresArtturin
2023-10-28fetchFromBittorrent: Rename to fetchtorrentEirik Wittersø
2023-10-18fetchFromBittorrent: initmatthewcroughan
Adds a basic FOD Fetcher for Bittorrent that uses Transmission as a client Co-authored-by: Robert Hensing <roberth@users.noreply.github.com>
2023-10-09llvmPackages_rocm -> rocmPackages.llvmMadoura
2023-09-13pkgs/top-level: use lib.systems.equals for crossSystemIvan Trubach
Fixes otherwise equivalent systems being treated as different by packages that compare `stdenv.*Platform`s using `==` operator.
2023-09-08llvmPackages_15.libcxx: fix the generated linker scriptRahul Butani
See: - https://github.com/NixOS/nixpkgs/issues/214524#issuecomment-1429146432 - https://github.com/llvm/llvm-project/commit/57c7bb3ec89565c68f858d316504668f9d214d59 - https://reviews.llvm.org/D133566 We can drop this patch in `llvmPackages_16`. Fixes #214524.
2023-09-08tests.cc-wrapper: add supported and move tests to subsetsArtturin
filter out llvmPackages <=10 on aarch64-darwin, they're marked broken and availableOn doesn't filter broken packages
2023-09-07Revert "tests.cc-wrapper: filter unavailable gcc"Artturin
This reverts commit d33a309f2c9f85c28cb897e623503f210057a77a. commit caused ofborg-eval to fail with ``` $ nix-build pkgs/top-level/release.nix -A tests.cc-wrapper.gcc10Stdenv.aarch64-darwin error: evaluation aborted with the following error message: 'cannot find attribute `tests.cc-wrapper.gcc10Stdenv'' ``` on the 3 other platfomrs the attr is there
2023-09-07tests.cc-wrapper: filter unavailable gccArtturin
2023-09-07tests.cc-wrapper: filter out *MultiStdenv when not on and not building for ↵Artturin
linux and x86_64 they're only supported on x86_64-linux
2023-09-07tests.cc-wrapper: rework the logic, test newer `gcc` stdenvs tooRahul Butani
ignore `llvmPackages_latest`, it's an alias and it'll be a duplicate. ignore `llvmPackages_git`, it's not supposed to be used in nixpkgs and may be broken.
2023-09-07tests.cc-wrapper-*: extend to `llvmPackages_{10,11,12,13,14,15,git}Rahul Butani
2023-09-02cc-wrapper, binutils-wrapper: add tests hardening-flags-handlingRobert Scott
most tests use debian-devscripts' hardening-check, so only work on ELF systems and can only detect a limited subset of flags. some extra tests actually execute fortify-protected programs and should be slightly more universally applicable.
2023-08-30fetchDebianPatch: add testnicoo
2023-08-29pkgs/test/nixpkgs-check-by-name: initSilvan Mosberger
Adds an internal CLI tool to verify Nixpkgs to conform to RFC 140. See pkgs/test/nixpkgs-check-by-name/README.md for more information.
2023-07-26trivial-builders: Move test list closerRobert Hensing
2023-07-26writeCBin: Add meta.mainProgramRobert Hensing
... and add tests.
2023-05-26tests.dotnet: init with test for projectReferencesRaphael Robatsch
Add a test for buildDotnetModule's `projectReferences = [ ... ];` feature, which is currently unused and therefore untested in nixpkgs.
2023-05-05tests.rustCustomSysroot: remove unmaintained and broken by upstream testArtturin
2023-03-29writeTextFile: chmod before checkPhaseNaïm Favier
Set the executable bit before running the check phase, so that the check phase can run the script to test its behaviour. This aligns with what `concatTextFile` is doing. Also use explicit `if` statements so that we don't silently ignore `chmod` failures.
2023-02-17tests.stdenv: move patch-shebangs testArtturin
2023-02-03Merge pull request #211685 from Artturin/splicingstuff1-splitArtturi
2023-01-29top-level/pkg-config: Make tests easy to findRobert Hensing
2023-01-29pkg-configPackages -> defaultPkgConfigPackagesRobert Hensing
This better reflects the purpose of the package set, while leaving room for a fancier, more complete implementation of the concept, with a nicer name.
2023-01-29tests.pkg-configPackages: Filter out unsupported packagesRobert Hensing