| 1 | #!/bin/sh -e |
| 2 | |
| 3 | pkgname=rlang |
| 4 | debname=r-cran-rlang |
| 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 | cp -a /usr/share/doc/$debname/tests/ $AUTOPKGTEST_TMP |
| 11 | cd $AUTOPKGTEST_TMP/tests |
| 12 | gunzip -r * |
| 13 | # Skip tests that fail only on debci infrastructure, see #912004 |
| 14 | rm -f testthat/test-env-binding.R testthat/test-env.R |
| 15 | for testfile in *.R; do |
| 16 | echo "BEGIN TEST $testfile" |
| 17 | # LC_ALL=C.UTF-8 R --no-save < $testfile |
| 18 | #── Failure ('test-vec.R:87:3'): variadic ctors still work without warnings (#1210) ── |
| 19 | #`{ ... }` threw an unexpected warning. |
| 20 | #Message: Changing language has no effect when envvar LC_ALL='C.UTF-8' |
| 21 | #Class: simpleWarning/warning/condition |
| 22 | R --no-save < $testfile |
| 23 | done |