diff options
author | Nick Mathewson <nickm@torproject.org> | 2019-07-30 12:07:40 -0400 |
---|---|---|
committer | Nick Mathewson <nickm@torproject.org> | 2019-07-30 12:14:46 -0400 |
commit | 8d3f3e5d30fa97479bc218a2896cb538ea220514 (patch) | |
tree | 112be97e785fa2e935a4be16da83ba8d8e4e64b1 /scripts/maint/practracker/testdata/ex0-expected.txt | |
parent | a79e2c2975f478045c1a3a6fdd34d22d355cce8b (diff) | |
download | tor-8d3f3e5d30fa97479bc218a2896cb538ea220514.tar.gz tor-8d3f3e5d30fa97479bc218a2896cb538ea220514.zip |
Practracker: add an integration test.
This test runs practracker with a set of 0 thresholds, to make sure
that it enumerates all its values right. It tries running with an
empty exceptions file, and with an exceptions file that covers
_some_ of the data, and it makes sure that the outputs are as expected.
Diffstat (limited to 'scripts/maint/practracker/testdata/ex0-expected.txt')
-rw-r--r-- | scripts/maint/practracker/testdata/ex0-expected.txt | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/scripts/maint/practracker/testdata/ex0-expected.txt b/scripts/maint/practracker/testdata/ex0-expected.txt new file mode 100644 index 0000000000..c021e6f710 --- /dev/null +++ b/scripts/maint/practracker/testdata/ex0-expected.txt @@ -0,0 +1,7 @@ +problem file-size a.c 38 +problem include-count a.c 4 +problem function-size a.c:i_am_a_function() 9 +problem function-size a.c:another_function() 12 +problem file-size b.c 15 +problem function-size b.c:foo() 4 +problem function-size b.c:bar() 5 |