On 20/12/18 18:41, Peter Maydell wrote: >> This seemed to work on most of my test hosts but something >> weird happened here: hyperlong repetitive command line and >> looks like make got an "fwrite(): Resource temporarily unavailable" >> halfway through writing it out?? >> >> This was on my x86-64 Linux Ubuntu system, clang build >> which I configure with '--cc=clang' '--cxx=clang++' '--enable-gtk' >> '--extra-cflags=-fsanitize=undefined -fno-sanitize=shift-base -Werror'; >> the error is during the 'make -C build/clang check V=1' phase. > > Checking my logfiles I think that the previous pull request > apply attempt also failed this way, but I didn't notice > because of the other failures on other hosts. It may be > the combination of the huge command line and the way my > test setup uses GNU parallel and ssh to capture the make > output into a logfile.
Ok, I got it even better than the old harness. Now each test is printed individually and the V=1 command lines are very easily cut-and-pasted: TEST check-qtest-x86_64: tests/endianness-test TEST check-qtest-x86_64: tests/fdc-test TEST check-qtest-x86_64: tests/ide-test TEST check-qtest-x86_64: tests/ahci-test With V=1: export MALLOC_PERTURB_=${MALLOC_PERTURB_:-$(( ${RANDOM:-0} % 255 + 1))} QTEST_QEMU_BINARY=x86_64-softmmu/qemu-system-x86_64 QTEST_QEMU_IMG=qemu-img; tests/endianness-test -m=quick -k --tap | ./scripts/tap-driver.pl --test-name="endianness-test" PASS 1 endianness-test /x86_64/endianness/pc PASS 2 endianness-test /x86_64/endianness/split/pc PASS 3 endianness-test /x86_64/endianness/combine/pc export MALLOC_PERTURB_=${MALLOC_PERTURB_:-$(( ${RANDOM:-0} % 255 + 1))} QTEST_QEMU_BINARY=x86_64-softmmu/qemu-system-x86_64 QTEST_QEMU_IMG=qemu-img; tests/fdc-test -m=quick -k --tap | ./scripts/tap-driver.pl --test-name="fdc-test" PASS 1 fdc-test /x86_64/fdc/cmos PASS 2 fdc-test /x86_64/fdc/no_media_on_start PASS 3 fdc-test /x86_64/fdc/read_without_media ... (as long as you don't use -k). Thanks for the test. Paolo