[RFC][PATCH] Rerun benchmarks only if *.out file does not exist.
Steve Ellcey
sellcey@cavium.com
Mon Sep 25 17:18:00 GMT 2017
On Fri, 2017-09-22 at 16:42 -0700, Steve Ellcey wrote:
>Â
>
> Two questions: One, does this sound useful to other people?  And two, what
> is wrong with my patch?  This patch mostly works but the bench-memcpy,
> bench-memcpy-large, and bench-memcpy-random tests get rerun everytime even
> if the .out files for those tests already exist.  I don't know why.  I am
> guessing is thas something to do with their common name prefix and the string
> manipulations done to test names in the Makefile but memset does not seem
> to have that problem.
>
> Steve Ellcey
> sellcey@cavium.com
Well, you can ignore the question about what is wrong with the patch, I
was removing the memcpy*.out files and that was why they got rerun. Â I
didn't see the rm command in my script and got confused.
While testing my changes I noticed that 'make bench-clean' does not
remove the *.out files. Â It removes the executables and object files
but not the *.out result files. Â So with my change 'make bench; make
bench-clean; make bench' resulted in the benchmarks getting rebuilt but
not rerun. Â I don't know if the decision to not remove *.out files was
intentional or an oversight.
Steve Ellcey
sellcey@cavium.com
More information about the Libc-alpha
mailing list