This is the mail archive of the
mailing list for the glibc project.
Re: Support cross-testing for elf/tst-array*
> +$(objpfx)tst-array1.out: tst-array1.exp $(objpfx)tst-array1
> + $(built-program-cmd) > $@
> cmp $@ tst-array1.exp > /dev/null
This should use $< (and similar cases below).
But since that's not part of your change, it's OK with or without that
These tests are unusual in that the .out file is not the actual output of
the test, but is only an intermediate file and the comparison is the real
test. I would have expected these to do:
$(built-program-cmd) | diff -u $< - > $@
or something like that.