Age | Commit message (Collapse) | Author | Files | Lines | |
---|---|---|---|---|---|
2023-09-18 | makeBinaryWrapper: protect wildcards in flags | Ryan Hendrickson | 3 | -6/+11 | |
2023-09-15 | tests.makeBinaryWrapper: fix cross test on aarch64-linux | Artturin | 1 | -1/+6 | |
2023-04-19 | tests.makeBinaryWrapper: avoid same-triple cross | Alyssa Ross | 1 | -1/+1 | |
We shouldn't try compiling to aarch64-unknown-linux-gnu from aarch64-unknown-linux-gnu, because that tends to confuse things and is not representative of actual cross compilation usage. | |||||
2022-06-12 | Merge pull request #172769 from ncfavier/wrappers-append-args | Thiago Kenji Okada | 4 | -4/+9 | |
makeWrapper,makeBinaryWrapper: implement `--append-flags` | |||||
2022-05-31 | makeBinaryWrapper: fix cross-compilation and add test | Naïm Favier | 2 | -26/+55 | |
Fixes https://github.com/NixOS/nixpkgs/issues/175045 | |||||
2022-05-30 | makeWrapper,makeBinaryWrapper: implement `--append-flags` | Naïm Favier | 4 | -4/+9 | |
2022-05-06 | makeBinaryWrapper: add overlength-strings test | Naïm Favier | 4 | -0/+30 | |
2021-12-16 | makeBinaryWrapper: Fix issues on aarch64-darwin/macOS 12 (Monterey) | Tobias Bergkvist | 1 | -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-16 | makeBinaryWrapper: Fix chdir golden test for darwin | Tobias Bergkvist | 4 | -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-09 | make-binary-wrapper: Add -Wall -Werror -Wpedantic | Jacek Galowicz | 1 | -1/+1 | |
2021-12-09 | make makeWrapper and makeBinaryWrapper drop-in-replaceable | Jacek Galowicz | 1 | -2/+2 | |
2021-12-09 | Inject gcc path into makewrapper script | Jacek Galowicz | 1 | -2/+2 | |
2021-12-09 | Add golden effects test | Jacek Galowicz | 32 | -172/+145 | |
2021-12-02 | Add tests for `--inherit-argv0` and `--chdir DIR` | Tobias Bergkvist | 3 | -4/+29 | |
2021-12-01 | Replace concat3 with asprintf in set_env_prefix and set_env_suffix. | Tobias Bergkvist | 3 | -59/+40 | |
2021-12-01 | Switch from malloc to calloc in addFlags | Tobias Bergkvist | 2 | -2/+2 | |
2021-12-01 | Switch from exit(1) to abort() in assert_success | Tobias Bergkvist | 5 | -5/+5 | |
2021-12-01 | Add assertValidEnvName and check that variable name is valid during code ↵ | Tobias Bergkvist | 6 | -8/+39 | |
generation. Add assert_success, and assert that setenv/unsetenv succeeds to crash if they don't | |||||
2021-11-09 | Assert that malloc does not return a NULL pointer for better error messages ↵ | Tobias Bergkvist | 4 | -0/+9 | |
+ to satisfy static analysis tools. | |||||
2021-10-19 | Switch from buildInputs to nativeBuildInpuits in makeGoldenTest | Tobias Bergkvist | 1 | -1/+1 | |
2021-10-19 | Set strictDeps = true in makeGoldenTest | Tobias Bergkvist | 1 | -0/+1 | |
Co-authored-by: Robert Hensing <roberth@users.noreply.github.com> | |||||
2021-10-04 | EditorConfig: Switch from tabs to spaces | Tobias Bergkvist | 1 | -17/+17 | |
2021-10-04 | Add golden tests for make-binary-wrapper. | Tobias Bergkvist | 9 | -0/+296 | |
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 |