Debian Codegraph @

debian/tests/run-unit-test

raw symbols SCIP
1 #!/bin/sh -e
2
3 oname=curl
4 debname=r-cran-`echo $oname | tr [A-Z] [a-z]`
5
6 if [ "$AUTOPKGTEST_TMP" = "" ] ; then
7 AUTOPKGTEST_TMP=`mktemp -d /tmp/${debname}-test.XXXXXX`
8 trap "rm -rf $AUTOPKGTEST_TMP" 0 INT QUIT ABRT PIPE TERM
9 fi
10 cd $AUTOPKGTEST_TMP
11 cp -a /usr/share/doc/${debname}/tests/* $AUTOPKGTEST_TMP
12
13 # Authentication needs internet access which is permitted for autokpgtest
14 find . -name test-auth.R -delete
15 find . -name test-certificates.R -delete
16 find . -name test-errors.R -delete
17
18 LC_ALL=C.UTF-8 R --no-save < testthat.R