File: memoryTestModels.sh

package info (click to toggle)
r-cran-openmx 2.21.13%2Bdfsg-1
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid, trixie
  • size: 13,716 kB
  • sloc: cpp: 36,559; ansic: 13,821; fortran: 2,001; sh: 1,440; python: 350; perl: 21; makefile: 11
file content (24 lines) | stat: -rwxr-xr-x 446 bytes parent folder | download | duplicates (3)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
#!/bin/bash

DIR1=demo
DIR2=models/passing

pushd $DIR1

for f in *.R
do
  echo "Running $f..."
  R -d "valgrind --tool=memcheck --leak-check=full --track-origins=yes --suppressions=../inst/tools/OpenMx.supp" --vanilla --slave < $f
done

popd

pushd $DIR2

for f in *.R
do
  echo "Running $f..."
  R -d "valgrind --tool=memcheck --leak-check=full --track-origins=yes --suppressions=../../inst/tools/OpenMx.supp" --vanilla --slave < $f
done

popd