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: [v2, with help] Re: run one test


Andreas Schwab <schwab@linux-m68k.org> writes:
>> +onetest :
> .PHONY: onetest

Fixed.

>> +	@-rm -f $(objpfx)$t.out
>> +	$(MAKE) subdir=$(dir $t) -C $(dir $t) ..=../ $(objpfx)$t.out
>> +	@cat $(objpfx)$t.test-result
>> +	@cat $(objpfx)$t.out
>
> Or make the test name part of the target, so that you can use $*.

How do you mean?  Like "make onetest.wcsmbs/test-wcsnlen" ?

I tried just "make wcsmbs/test-wcsnlen" but that got complicated and
messy before it got working.


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