aboutsummaryrefslogtreecommitdiffstats
path: root/testscript
diff options
context:
space:
mode:
authorbloodstalker <thabogre@gmail.com>2020-06-04 14:25:14 +0000
committerbloodstalker <thabogre@gmail.com>2020-06-04 14:25:14 +0000
commit2948f61947b9790a29d34fc48d8e5683467919db (patch)
treeceff93e8c5a38fa9b0056b432672e7205bf5f0d8 /testscript
parentadding llvm11 to travis (diff)
downloadcgrep-2948f61947b9790a29d34fc48d8e5683467919db.tar.gz
cgrep-2948f61947b9790a29d34fc48d8e5683467919db.zip
added a new switch:recorddecl. the test script is still WIP.
Diffstat (limited to 'testscript')
-rwxr-xr-xtestscript/main.py14
1 files changed, 14 insertions, 0 deletions
diff --git a/testscript/main.py b/testscript/main.py
index 1015b21..285f993 100755
--- a/testscript/main.py
+++ b/testscript/main.py
@@ -24,6 +24,20 @@ cgrep_test_args = [
"--struct --regex [sS]truct ./test/main.cpp",
"--dir ./ --regex run --func",]
+cgrep_test_args_2 = [
+ "--regex test --func",
+ "--regex test --fielddecl",
+ "--regex test --memfunc",
+ "--regex test --var",
+ "--regex test --class",
+ "--regex test --struct",
+ "--regex test --union",
+ "--regex test --nameddecl",
+ "--regex test --declrefexpr",
+ "--regex test --call",
+ "--regex test --cxxcall",
+ "--regex test --",
+ ]
class Argparser(object):
def __init__(self):