File: run-unit-test

package info (click to toggle)
r-cran-bbmisc 1.13-1
  • links: PTS, VCS
  • area: main
  • in suites: bookworm, forky, sid, trixie
  • size: 1,248 kB
  • sloc: ansic: 176; sh: 9; makefile: 5
file content (11 lines) | stat: -rw-r--r-- 277 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
10
11
#!/bin/sh -e

pkg=r-cran-bbmisc
if [ "$AUTOPKGTEST_TMP" = "" ] ; then
  AUTOPKGTEST_TMP=`mktemp -d /tmp/${pkg}-test.XXXXXX`
fi
cd $AUTOPKGTEST_TMP
cp -a /usr/share/doc/${pkg}/tests/* $AUTOPKGTEST_TMP
gunzip -r *
LC_ALL=C.UTF-8 R --no-save < run-all.R
rm -fr $AUTOPKGTEST_TMP/*