File: test

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 (11 lines) | stat: -rwxr-xr-x 220 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
10
11
#!/bin/sh

if ! test -x tools/test; then
  echo "$0: Error, run from the top level"
  exit 1
fi

time ${REXEC-R} --no-save <<EOF
library(testthat)
test_dir("tests/testthat", reporter="summary", stop_on_failure=TRUE)
EOF