Artturin
70902269fd
tests: fix eval failures
2023-11-04 00:52:15 +02:00
Eirik Wittersø
2fd6af1929
fetchFromBittorrent: Rename to fetchtorrent
2023-10-28 11:32:10 +01:00
matthewcroughan
b289b43bf8
fetchFromBittorrent: init
...
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-18 14:07:42 +01:00
Madoura
12e7fc6923
llvmPackages_rocm -> rocmPackages.llvm
2023-10-09 16:38:51 -05:00
Ivan Trubach
d4063e0330
pkgs/top-level: use lib.systems.equals for crossSystem
...
Fixes otherwise equivalent systems being treated as different by
packages that compare `stdenv.*Platform`s using `==` operator.
2023-09-13 07:22:52 +03:00
Rahul Butani
0251e2645a
llvmPackages_15.libcxx: fix the generated linker script
...
See:
- https://github.com/NixOS/nixpkgs/issues/214524#issuecomment-1429146432
- 57c7bb3ec8
- https://reviews.llvm.org/D133566
We can drop this patch in `llvmPackages_16`.
Fixes #214524 .
2023-09-08 05:41:29 +03:00
Artturin
2d15039387
tests.cc-wrapper: add supported and move tests to subsets
...
filter out llvmPackages <=10 on aarch64-darwin, they're marked broken
and availableOn doesn't filter broken packages
2023-09-08 03:20:52 +03:00
Artturin
bcd62ff9eb
Revert "tests.cc-wrapper: filter unavailable gcc"
...
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-07 22:36:16 +03:00
Artturin
e0898be1c5
tests.cc-wrapper: filter unavailable gcc
2023-09-07 22:36:16 +03:00
Artturin
686516e0bc
tests.cc-wrapper: filter out *MultiStdenv when not on and not building for linux and x86_64
...
they're only supported on x86_64-linux
2023-09-07 22:36:16 +03:00
Rahul Butani
626c8c3224
tests.cc-wrapper: rework the logic, test newer gcc
stdenvs too
...
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-07 22:36:07 +03:00
Rahul Butani
8b4f80741c
tests.cc-wrapper-*: extend to `llvmPackages_{10,11,12,13,14,15,git}
2023-09-07 03:46:38 +03:00
Robert Scott
e0f6367446
cc-wrapper, binutils-wrapper: add tests hardening-flags-handling
...
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-09-02 15:01:54 +01:00
nicoo
e4162c9e7b
fetchDebianPatch: add test
2023-08-30 07:55:07 +00:00
Silvan Mosberger
271eb02995
pkgs/test/nixpkgs-check-by-name: init
...
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-08-29 16:17:54 +02:00
Robert Hensing
89bdfd4687
trivial-builders: Move test list closer
2023-07-26 18:22:33 +02:00
Robert Hensing
d1dc8384ca
writeCBin: Add meta.mainProgram
...
... and add tests.
2023-07-26 18:22:26 +02:00
Raphael Robatsch
256c3a7a53
tests.dotnet: init with test for projectReferences
...
Add a test for buildDotnetModule's `projectReferences = [ ... ];`
feature, which is currently unused and therefore untested in nixpkgs.
2023-05-26 16:18:07 +02:00
Artturin
c4a06db832
tests.rustCustomSysroot: remove unmaintained and broken by upstream test
2023-05-05 23:23:20 +03:00
Naïm Favier
e6f19ea429
writeTextFile: chmod before checkPhase
...
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-03-29 14:06:45 +02:00
Artturin
8876a5c91f
tests.stdenv: move patch-shebangs test
2023-02-17 22:23:33 +02:00
Artturi
dcc7df7fe6
Merge pull request #211685 from Artturin/splicingstuff1-split
2023-02-03 12:49:08 +02:00
Robert Hensing
3be7ea8c89
top-level/pkg-config: Make tests easy to find
2023-01-29 09:51:55 +01:00
Robert Hensing
a010129bf8
pkg-configPackages -> defaultPkgConfigPackages
...
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-29 09:51:55 +01:00
Robert Hensing
e93cfb250b
tests.pkg-configPackages: Filter out unsupported packages
2023-01-29 09:51:54 +01:00
Robert Hensing
7790eafbdc
pkg-configPackages: init
2023-01-29 09:51:54 +01:00
Artturin
9c0ac5691c
tests.overriding: init
...
only outputs the first failing test atm
2023-01-20 19:20:03 +02:00
Jan Tojnar
72c37eddec
Merge branch 'staging-next' into staging
2022-12-25 01:30:47 +01:00
Jan Tojnar
98e84e79a9
makeHardcodeGsettingsPatch: Add simple tests
2022-12-19 17:38:56 +01:00
Robert Hensing
16f5747575
Merge pull request #175649 from Artturin/opt-in-structured-attrs
...
stdenv: support opt-in __structuredAttrs
2022-12-10 21:12:43 +01:00
Artturi
91d19a6e66
Merge pull request #204692 from Artturin/relative-links-fix-error
...
make-symlinks-relative: fix no such file or directory if output is cr…
2022-12-09 19:27:41 +02:00
Artturin
11b49fa791
tests.hooks.default-stdenv-hooks.make-symlinks-relative: init
2022-12-09 08:57:14 +02:00
Jörg Thalheim
09dcdf4e4e
cue: test in tests.cue-validation
2022-12-08 22:19:23 +01:00
Artturin
18d00c5814
tests.stdenv: add some env attrset tests
2022-12-08 21:09:02 +02:00
Robert Hensing
c2f071abc2
Merge pull request #182250 from Artturin/fetchpatch2
...
fetchpatch2: init
2022-12-01 01:31:46 +00:00
Bernardo Meurer
43bf542ccd
tests.trivial-builders.linkFarm: init
2022-11-15 11:47:36 -05:00
Dennis Gosnell
7efd4aa67c
tests.coq.overrideCoqDerivation: add test
2022-08-29 14:46:20 +09:00
Artturin
41877098f3
fetchpatch2: init
...
allows us to use the new features of patchutils without having to reset
all fetchpatch hashes in nixpkgs
https://github.com/NixOS/nixpkgs/issues/32084
2022-07-20 22:47:14 +03:00
Robert Hensing
1e17bb943e
Merge pull request #164662 from infinisil/fetchurl-curlOpts-list
...
fetchurl: Allow passing curl options with spaces
2022-06-30 21:10:57 +02:00
Silvan Mosberger
588439e131
fetchurl: Add curlOptsList test
2022-06-30 19:49:54 +02:00
Robert Hensing
523eb4a181
pkgs.tests: Add regression test for #175196
2022-05-29 10:23:16 +02:00
Janne Heß
3673f148b3
Merge remote-tracking branch 'origin/staging-next'
...
* origin/staging-next: (62 commits)
Re-Revert "lua: fix on darwin by using makeBinaryWrapper (#172749 )"
openldap: fix cross-compilation
makeBinaryWrapper: fix codesign on aarch64-darwin
python3Packages.ldap: fix linking with openldap 2.5+
Revert "lua: fix on darwin by using makeBinaryWrapper (#172749 )"
wine: enable parallel build again
pkgsi686Linux.gdb: fix formatting for 32-bit systems
gtk4: Fix incorrect merge
nixos/openldap: use upstream unit defaults
openldap: update maintainers
openldap: 2.4.58 -> 2.6.2
Revert "Add mingwW64-llvm cross-system."
lua: fix on darwin by using makeBinaryWrapper (#172749 )
python310Packages.python-mimeparse: execute tests
pandas: fix darwin build
gtk3: 3.24.33 -> 3.24.33-2022-03-11
gtk4: patch fixing g-c-c crashes
e2fsprogs: patch for CVE-2022-1304
firefox-unwrapped: fix cross compilation
rustc: expose correct llvmPackages for cross compile
...
2022-05-23 19:56:59 +02:00
Artturin
5a6a31e54d
fetchzip: extraPostFetch -> postFetch && tests
2022-05-22 21:18:52 +03:00
Naïm Favier
3e385d9a82
makeBinaryWrapper: add comment
2022-05-12 15:23:38 +02:00
Naïm Favier
0d6bcb513b
makeBinaryWrapper: move into its own folder
...
The derivation is complex enough to warrant moving out of
all-packages.nix
2022-05-10 22:07:56 +02:00
Robert Hensing
93abb7bef7
tests.testers.nixosTest-example: move from tests.nixos-functions.nixosTest-test
...
And improve the test a bit, to assert correct wiring of `pkgs`.
2022-05-09 14:21:56 +02:00
github-actions[bot]
27e49cc5a4
Merge master into staging-next
2022-04-01 18:01:22 +00:00
Robert Hensing
6febb906a8
tests: Add pkgs-lib
...
Makes the following work
ofborg build tests.pkgs-lib
2022-04-01 15:19:45 +02:00
K900
7e3c503257
build-support/writeTextFile: add test for weird file names
2022-03-10 13:30:46 +03:00
talyz
be2aa01de7
tests: Add test for makeWrapper
...
Co-authored-by: Janne Heß <janne@hess.ooo>
2022-02-02 20:08:26 +01:00