This is the mail archive of the libc-alpha@sourceware.org mailing list for the glibc project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

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
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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]