tools/memory-model: Make judgelitmus.sh handle scripted Result: tag
authorPaul E. McKenney <paulmck@kernel.org>
Thu, 6 Jun 2019 09:13:27 +0000 (02:13 -0700)
committerPaul E. McKenney <paulmck@kernel.org>
Wed, 1 Dec 2021 01:48:15 +0000 (17:48 -0800)
commit87c5c3474f51c61b65cee8302c80c70b144ab381
tree12b88e1a0054eb02496e162785c04e029a0cdf79
parent43a74b9dd11b7bdd0d005215fd90e19a72ba6d67
tools/memory-model: Make judgelitmus.sh handle scripted Result: tag

The scripts that generate the litmus tests in the "auto" directory of
the https://github.com/paulmckrcu/litmus archive place the "Result:"
tag into a single-line ocaml comment, which judgelitmus.sh currently
does not recognize.  This commit therefore makes judgelitmus.sh
recognize both the multiline comment format that it currently does
and the automatically generated single-line format.

Signed-off-by: Paul E. McKenney <paulmck@kernel.org>
tools/memory-model/scripts/judgelitmus.sh