Commit graph

2605 commits

Author SHA1 Message Date
Tomas Babej
55ee8c9233 tests: Install libfaketime in all containers 2019-01-01 20:19:52 -05:00
Tomas Babej
9b690fca57 tests: Improve bytes python3 compatibility 2019-01-01 20:11:13 -05:00
Tomas Babej
7aac91f29f tests: due:yesterday does not match current year on 1st of January 2019-01-01 20:02:20 -05:00
Tomas Babej
0e052b6415 tests: We are enforcing C++14 compliance
From the 2.6.0 version onwards we are enforcing C++14 compliance. Test
accordingly.
2019-01-01 19:46:32 -05:00
Tomas Babej
ef3c1bc090 tests: mkstemp_exec needs argument in bytes 2019-01-01 19:44:39 -05:00
Tomas Babej
cd52782d2f tests: Fix incorrect assert method 2019-01-01 19:44:39 -05:00
Tomas Babej
07c21e79ad tests: Do not use filter objects
The filter objects are not well handled by the unittest framework, pass
a concrete number of occurences instead.
2019-01-01 19:44:39 -05:00
Tomas Babej
7c37940549 tests: Encode input data for the subprocess
Needed for Python2/3 compatibility.
2019-01-01 19:09:54 -05:00
Tomas Babej
f55468d5aa tests: Use verbose output when running the tests 2019-01-01 15:44:19 -05:00
Tomas Babej
675b8e2798 tests: Do not explicitly require Python 2.7 2019-01-01 14:53:44 -05:00
Tomas Babej
8ae7e1677b tests: Add Archlinux 2018 platform 2019-01-01 14:25:57 -05:00
Tomas Babej
86c7c84fec tests: Add OpenSUSE platform 2019-01-01 14:10:23 -05:00
Tomas Babej
dcbefe51bb tests: Add Debian Testing as a platform 2019-01-01 13:51:47 -05:00
Tomas Babej
a50f442c10 tests: Add gentoo platform 2019-01-01 13:25:07 -05:00
Tomas Babej
eed5a30ecc tests: Add support for Fedora 29 2019-01-01 12:01:24 -05:00
Tomas Babej
4dbad4c1e2 tests: Add testing support for Ubuntu 18.04 2019-01-01 12:00:19 -05:00
Tomas Babej
043bcbfb2f tests: Properly set the xtrace flag 2019-01-01 11:12:02 -05:00
Tomas Babej
90170a5820 tests: Add OS X test sript 2019-01-01 11:04:24 -05:00
Tomas Babej
a7baa9fef2 tests: Add test container for Debian Stable 2019-01-01 09:34:09 -05:00
Tomas Babej
ac8c6d52fc tests: Change default command of the test containers to end with ./problems
This makes sure that non-zero return code is propagated out of the
container.
2019-01-01 09:33:29 -05:00
Tomas Babej
9a8890f479 test: Workaround the cyclic dependencies between the libraries 2019-01-01 08:59:46 -05:00
Tomas Babej
3e41a4b01f test: Add fedora28 and ubuntu1604 dockerfiles
These dockerfiles can be used to run taskwarrior's test suite on the
respective platforms using the following commands:

$ cd taskwarrior.git
$ docker build -t test-tw-fedora28 -f test/docker/fedora28 .
$ docker run test-tw-fedora28

For ubuntu, replace fedora28 with ubuntu1604.
2019-01-01 08:48:36 -05:00
Tomas Babej
8066e4e6e2 meta: Update copyright year 2019-01-01 08:46:21 -05:00
Janik Rabe
32b3afc8d0
Do not set CMP0037 on CMake 3.11.0 and above
This policy is no longer necessary because CMake issue #16062, which
caused incorrect warnings to be shown, has been resolved in 3.11.0.
2018-08-11 15:38:28 +03:00
Paul Beckingham
24a68b2ad8 TW #1973: Don't nag when no tasks are READY
- Thanks to Martin F. Krafft
2018-05-14 01:03:54 -04:00
Simon Ruderich
c7edf914e1 Always use https:// link for opensource.org
It was already used in a few places, make this consistent.
2018-05-14 01:00:23 -04:00
Federico Hernandez
11a281b862 Changed to a more generic URL for testing 2018-05-14 00:55:57 -04:00
Jakub Wilk
23d63ccb44 Tests: Don't hardcode errno constants
The values of ENOENT and ESRCH are architecture-dependent, so don't
assume they're always 2 and 3.
2018-05-14 00:54:10 -04:00
Paul Beckingham
53088dae65 Build: C++14 support added 2018-05-14 00:53:32 -04:00
Paul Beckingham
2623d101e7 - Thanks to php-coder 2018-05-14 00:53:09 -04:00
Paul Beckingham
eed9664173 Docs: Updated URLs 2018-05-14 00:51:53 -04:00
Paul Beckingham
36fac4efe1 Docs: Updated URLs 2018-05-14 00:44:34 -04:00
Mark Scannell
c7f2739dda Portability: Updated to make main re-entrant()
- New INSTALL instructions to emscripten, and AUTHORS for contribution.
2018-05-14 00:40:59 -04:00
Paul Beckingham
49dedfbc86 Lexer: Migrated to unicodeWhitespace 2018-05-14 00:35:17 -04:00
Paul Beckingham
2c89688b46 TW-1947: "urgency.over" filter seems to not work correct
- Thanks to Marc Richter.
2018-05-14 00:34:46 -04:00
Paul Beckingham
e0dbf4b691 Tests: Fixed broken color merge tests 2018-05-14 00:34:22 -04:00
Paul Beckingham
41491843de Tests: Fixed brokend color.footnote test 2018-05-14 00:34:10 -04:00
Paul Beckingham
216d4d63bc Copyright 2018 2018-05-13 23:30:21 -04:00
Paul Beckingham
3ad683a370 Test: Improved C+ Core Guidelines compliance 2018-05-13 23:27:25 -04:00
Paul Fenwick
f767ef2f19 test/problems: Updated to handle TAP spec output 2018-05-13 23:25:11 -04:00
Paul Fenwick
3b46553f47 Improve TAP compliance in test suite
This allows tools like `prove` to operate on our test-suite, allowing us
to do things like run recently-failing tests first, randomising test
order, and fancier reporting options.

Changes made:

- TAP output always goes to STDOUT, never to STDERR
- Skipped tests signaled as `ok 1 # skip` as per standard
- Expected failures signaled as `not ok 1 # TODO` as per standard
- `.prove` added to .gitignore
2018-05-13 23:24:57 -04:00
Tomas Babej
f10d1432f3 tests: Add tests for complex and-or queries 2018-05-13 23:21:34 -04:00
Paul Beckingham
bbd764d249 Tests: Added dom tests 2018-05-13 23:20:14 -04:00
Paul Beckingham
0742e5fbbd Tests: Added tw.version DOM test 2018-05-13 23:18:59 -04:00
Paul Beckingham
d5a7769b4f Tests: Added first DOM test 2018-05-13 23:18:17 -04:00
Paul Beckingham
ba372e106f Tests: Renamed dom.t to make way for new DOM object tests 2018-05-13 23:18:00 -04:00
Paul Beckingham
71ca9e8c4c Tests: Added WAITING tests 2018-05-13 23:10:06 -04:00
Paul Beckingham
9078ce5976 Tests: Added UNTIL tests 2018-05-13 23:09:05 -04:00
Paul Beckingham
91b45925e9 Tests: Added SCHEDULED tests 2018-05-13 23:08:10 -04:00
Paul Beckingham
45dda0c9fd Tests: Added READY tests 2018-05-13 23:08:02 -04:00