Commit graph

13 commits

Author SHA1 Message Date
Costa Shulyupin
47a6001385 parse linux system calls definitions
fixes #222
2023-05-15 14:58:57 +02:00
Maxime Chretien (MixLeNain)
10f08e33ea test: Remove defs from refs results
Signed-off-by: Maxime Chretien (MixLeNain) <mchretien@linuxmail.org>
2020-12-07 12:20:59 +01:00
Christopher White
1a26548527 t/100: update to look in specific section [minor]
Use the {def} and {ref} features of run_produces_ok() to look for
regexes only in the correct sections.  This improves the ability of the
test to detect regressions.
2020-06-04 08:35:38 -04:00
Christopher White
50b83a4376 Add ENTRY tests 2020-06-04 08:33:59 -04:00
Christopher White
85f83574cf Added test of function definitions in .S files
Issue 150
2020-06-03 11:01:42 -04:00
Michael Opdenacker
b6606359e0
Merge pull request #136 from cxw42/tests-issue-131
Add tests of `struct class` (#131)
2020-05-26 10:12:27 +02:00
Michael Opdenacker
7cec7659b2
Merge pull request #133 from cxw42/issue-129
API: Always set LXR_DATA_DIR and LXR_REPO_DIR based on LXR_PROJ_DIR.
2020-05-26 10:10:32 +02: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
299f762fdf Tests: don't use t/db/
- Documentation fix: TestEnvironment::build_db() doesn't take a parameter
- t/100: check for the temporary directory automatically created, not
  for t/db/.
- Remove .gitignore of t/db/
2020-05-23 15:45:39 -04:00
Chris White
5e7cab18ca Added/updated copyright notices; whitespace fixes
No functional changes
2020-05-23 15:14:21 -04:00
Maxime Chretien
fbe9fa0e72 tests: Add support for file families
And fix a problem in a test where an ident where wrongly identified by
ctags. It is fixed in the new ctags version.

Signed-off-by: Maxime Chretien <maxime.chretien@bootlin.com>
2020-05-22 10:29:24 +02:00
Christopher White
1db4fb8199 Refactor common test code into class
- Create new class t/TestEnvironment.pm.  A TestEnvironment instance
  owns a temporary Git repo and a temporary Elixir database directory.
- Update t/100-basic.t to use TestEnvironment.
- Add constant MUST_SUCCEED so `run_produces_ok()` calls are more
  self-documenting
2020-03-09 16:29:57 -04:00
Christopher White
fa7243638d Add automated test of basic functions
- Added test helpers in t/TestHelpers.pm
- Added basic test of update.py and query.py in t/100-basic.t
- Updated README:
    - Added automated-testing section
    - Formatted identifiers (i.e., added backticks)
2020-02-21 15:36:51 -05:00