Brenden Matthews
e4fad17dc0
Apply clang-format.
2021-01-23 19:47:57 -06:00
Brenden Matthews
a3bc6a4ce6
Add recent fedora dists.
2021-01-23 19:39:59 -06:00
Brenden Matthews
ab0cdac0a6
Add dockerfiles for build matrix.
2021-01-23 18:53:24 -06:00
Brenden Matthews
283129e283
Apply clang-format.
2021-01-23 18:19:04 -06:00
isaac
36d685eb88
refactor and unit test
2021-01-23 18:00:53 -06:00
freddii
b62e115830
fixed wrong spelled words
2021-01-23 17:59:07 -06:00
Tomunu
9fe1ceeb32
Add Tests in new Test files ( #852 )
2019-06-20 14:51:39 -05:00
Travis Yaeger
0ca4a26d3b
Remove unused variable
...
Was failing Test because warnings were being treated as errors.
2019-06-02 13:25:02 -04:00
Travis Yaeger
7c074f5237
Add extern environ for Tests
...
This seems to be needed only for the OSX builds.
2019-06-02 13:25:02 -04:00
Travis Yaeger
0ad2119bb4
Remove REQUIRE from cpu Test
...
cpu_barval now has the same behavior as cpu_percentage when trying to
get info from a non-existent cpu.
2019-06-02 13:25:02 -04:00
Travis Yaeger
e6bb3d666a
Add more mem Tests to test-common
2019-06-02 13:25:02 -04:00
Travis Yaeger
d0e35e15f7
Add more Tests for variable_substitute
2019-06-02 13:25:02 -04:00
Travis Yaeger
dbaf31f9ce
Add Tests to test-common
2019-06-02 13:25:02 -04:00
Brenden Matthews
b8d956f884
Add clang 8 to builds.
...
Also added new librsvg functions, and ignore deprecation warnings on new
versions of librsvg.
Disable sccache on FreeBSD.
2019-04-14 14:42:59 -04:00
Kushagra Sinha
c352069b31
Add support for nested |exec| expressions
...
Nested exec expressions like ${execp echo '${execp echo hi}'} are not
evaluated correctly because parsing expressions like these generates and
registers new callbacks but we never wait for these callbacks to
complete before returning the result of the evaluation.
Fix this by re-evaluating expressions after running all pending
callbacks.
2019-03-03 13:24:23 -05:00
Brenden Matthews
40a438be3e
FreeBSD fixes, GitLab CI build improvements.
...
- use sccache for build caching
- add coverage reports as build artifacts
- add lcov-summary for coverage summary
- clean up/refactor CI yaml
This resolves the FreeBSD part of #754 .
2019-02-25 11:22:19 -05:00
Brenden Matthews
dc35a1b0a8
Add more build envs to GitLab CI.
...
Adding:
- clang-8
- gcc-5 through gcc-8
- fedora & centos builds
Fixing:
- mysqlclient default search path
- build on centos6
2019-02-24 09:46:45 -05:00
Brenden Matthews
90673cf161
Make GitLab build work with clang checks.
2019-02-23 17:13:19 -05:00
lasers
7eec746b82
update copyright year to 2019
2019-01-05 11:15:36 -06:00
Brenden Matthews
9c98ed4119
Fix CMake code for unit test discovery.
2018-12-28 13:38:19 -05:00
Brenden Matthews
212fda5757
Remove unused reporters.
2018-12-24 09:33:38 -05:00
Brenden Matthews
6c09affaf7
Add some basic unit tests.
...
Introduced the Catch2 unit testing framework.
2018-12-24 02:02:01 -05:00
Philip Kovacs
e4713dc790
use GLib GHashTable for port monitors
...
git-svn-id: https://conky.svn.sourceforge.net/svnroot/conky/trunk/conky1@806 7f574dfc-610e-0410-a909-a81674777703
2006-12-09 05:40:08 +00:00
Philip Kovacs
920eac02b6
moved hash sizing code into portmon lib, where it belongs
...
git-svn-id: https://conky.svn.sourceforge.net/svnroot/conky/trunk/conky@393 7f574dfc-610e-0410-a909-a81674777703
2005-11-11 20:46:42 +00:00
Philip Kovacs
5d9022d9df
corrected for interface changes in libtcp-portmon.h
...
git-svn-id: https://conky.svn.sourceforge.net/svnroot/conky/trunk/conky@392 7f574dfc-610e-0410-a909-a81674777703
2005-11-11 05:30:35 +00:00
Philip Kovacs
39dd056722
added cvs id tags
...
git-svn-id: https://conky.svn.sourceforge.net/svnroot/conky/trunk/conky@383 7f574dfc-610e-0410-a909-a81674777703
2005-11-10 00:41:24 +00:00
Philip Kovacs
26aaefdb9d
minor corrections to the tests
...
git-svn-id: https://conky.svn.sourceforge.net/svnroot/conky/trunk/conky@365 7f574dfc-610e-0410-a909-a81674777703
2005-11-01 05:01:02 +00:00
Philip Kovacs
7148272c49
added unit testing for port monitor stuff
...
git-svn-id: https://conky.svn.sourceforge.net/svnroot/conky/trunk/conky@362 7f574dfc-610e-0410-a909-a81674777703
2005-10-31 20:48:01 +00:00