#!/bin/sh -e debname=r-cran-brio if [ "$AUTOPKGTEST_TMP" = "" ] ; then AUTOPKGTEST_TMP=`mktemp -d /tmp/${debname}-test.XXXXXX` trap "rm -rf $AUTOPKGTEST_TMP" 0 INT QUIT ABRT PIPE TERM fi cd $AUTOPKGTEST_TMP cp -a /usr/share/doc/$debname/tests $AUTOPKGTEST_TMP gunzip -r * cd tests hostarch=$(dpkg-architecture -qDEB_HOST_ARCH) # Ignore single test on armhf and arm64 if [ "$hostarch" = "armhf" -o "$hostarch" = "arm64" -o "$hostarch" = "ppc64el" ] ; then sed -i -e '/^test_that."file_line_endings detects Unix line endings"/,/^})/d' testthat/test-file_line_endings.R fi for testfile in *.R; do echo "BEGIN TEST $testfile" LC_ALL=C.UTF-8 R --no-save < $testfile done
Generated by dwww version 1.15 on Thu Jun 27 11:28:48 CEST 2024.