Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
aports
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Service Desk
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Operations
Operations
Incidents
Environments
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Rasmus Thomsen
aports
Commits
6b5172b4
Commit
6b5172b4
authored
Feb 14, 2019
by
Sören Tempel
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
testing/abduco: add check
parent
8cf45050
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
25 additions
and
3 deletions
+25
-3
testing/abduco/APKBUILD
testing/abduco/APKBUILD
+10
-3
testing/abduco/fix-tests.patch
testing/abduco/fix-tests.patch
+15
-0
No files found.
testing/abduco/APKBUILD
View file @
6b5172b4
...
...
@@ -2,7 +2,7 @@
# Maintainer:
pkgname
=
abduco
pkgver
=
0.6
pkgrel
=
0
pkgrel
=
1
pkgdesc
=
"Session management in a clean and simple way"
url
=
"http://www.brain-dump.org/projects/abduco/"
arch
=
"all"
...
...
@@ -12,13 +12,19 @@ depends_dev=""
makedepends
=
""
install
=
""
subpackages
=
"
$pkgname
-doc"
source
=
"http://www.brain-dump.org/projects/
$pkgname
/
$pkgname
-
$pkgver
.tar.gz"
source
=
"http://www.brain-dump.org/projects/
$pkgname
/
$pkgname
-
$pkgver
.tar.gz
fix-tests.patch"
builddir
=
"
$srcdir
"
/
$pkgname
-
$pkgver
build
()
{
make
-C
"
$builddir
"
}
check
()
{
cd
"
$builddir
"
./testsuite.sh
}
package
()
{
cd
"
$builddir
"
make
PREFIX
=
/usr
DESTDIR
=
"
$pkgdir
"
install
...
...
@@ -26,4 +32,5 @@ package() {
"
$pkgdir
"
/usr/share/doc/
$pkgname
/README.md
}
sha512sums
=
"3b70a5cc10f0a2743dcbdf6eebdcfcee0e4f4ff8c6ce0bf0aa9f55c3fa85ab43aa659997735e063eab36aba69f91be7bb5519f3f632bff1b9098f5179165c1f2 abduco-0.6.tar.gz"
sha512sums
=
"3b70a5cc10f0a2743dcbdf6eebdcfcee0e4f4ff8c6ce0bf0aa9f55c3fa85ab43aa659997735e063eab36aba69f91be7bb5519f3f632bff1b9098f5179165c1f2 abduco-0.6.tar.gz
0d9e5be04bfd9d0826c54d7a8ad8435dcd3559efd7eabca11ebab86f20acabd4d97e1c1fb81e895865e73034d4a2e278f409236f301a6d71ac907af66ced046b fix-tests.patch"
testing/abduco/fix-tests.patch
0 → 100644
View file @
6b5172b4
Without this change pgrep seems to return the PID of the abduco process
spawned in the previous line because it may not be removed yet. Removing
the pgrep invocation is not the best solution but good enough for now.
diff -upr abduco-0.6.orig/testsuite.sh abduco-0.6/testsuite.sh
--- abduco-0.6.orig/testsuite.sh 2019-02-14 11:33:19.521290879 +0100
+++ abduco-0.6/testsuite.sh 2019-02-14 11:33:29.361298623 +0100
@@ -55,7 +55,6 @@
expected_abduco_detached_output() {
check_environment() {
[ "`$ABDUCO | wc -l`" -gt 1 ] && echo Abduco session exists && exit 1;
- pgrep abduco && echo Abduco process exists && exit 1;
return 0;
}
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment