diff options
author | Akim Demaille <akim.demaille@gmail.com> | 2020-06-29 07:43:15 +0200 |
---|---|---|
committer | Akim Demaille <akim.demaille@gmail.com> | 2020-06-29 19:10:05 +0200 |
commit | cd6ef1e7d7ce905263a9d347a9f0cbaf284312f7 (patch) | |
tree | be74e6ea2756e4fbda93f12d302f2246bb4dd165 /etc | |
parent | 2b518d621f515faca9b76c37720c4d82de142795 (diff) | |
download | bison-cd6ef1e7d7ce905263a9d347a9f0cbaf284312f7.tar.gz |
bench: simplify the `rand` target
* etc/bench.pl.in: There is no need to recompile the bench cases
themselves.
Diffstat (limited to 'etc')
-rwxr-xr-x | etc/bench.pl.in | 4 |
1 files changed, 3 insertions, 1 deletions
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 |