File: scanner.md

package info (click to toggle)
gobject-introspection 1.84.0-1
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid, trixie
  • size: 72,336 kB
  • sloc: ansic: 562,269; python: 23,692; xml: 16,240; yacc: 1,711; perl: 1,624; sh: 1,139; lex: 510; cpp: 487; makefile: 182; javascript: 15; lisp: 1
file content (18 lines) | stat: -rw-r--r-- 590 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
Introspection scanner
---------------------

- If you add a new warning to `annotationparser.py`, you should add new
  tests for it in `tests/scanner/annotationparser/gi`

- In case there are changes to the gir expected test files, the script
  `tests/scanner/update-expected-results.sh` can be used to update them in this
  way:

  ```
  tests/scanner/update-expected-results.sh <build-path>
  ```

- If you add a new warning elsewhere (`maintransformer.py`, etc), you
  should add a new test for it in `tests/warn/`

- Before pushing code to the repository, make sure to run `meson test`