File: log_valgrind.sh

package info (click to toggle)
imath 3.1.12-1
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid, trixie
  • size: 4,468 kB
  • sloc: cpp: 44,687; ansic: 171; sh: 153; python: 60; makefile: 32
file content (18 lines) | stat: -rwxr-xr-x 403 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
#!/usr/bin/env bash

# SPDX-License-Identifier: BSD-3-Clause
# Copyright (c) Contributors to the OpenEXR Project.

set -ex

LOGDIR="$1"

if [[ -d ${LOGDIR}/Testing/Temporary ]]; then 
	for log in ${LOGDIR}/Testing/Temporary/MemoryChecker.*.log; do 
		echo "========================== " ${log##*/} " ==========================" 
		cat $log 
		echo 
	done 
else 
	echo "Memcheck log files not found." 
fi