hypre/src/test/TEST_struct/lazy.sh
Rui Peng Li d003a2b781
Fix regression tests with-concurrent-hopscotch (#1013)
This PR fixes regressions with concurrent-hopscotch.
2023-11-20 12:09:19 -08:00

22 lines
775 B
Bash
Executable File

#!/bin/bash
# Copyright (c) 1998 Lawrence Livermore National Security, LLC and other
# HYPRE Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
TNAME=`basename $0 .sh`
tail -3 ${TNAME}.out.1.a | head -2 > ${TNAME}.testdata
tail -3 ${TNAME}.out.1.b | head -2 > ${TNAME}.testdata.temp
diff ${TNAME}.testdata ${TNAME}.testdata.temp >&2
tail -3 ${TNAME}.out.2.a | head -2 > ${TNAME}.testdata
tail -3 ${TNAME}.out.2.b | head -2 > ${TNAME}.testdata.temp
diff ${TNAME}.testdata ${TNAME}.testdata.temp >&2
#=============================================================================
# remove temporary files
#=============================================================================
rm -f ${TNAME}.testdata*