Support cross-testing for elf/tst-array*
Roland McGrath
roland@hack.frob.com
Tue Oct 30 23:05:00 GMT 2012
> +$(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
cleanup.
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.
Thanks,
Roland
More information about the Libc-alpha
mailing list