Dennis Korpel
c38a3523d9
tests_extractor.d: Upgrade libdparse
2024-04-27 16:40:57 +02:00
MoonlightSentinel
c9c01111f1
test_extractor: Bump libdparse to 0.19.0
2022-03-06 20:28:50 +01:00
MoonlightSentinel
ab9a5abab1
test_extractor: Skip versions passed via command line
...
Allows Phobos/... to define tests that should not be executed on the
command line.
2021-04-25 05:31:53 +02:00
MoonlightSentinel
355e5cd711
Remove unused code from test_extractor.d
...
`hasDdocHeader` was only called if `decl.unittest_` wasn't null and
hence only executed the first if-branch.
The remainder of that method is obsolete because dparse sets `comment`
even for empty ddoc comments (see dlang-community/libdparse#401 ).
Relying on dparse also removes some false positives/negatives, e.g.
```
///
// Some comment
unittest {} // Ignored
////////////////////////////////////////////////////////////////////////////////
// Unit Tests
////////////////////////////////////////////////////////////////////////////////
unittest {} // Extracted
```
2020-06-24 22:57:52 +02:00
MoonlightSentinel
4a3391511f
Update libdparse dependency of test_extractor.d (again)
2020-06-24 21:53:09 +02:00
Florian
46c4830792
Update libdparse dependency of test_extractor.d
2020-04-26 18:41:46 +02:00
ZombineDev
90de6f11ff
Fix issue 20386 - extract @betterC unit tests into regular functions
2019-11-13 08:38:11 +02:00
Sebastian Wilzbach
e7c8a259c4
tests_extractor: extract pure + nothrow too
2019-05-15 09:23:21 +02:00
Sebastian Wilzbach
cee8eda5bc
Parse unittest attributes and write them to the publictest tester
2019-05-14 20:14:58 +02:00
Sebastian Wilzbach
3ea284b3b6
Bump libdparse to 0.10.12
2019-01-10 19:05:06 +01:00
Sebastian Wilzbach
b2cb7b86d6
Add -betterC unittest output
2018-08-13 21:26:36 +02:00
Sebastian Wilzbach
ca5384dd1b
Support parsing only specific unittests (e.g. @betterc-test)
2018-07-31 16:17:06 +02:00
Sebastian Wilzbach
a65ce2f24e
Display the correct line number when executing the extracted public tests
2018-06-24 20:35:54 +02:00
Sebastian Wilzbach
40ff32ec60
Allow using the tools repo via DUB
2018-06-17 14:28:13 +02:00
Sebastian Wilzbach
6b7ef76d67
Bump libdparse
2017-12-22 13:15:34 +01:00
Sebastian Wilzbach
1d0ec6fe1f
Upgrade libdparse
2017-07-05 00:05:07 +02:00
Sebastian Wilzbach
245187c7b5
Make scripts executable + runnable
2017-07-03 02:09:29 +02:00
Sebastian Wilzbach
7dae026d4a
Cleanup up styles directory
...
- has_public_example has been moved to Dscanner
- Reduce to a DUB single file setup for simplicity
2017-06-20 07:35:53 +02:00