nixosTests: handleTest -> runTest, batch 1#410569
Conversation
0d9b62c to
bc8329e
Compare
65bc844 to
40688bc
Compare
roberth
left a comment
There was a problem hiding this comment.
all-tests.nix has reordered a few attributes.
I assume that's because of rebasing, so let's fix that afterwards.
|
Oh, it has conflicts right now. Could you fix the reordered attributes? |
|
Sure. |
40688bc to
f34483b
Compare
|
Rebased the commit against master and fixed a few previously out-of-order attributes. |
|
FYI, a new CI check |
|
Thank you! |
|
I'll make a guess and say this change broke at least the eval of unstable-small. |
|
Okay I'm working on a fix. |
|
I just wanted to note that I am currently rebasing a PR for paperless against this PR and it is a bit more tricky than I would like it to be 😓 |
|
Due to the indentation change? Maybe |
|
I suppose it's #385637? This PR only changes the first and the last line, and other lines only have indent changes. So you should be able to just apply your changes first, then remove the two lines, then format. |
That supports nix 🤔 I need to look into that. Thanks for the tip!
yep
That's what I ended up doing 😅 shame that git couldn't resolve it on its own |
|
Bisect claims f34483b |
This is a partial backport of f34483b from NixOS#410569 to the release-25.05 branch. Specifically, this is a backport of only the Syncthing-related changes from that commit. The main motivation behind this change is to make it easier to backport some other commits that depend on changes from f34483b. I’m backporting those other commits so that I can prevent syncthing.tests.syncthing-many-devices from failing to build after Syncthing is updated to version 1.29.7. Co-authored-by: Jason Yundt <jason@jasonyundt.email>
Partially resolves: #386873
These changes are automated by a sed script, and the changed files are formatted to ensure good style and to make sure it doesn't cause syntax error.
Remaining uses of handleTest are around 220.
I'm willing to work for the remaining uses after this gets merged.
To replicate the changes on local machine:
Things done
nix.conf? (See Nix manual)sandbox = relaxedsandbox = truenix-shell -p nixpkgs-review --run "nixpkgs-review rev HEAD". Note: all changes have to be committed, also see nixpkgs-review usage./result/bin/)Add a 👍 reaction to pull requests you find important.