On Sun, 2023-04-02 at 14:52 +0200, Alejandro Colomar wrote: > If I build make from source and run the checks in parallel, some > fail. Is this expected, or is it a bug in the Makefile?
The test suite is invoked as a single target, so there's no way that enabling parallelism could impact it. Also the test suite tries to be careful about shielding the internal invocations of make from environmental factors like user settings of MAKEFLAGS and GNUMAKEFLAGS etc. Indeed I tried "make check -j" and got no failures. Based on the diffs it appears make was able to find files like "foo" and "bar" when it didn't expect them to exist. I'm not really sure how that would happen but if you can figure it out I would be interested to know. If you run: cd tests ./run_make_tests -make ../make features/escape does it fail?