File: mr1991-regression

package info (click to toggle)
r-cran-openmx 2.21.1%2Bdfsg-1
  • links: PTS, VCS
  • area: main
  • in suites: bookworm
  • size: 14,412 kB
  • sloc: cpp: 36,577; ansic: 13,811; fortran: 2,001; sh: 1,440; python: 350; perl: 21; makefile: 5
file content (30 lines) | stat: -rwxr-xr-x 437 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
#!/bin/sh

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

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

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

tests="
 passing/ifa-drm-mg2.R
 nightly/ifa-ms.R
 nightly/ifa-cai2009.R
 nightly/fm-example2-1.R
"

for t in $tests; do
  echo inst/models/$t
  if false; then
    R $opt -f inst/models/$t
  else
    if ! R $opt -f inst/models/$t > $out 2>&1; then
      cat $out
      exit
    else
      rm -f $out
    fi
  fi
done