about summary refs log tree commit diff
path: root/pkgs/test
AgeCommit message (Collapse)AuthorFilesLines
2022-04-09cudaPackages: overhaul of how we package cuda packagesFrederik Rietdijk5-109/+26
There are many different versions of the `cudatoolkit` and related cuda packages, and it can be tricky to ensure they remain compatible. - `cudaPackages` is now a package set with `cudatoolkit`, `cudnn`, `cutensor`, `nccl`, as well as `cudatoolkit` split into smaller packages ("redist"); - expressions should now use `cudaPackages` as parameter instead of the individual cuda packages; - `makeScope` is now used, so it is possible to use `.overrideScope'` to set e.g. a different `cudnn` version; - `release-cuda.nix` is introduced to easily evaluate cuda packages using hydra.
2022-04-01Merge master into staging-nextgithub-actions[bot]1-0/+2
2022-04-01tests: Add pkgs-libRobert Hensing1-0/+2
Makes the following work ofborg build tests.pkgs-lib
2022-03-31Merge master into staging-nextgithub-actions[bot]1-1/+1
2022-03-28pkgs.tests.nixos-functions: machine -> nodes.machineRobert Hensing1-1/+1
2022-03-25Merge master into staging-nextgithub-actions[bot]6-165/+0
2022-03-25Merge pull request #164651 from Infinisil/remove-optionSetSilvan Mosberger6-165/+0
lib/modules: Finally remove deprecated types.optionSet
2022-03-25Merge branch 'master' into staging-nextVladimír Čunát1-3/+3
2022-03-21Merge remote-tracking branch 'upstream/master' into tests-restrict-argumentsRobert Hensing1-0/+11
2022-03-21tests.nixos-functions.nixosTest-test: Test callPackage-like behaviorRobert Hensing1-3/+3
2022-03-21Merge branch 'staging-next' into stagingVladimír Čunát1-0/+11
2022-03-20Merge pull request #164305 from ↵Robert Hensing1-0/+11
hercules-ci/haskellPackages-shellFor-extraDependencies haskellPackages.shellFor: Add extraDependencies
2022-03-18Remove ancient mkOption testsSilvan Mosberger6-165/+0
These are completely non-functional by now
2022-03-15haskellPackages.shellFor: Add extraDependenciesRobert Hensing1-0/+11
An example use case is when you have Haskell scripts that use libraries that don't occur in your packages' dependencies.
2022-03-10build-support/writeTextFile: add test for weird file namesK9001-0/+1
2022-02-12makeWrapper: Don't glob in prefix/suffixtalyz1-0/+3
Disable file globbing in --prefix/--suffix, since bash will otherwise try to find filenames matching the the value to be prefixed/suffixed if it contains characters considered wildcards, such as `?` and `*`. We want the value as is, except we also want to split it on on the separator; hence we can't quote it.
2022-02-02tests: Add test for makeWrappertalyz2-0/+138
Co-authored-by: Janne Heß <janne@hess.ooo>
2022-01-20neovim.tests: remove aliasSandro1-1/+1
2022-01-08Merge pull request #147690 from pasqui23/hostsRobert Hensing1-0/+1
concatTextFile: init
2021-12-30concatText: test now worksPasquale1-0/+1
2021-12-20Merge pull request #151411 from hercules-ci/pkgs-tests-fetchRobert Hensing1-0/+4
pkgs.tests: Add fetcher tests so ofborg can run them
2021-12-20pkgs.tests: Add fetcher tests so ofborg can run themRobert Hensing1-0/+4
2021-12-16makeBinaryWrapper: Fix issues on aarch64-darwin/macOS 12 (Monterey)Tobias Bergkvist1-1/+1
Sanitizers don't seem to be present on aarch64-darwin/macOS 12 (Monterey), so they are removed from the aarch64-darwin tests. Switching from nativeBuildInputs to buildInputs and adding cc to the deps list caused some strange error messages to go away.
2021-12-16makeBinaryWrapper: Fix chdir golden test for darwinTobias Bergkvist4-4/+4
On macOS, /tmp is a symlink to /private/tmp. When performing cd /tmp, and checking cwd - it won't match since it follows the symlink. This caused test breakage on macOS but not Linux. Instead, use a folder which is not a symlink, and consistent across Linux and macOS.
2021-12-16makeBinaryWrapper: Make tests discoverable to OfBorgTobias Bergkvist1-2/+0
Move makeBinaryWrapper tests to pkgs.makeBinaryWrapper.passthru.tests, since OfBorg doesn't discover/skips the tests in the previous location.
2021-12-10Merge pull request #124556 from bergkvist/bergkvist/make-c-wrapperRobert Hensing32-0/+318
Generate tiny compiled binary for wrapping executables
2021-12-09make-binary-wrapper: Add -Wall -Werror -WpedanticJacek Galowicz1-1/+1
2021-12-09make makeWrapper and makeBinaryWrapper drop-in-replaceableJacek Galowicz1-2/+2
2021-12-09Inject gcc path into makewrapper scriptJacek Galowicz1-2/+2
2021-12-09Add golden effects testJacek Galowicz32-172/+145
2021-12-07tests.dhall.generateDhallDirectoryPackage: init(cdep)illabout2-0/+18
2021-12-02Add tests for `--inherit-argv0` and `--chdir DIR`Tobias Bergkvist3-4/+29
2021-12-01Replace concat3 with asprintf in set_env_prefix and set_env_suffix.Tobias Bergkvist3-59/+40
2021-12-01Switch from malloc to calloc in addFlagsTobias Bergkvist2-2/+2
2021-12-01Switch from exit(1) to abort() in assert_successTobias Bergkvist5-5/+5
2021-12-01Add assertValidEnvName and check that variable name is valid during code ↵Tobias Bergkvist6-8/+39
generation. Add assert_success, and assert that setenv/unsetenv succeeds to crash if they don't
2021-11-15Merge pull request #144564 from jtojnar/php-overridableKim Lindberger2-0/+118
php: Implement overrideAttrs that composes with buildEnv/withExtensions
2021-11-14php: Implement overrideAttrs that composes with buildEnv/withExtensionsJan Tojnar2-0/+118
Hopefully. Also add a couple of tests to check that.
2021-11-09Assert that malloc does not return a NULL pointer for better error messages ↵Tobias Bergkvist4-0/+9
+ to satisfy static analysis tools.
2021-11-09Merge master into haskell-updatesgithub-actions[bot]3-0/+21
2021-11-08Merge pull request #142825 from cdepillabout/buildDhallUrlDennis Gosnell3-0/+21
dhallPackages.buildDhallUrl: add function for easily building dhall remote imports
2021-11-08dhallPackages.buildDhallUrl: change argument from dhall-hash to dhallHash(cdep)illabout1-1/+1
2021-11-07haskell: switch from haskell.lib to haskell.lib.composeEllie Hermaszewska2-4/+4
2021-11-01dhallPackages.buildDhallUrl: small formatting fixesDennis Gosnell1-1/+0
Co-authored-by: Sandro <sandro.jaeckel@gmail.com>
2021-11-01test.trivial-builders: Add test cases, fix test runner, renameRobert Hensing1-2/+5
The writeStringReferencesToFile didn't handle non-unique references to the same path correctly.
2021-10-25tests.dhall.buildDhallUrl: add test(cdep)illabout3-0/+22
2021-10-19Switch from buildInputs to nativeBuildInpuits in makeGoldenTestTobias Bergkvist1-1/+1
2021-10-19Set strictDeps = true in makeGoldenTestTobias Bergkvist1-0/+1
Co-authored-by: Robert Hensing <roberth@users.noreply.github.com>
2021-10-04EditorConfig: Switch from tabs to spacesTobias Bergkvist1-17/+17
2021-10-04Add golden tests for make-binary-wrapper.Tobias Bergkvist10-0/+298
To run tests after cloning on linux, use the following: nix-build pkgs/top-level/release.nix -A tests.make-binary-wrapper.x86_64-linux