Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
r-cran-bayesplot
Manage
Activity
Members
Labels
Code
Merge requests
0
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Container Registry
Model registry
Operate
Environments
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Debian R Packages Maintainers
r-cran-bayesplot
Commits
8c5e06e2
Commit
8c5e06e2
authored
3 years ago
by
Andreas Tille
Browse files
Options
Downloads
Patches
Plain Diff
Normalise autopkgtest
parent
e7bd9494
No related branches found
Branches containing commit
No related tags found
Tags containing commit
No related merge requests found
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
debian/changelog
+1
-0
1 addition, 0 deletions
debian/changelog
debian/tests/run-unit-test
+2
-11
2 additions, 11 deletions
debian/tests/run-unit-test
with
3 additions
and
11 deletions
debian/changelog
+
1
−
0
View file @
8c5e06e2
...
...
@@ -8,6 +8,7 @@ r-cran-bayesplot (1.8.1-1) UNRELEASED; urgency=medium
r-cran-ggplot2.
* Drop patch for excluded test since Upstream skips test if ggfortify
is not available
* Normalise autopkgtest
-- Andreas Tille <tille@debian.org> Thu, 09 Sep 2021 10:48:29 +0200
...
...
This diff is collapsed.
Click to expand it.
debian/tests/run-unit-test
+
2
−
11
View file @
8c5e06e2
#!/bin/sh -e
pkgname
=
bayesplot
debname
=
r-cran-bayesplot
if
[
"
$AUTOPKGTEST_TMP
"
=
""
]
;
then
...
...
@@ -8,17 +7,9 @@ if [ "$AUTOPKGTEST_TMP" = "" ] ; then
trap
"rm -rf
$AUTOPKGTEST_TMP
"
0 INT QUIT ABRT PIPE TERM
fi
cd
$AUTOPKGTEST_TMP
cp
-a
/usr/share/doc/
$debname
/tests
/
*
$AUTOPKGTEST_TMP
cp
-a
/usr/share/doc/
$debname
/tests
$AUTOPKGTEST_TMP
gunzip
-r
*
# FIXME: Hack around a problematic test
# One test results in
# -- 1. Error: Searches with entities work (#241) (@test-xml_find.R#136) --------
# Can't find `tests/testthat` in current directory.
# The following circumvents this by some not so clean trick
mkdir
testthat/tests
ln
-s
$(
pwd
)
/testthat testthat/tests/testthat
cd
tests
for
testfile
in
*
.R
;
do
echo
"BEGIN TEST
$testfile
"
LC_ALL
=
C.UTF-8 R
--no-save
<
$testfile
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment