Commit graph

12 commits

Author SHA1 Message Date
Costa Shulyupin
47a6001385 parse linux system calls definitions
fixes #222
2023-05-15 14:58:57 +02:00
Chris White
868b8676b8 Add test of #192 2020-10-26 21:43:11 -04:00
Chris White
ff6a55bb57 Added test of #188 2020-10-15 20:32:04 -04:00
Chris White
90392b543d doc-comment tests: add counterexamples for issue186
Issue 186 relates to symbols that are not documented.  Add tests for
symbols that are documented in a file of the same structure.
2020-10-10 17:22:26 -04:00
Chris White
68232f8fba Added test file and test for #186 2020-10-10 17:04:26 -04:00
Chris White
4ea9120101 Add test file for issue-134-specific tests
New file t/tree/issue134.c exercises the bugs noted in
<https://github.com/bootlin/elixir/issues/134#issue-624392766>.
I did not copy in the files listed in that comment because those files
are GPL-2.0-only or an unspecified GPL license, not GPL-2.0-or-later.
2020-10-03 21:59:39 -04:00
Chris White
9d8b213862 Add test file t/tree/include/linux/memblock.h
Per <https://github.com/bootlin/elixir/issues/78#issuecomment-632611233>.
Copied from Linux 5.6, at
<https://elixir.bootlin.com/linux/v5.6/source/include/linux/memblock.h>.

This file is GPL-2.0-or-later.
2020-10-03 21:58:27 -04:00
Christopher White
9ebed89cbe Added additional test files
- drivers/firmware/broadcom/bcm74xx_sprom.c is GPL 2+
- arch/arm/xen/hypercall.S, when distributed with Elixir, is
  MIT-like.
2020-06-04 08:25:31 -04:00
Christopher White
85f83574cf Added test of function definitions in .S files
Issue 150
2020-06-03 11:01:42 -04:00
Chris White
d3664c5704 Add tests of struct class (#131)
This adds a file and a test to detect the issue reported in #131
2020-05-25 12:54:00 -04:00
Chris White
a171485c4f doc-comments: support uncommented first function
If the first function in a file does not have a doc comment, do not
run off the beginning of the file.  Fixes #102.

Also:
- Add t/tree/issue102.c that exhibits this bug.
- in find-file-doc-comments.pl and script.sh, exit with a nonzero code
  if this should recur.
2020-04-04 12:21:45 -04:00
Christopher White
b22a562b5b Added files copied from Linux v5.4
These files all carry SPDX GPL2+ indicators.  Based on the information
available to me, I have a good-faith belief that they can be combined
into this AGPLv3 project and licensed AGPLv3.

This commit only touches t/tree.  Therefore, if the test suite later
needs to be changed, it will be sufficient to revert this commit.

The files used are those involved in the x64 compilation of
drivers/i2c/i2c-core-base.c, filtered to remove any that aren't
tagged GPL2+.

Note that t/tree itself is not a Git repo or submodule.  It is a
collection of files that test scripts can use to populate a Git repo.
2020-02-21 15:31:57 -05:00