Python: Add copy of extractor tests

These get to live next to the existing library and query tests, and are
run as part of both the Python 2 and Python 3 language tests.
This commit is contained in:
Taus
2024-04-15 12:22:07 +00:00
parent d5073df24c
commit e45f6e9b24
182 changed files with 13695 additions and 0 deletions

View File

@@ -0,0 +1,2 @@
| Function g | 1 |
| Module test | 1 |

View File

@@ -0,0 +1,84 @@
f()
f()
f()
f()
f()
f()
f()
f()
f()
f()
f()
f()
f()
f()
f()
f()
f()
f()
f()
f()
f()
f()
f()
f()
f()
f()
f()
f()
f()
f()
f()
f()
f()
f()
f()
f()
f()
f()
f()
f()
def g():
f()
f()
f()
f()
f()
f()
f()
f()
f()
f()
f()
f()
f()
f()
f()
f()
f()
f()
f()
f()
f()
f()
f()
f()
f()
f()
f()
f()
f()
f()
f()
f()
f()
f()
f()
f()
f()
f()
f()
f()

View File

@@ -0,0 +1,4 @@
import python
from Scope s
select s.toString(), count(BasicBlock bb | bb.getScope() = s)