File: autopkgtest-pkg-r.hook

package info (click to toggle)
r-bioc-scuttle 1.8.4%2Bdfsg-1
  • links: PTS, VCS
  • area: main
  • in suites: bookworm
  • size: 888 kB
  • sloc: cpp: 508; sh: 7; makefile: 2
file content (10 lines) | stat: -rw-r--r-- 518 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
10
#!/bin/sh -e

hostarch=$(dpkg-architecture -qDEB_HOST_ARCH)
# Ignore single test on armhf and ppc64el
if [ "$hostarch" = "armhf" -o "$hostarch" = "ppc64el" ] ; then
  sed -i -e '/^test_that."librarySizeFactors works as expected"/,/^})/d' tests/testthat/test-size-factors.R
  sed -i -e '/^test_that."logNormCounts works for SCE objects (.*)"/,/^})/d' \
         -e '/^test_that."logNormCounts works for SE objects"/,/^})/d' \
	 -e '/^test_that."normalizeCounts works as expected"/,/^})/d' tests/testthat/test-norm.R
fi