tools/memory-model: Make judgelitmus.sh ransack .litmus.out files
authorPaul E. McKenney <paulmck@kernel.org>
Wed, 20 Mar 2019 21:37:46 +0000 (14:37 -0700)
committerPaul E. McKenney <paulmck@kernel.org>
Fri, 24 Mar 2023 17:24:14 +0000 (10:24 -0700)
commit0838ba7e5b80e593af27bc5b682ee24e9e1e2ca6
tree0b873f073412dcf8d0d46c0b91256b5f61b0a07c
parent579ecb2e4108af3689b1b814fff23f6a69907dab
tools/memory-model: Make judgelitmus.sh ransack .litmus.out files

The judgelitmus.sh script currently relies solely on the "Result:"
comment in the .litmus file.  This is problematic when using the --hw
argument, because it is necessary to check the hardware model against
LKMM even in the absence of "Result:" comments.

This commit therefore modifies judgelitmus.sh to check the observation
in a .litmus.out file, in case one was generated by a previous LKMM run.

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