From cd6ef1e7d7ce905263a9d347a9f0cbaf284312f7 Mon Sep 17 00:00:00 2001 From: Akim Demaille Date: Mon, 29 Jun 2020 07:43:15 +0200 Subject: bench: simplify the `rand` target * etc/bench.pl.in: There is no need to recompile the bench cases themselves. --- etc/bench.pl.in | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'etc') diff --git a/etc/bench.pl.in b/etc/bench.pl.in index 2f669091..292041dc 100755 --- a/etc/bench.pl.in +++ b/etc/bench.pl.in @@ -954,9 +954,11 @@ EOF bench: main \t./main \$(BENCHFLAGS) | tee -a README.md +# Link the bench cases in a different order to run the bench case in a +# different order. .PHONY: rand rand: -\t-rm main \$(OBJECTS) +\t-rm main \tmake bench OBJECTS="\$\$(shuf -e \$(OBJECTS) | xargs)" EOF -- cgit v1.2.1