Commit df3ae64
Go: move extractor smoke test into integration tests
The standalone `go/extractor-smoke-test` (run only from `go/Makefile`'s
`test` target) was redundant: its core invariant, that traced and untraced
extraction produce the same result, is already asserted by the
`test-extraction` integration test, whose traced and autobuild cases share a
single `test.expected`. The control-flow query it ran is covered far more
thoroughly by the CFG library test.
The only combination not reproduced was autobuild under build tracing, so add
a `test_autobuild_traced` case to `test-extraction` and delete the smoke test.
Co-authored-by: Copilot App <223556219+Copilot@users.noreply.github.com>1 parent 97e3d36 commit df3ae64
8 files changed
Lines changed: 9 additions & 55 deletions
File tree
- go
- extractor-smoke-test
- ql/integration-tests/test-extraction
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
11 | 11 | | |
12 | 12 | | |
13 | 13 | | |
14 | | - | |
15 | 14 | | |
16 | 15 | | |
17 | 16 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
58 | 58 | | |
59 | 59 | | |
60 | 60 | | |
61 | | - | |
62 | 61 | | |
63 | 62 | | |
64 | 63 | | |
| |||
This file was deleted.
This file was deleted.
This file was deleted.
This file was deleted.
This file was deleted.
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
5 | 5 | | |
6 | 6 | | |
7 | 7 | | |
| 8 | + | |
| 9 | + | |
| 10 | + | |
| 11 | + | |
| 12 | + | |
| 13 | + | |
| 14 | + | |
| 15 | + | |
| 16 | + | |
0 commit comments