File: boot-regression

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 (37 lines) | stat: -rwxr-xr-x 649 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
25
26
27
28
29
30
31
32
33
34
35
36
37
#!/bin/sh

set -o errexit
set -o nounset
set -o noclobber

out=/tmp/boot-regression.$$.log

opt="-q --vanilla --no-save"

tests="
inst/models/passing/IntroSEM-BivariateRaw.R
inst/models/passing/JointFIMLRegressionTest.R
inst/models/passing/ifa-drm1.R
inst/models/passing/bivLognormDemo.R
"

for t in $tests; do
  echo -n "$t\t"
  if false; then
    R $opt -f $t
  else
    if ! /usr/bin/time --format "%E %F %R %c" bash -c "R $opt -f $t > $out 2>&1"; then
      cat $out
      exit
    else
      rm -f $out
    fi
  fi
done

exit 0

# -----------------------------------
# !! check psensor for overheating !!
# -----------------------------------