Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
A
ayatana-indicator-power-git
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Locked Files
Issues
0
Issues
0
List
Boards
Labels
Service Desk
Milestones
Iterations
Merge Requests
0
Merge Requests
0
Requirements
Requirements
List
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Test Cases
Security & Compliance
Security & Compliance
Dependency List
License Compliance
Operations
Operations
Incidents
Environments
Packages & Registries
Packages & Registries
Package Registry
Container Registry
Analytics
Analytics
CI / CD
Code Review
Insights
Issue
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
manjaro-arm
P
packages
C
community
Lomiri Dev
ayatana-indicator-power-git
Commits
a196c58b
Commit
a196c58b
authored
Aug 10, 2020
by
fkardame
💬
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fixed systemd
parent
3f48b5bc
Pipeline
#545
failed with stage
Changes
2
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
3 additions
and
36 deletions
+3
-36
0002_add-testing-option.patch
0002_add-testing-option.patch
+0
-33
PKGBUILD
PKGBUILD
+3
-3
No files found.
0002_add-testing-option.patch
deleted
100644 → 0
View file @
3f48b5bc
--- a/CMakeLists.txt 2020-07-18 15:39:35.536651558 +0300
+++ b/CMakeLists.txt 2020-07-18 15:41:02.450541139 +0300
@@ -6,6 +6,8 @@
set(PROJECT_VERSION "2.0.94")
set(PACKAGE ${CMAKE_PROJECT_NAME})
+option (enable_tests "Build the package's automatic tests." ON)
+
##
## GNU standard installation directories
##
@@ -86,11 +88,13 @@
# testing & coverage
-enable_testing ()
-add_subdirectory(tests)
-find_package(CoverageReport)
-ENABLE_COVERAGE_REPORT(
- TARGETS ${SERVICE_LIB} ${SERVICE_EXEC}
- TESTS ${COVERAGE_TEST_TARGETS}
- FILTER /usr/include ${CMAKE_BINARY_DIR}/*
-)
+if (${enable_tests})
+ enable_testing ()
+ add_subdirectory(tests)
+ find_package(CoverageReport)
+ ENABLE_COVERAGE_REPORT(
+ TARGETS ${SERVICE_LIB} ${SERVICE_EXEC}
+ TESTS ${COVERAGE_TEST_TARGETS}
+ FILTER /usr/include ${CMAKE_BINARY_DIR}/*
+ )
+endif ()
PKGBUILD
View file @
a196c58b
...
...
@@ -2,8 +2,8 @@
pkgname
=
"ayatana-indicator-power-git"
_pkgname
=
"ayatana-indicator-power"
pkgver
=
1
pkgrel
=
"1"
pkgver
=
git_r1057
pkgrel
=
1
pkgdesc
=
"Ayatana Indicator showing power state"
arch
=(
"i686"
"x86_64"
"aarch64"
)
url
=
"https://github.com/AyatanaIndicators"
...
...
@@ -29,7 +29,7 @@ pkgver()
prepare
()
{
cd
${
_pkgname
}
patch
-Np1
-i
../0002_add-testing-option.patch
#
patch -Np1 -i ../0002_add-testing-option.patch
}
build
()
...
...
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