• Joined on 2026年01月16日
schweikert commented on issue ziglang/zig#31077 2026年02月01日 19:56:14 +01:00
build runner prints "failed command" when step has non-failure stderr

Writing to stdout is illegal, writing to stderr isn't (AFAIK).

schweikert reopened issue ziglang/zig#31077 2026年02月01日 12:33:02 +01:00
build runner prints "failed command" when step has non-failure stderr
schweikert commented on issue ziglang/zig#31077 2026年02月01日 12:33:00 +01:00
build runner prints "failed command" when step has non-failure stderr

OK, I can undestand the part about not swallowing stderr and outputting in case of failure. I thought that it was how it was supposed to work, but it is fine if it doesn't do that.

schweikert reopened issue ziglang/zig#31077 2026年02月01日 12:14:56 +01:00
build runner prints "failed command" when step has non-failure stderr
schweikert commented on issue ziglang/zig#31077 2026年02月01日 12:14:54 +01:00
build runner prints "failed command" when step has non-failure stderr

May I ask why? Even for unit tests having debug logging can be useful, particularly if tests fail. Why prohibit any output on both stdout and stderr? This is not very user friendly, IMO.

schweikert commented on issue ziglang/zig#31077 2026年02月01日 10:33:41 +01:00
build runner prints "failed command" when step has non-failure stderr

Also, I think that the test runner is supposed to capture stderr and only show it in case of failure?

schweikert opened issue ziglang/zig#31077 2026年02月01日 09:10:34 +01:00
zig build test printing "failed command:" if the test writes to stderr