This is the mail archive of the
libc-alpha@sourceware.org
mailing list for the glibc project.
Re: [v2, with help] Re: run one test
- From: DJ Delorie <dj at redhat dot com>
- To: Andreas Schwab <schwab at linux-m68k dot org>
- Cc: Szabolcs dot Nagy at arm dot com, libc-alpha at sourceware dot org, nd at arm dot com
- Date: Mon, 30 Sep 2019 16:20:39 -0400
- Subject: 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.