Commit graph

2290 commits

Author SHA1 Message Date
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
d312775f99 TW #1973: Don't nag when no tasks are READY
- Thanks to Martin F. Krafft
2018-03-18 11:09:34 -04:00
Simon Ruderich
e817dfc800 Always use https:// link for opensource.org
It was already used in a few places, make this consistent.
2018-03-04 14:53:07 +01:00
Federico Hernandez
4ffdfe817f Changed to a more generic URL for testing 2018-02-18 00:30:13 +01:00
Jakub Wilk
e36145b4fa 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-02-17 13:59:29 +01:00
Paul Beckingham
4a929197ae Build: C++14 support added 2018-02-16 22:04:29 -05:00
Paul Beckingham
8699b60690 - Thanks to php-coder 2018-02-16 21:50:14 -05:00
Paul Beckingham
eca40844ad Docs: Updated URLs 2018-02-08 22:08:59 -05:00
Paul Beckingham
765db3093a Docs: Updated URLs 2018-02-07 08:40:38 -05:00
Mark Scannell
7af6db4c17 Portability: Updated to make main re-entrant()
- New INSTALL instructions to emscripten, and AUTHORS for contribution.
2018-01-31 19:45:07 -05:00
Paul Beckingham
cac258ef72 Lexer: Migrated to unicodeWhitespace 2018-01-25 00:47:23 -05:00
Paul Beckingham
751ae17b22 TW-1947: "urgency.over" filter seems to not work correct
- Thanks to Marc Richter.
2018-01-24 23:57:44 -05:00
Paul Beckingham
0ec2fb03c2 Tests: Fixed broken color merge tests 2018-01-24 21:53:26 -05:00
Paul Beckingham
f7d47b8ee6 Tests: Fixed brokend color.footnote test 2018-01-24 21:51:48 -05:00
Paul Beckingham
0de169bb10 Copyright 2018 2017-12-31 19:22:07 -05:00
Paul Beckingham
ce6e2afb57 Test: Improved C+ Core Guidelines compliance 2017-12-09 23:05:31 -05:00
Paul Fenwick
138f6ffed3 test/problems: Updated to handle TAP spec output 2017-12-02 12:22:14 -05:00
Paul Fenwick
5ec91026ed 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
2017-12-02 12:06:54 -05:00
Tomas Babej
47cfc0b28b tests: Add tests for complex and-or queries 2017-06-12 15:34:01 +02:00
Paul Beckingham
9f0a71f4b6 Tests: Added dom tests 2017-04-30 00:00:30 -04:00
Paul Beckingham
b34a51710e Tests: Added tw.version DOM test 2017-04-29 11:25:12 -04:00
Paul Beckingham
fc58d1e14d Tests: Added first DOM test 2017-04-29 11:10:43 -04:00
Paul Beckingham
c8318ce7cb Tests: Renamed dom.t to make way for new DOM object tests 2017-04-29 10:56:22 -04:00
Paul Beckingham
8113eae006 Tests: Added WAITING tests 2017-03-23 22:49:07 -04:00
Paul Beckingham
92ededda71 Tests: Added UNTIL tests 2017-03-23 22:48:58 -04:00
Paul Beckingham
322ff9e653 Tests: Added INSTANCE tests 2017-03-23 22:48:39 -04:00
Paul Beckingham
b0636bda2f Tests: Added TEMPLATE tests 2017-03-23 22:48:00 -04:00
Paul Beckingham
0de91e68c7 Tests: Added SCHEDULED tests 2017-03-23 22:47:40 -04:00
Paul Beckingham
79513ea17f Tests: Added READY tests 2017-03-23 22:47:16 -04:00
Paul Beckingham
d4643982ff Tests: Made history tests independent of TZ 2017-03-23 08:26:49 -04:00
Paul Beckingham
0c3ca1862d Tests: Fixed bad regexes 2017-03-23 01:53:05 -04:00
Paul Beckingham
640a90e473 Tests: Fixed bad duplicate class/method name 2017-03-23 01:52:43 -04:00
Paul Beckingham
bc7154c9cd Tests: Fixed spaing issue in history test 2017-03-23 01:10:18 -04:00
Paul Beckingham
a9e65e7e61 Tests: Removed strippedLength() tests 2017-03-23 01:02:06 -04:00
Paul Beckingham
60220546c1 Tests: Removed taskd group features from test framework 2017-03-20 22:23:08 -04:00
Paul Beckingham
410bd2a22a Tests: Disabled ambiguous test (matching libshared) 2017-03-20 09:02:37 -04:00
Paul Beckingham
4f6c44e5c1 Tests: Syntax error in Python that went unnoticed 2017-03-19 17:27:40 -04:00
Paul Beckingham
b2810aa0c2 Tests: Lexer tests now stable with Datetime/duration features disabled 2017-03-19 10:05:25 -04:00
Paul Beckingham
111e36ed8c Tests: Named date tests migrated to libshared 2017-03-05 15:03:14 -05:00
Paul Beckingham
b65550e620 Tests: Eliminated old-style EOD math 2017-03-05 09:35:34 -05:00
Paul Beckingham
36e67a0c71 Tests: Corrected lexer data type for newly-supported date types 2017-03-05 09:35:13 -05:00
Paul Beckingham
9b0b314618 Tests: Eliminated namedDates 2017-03-05 09:34:30 -05:00