-
Notifications
You must be signed in to change notification settings - Fork 2k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
'make check' oddities #5484
Comments
I think this is unrelated to
(BTW, looks like our recently added usage of |
It's weird. I've just tested, and there's only partial overlap between the two. On a system (edit: Linux/x86_64 with AVX512BW) where the first command tested 425 formats and the second 477, only 161 formats overlap between the two runs - some dynamic formats (not all dynamics) and thin dynamic formats (without dynamic in visible name). We got to have a syntax to test all formats with one command. |
where line 1658 is:
and line 1728 is:
Re-running
and the exit code is 1. So looks like we actually got a bug somewhere in there. |
Skipping the unit tests, my external modes test was failing on Solaris at first. Turned out the |
Out of these 3, the failing test is in the middle one:
This also highlights that we have insecure usage of |
Making it work on files in the current directory (rather than
vs. Linux
So the failing test doesn't necessarily indicate that our
|
It's failing here, and I added debugging output: - if (memcmp(&_fgetl_pad[i], &line[i], len_seen-i))
+ if (memcmp(&_fgetl_pad[i], &line[i], len_seen-i)) {
+ int w = len_seen-i;
+ printf("%.*s vs. %.*s length %d\n", w, &_fgetl_pad[i], w, &line[i], w);
inc_failed_test();
+ } With this, I see that This is such a stress-tests of libc's stdio and, if I test it with external tools, also of those tools. On Linux, I get:
On Solaris, I get:
(On both, I entered the I think we can't really expect the kind of consistency this unit test expects now, while we use stdio. If we wanted that, we'd need to switch away from using stdio to our own code first, at least for high-level functions like |
Reducing |
Indeed. I didn't pay attention to the error message. It goes further now.
|
I got I'm not too worried about the duplicate testing of some dynamic formats because those are particularly quick to test. However, it does seem weird we don't use just one invocation of |
It doesn't work on Solaris:
Isn't it performing the same thing twice? Is the second not enough?
Then:
The text was updated successfully, but these errors were encountered: