diff options
author | Ole Troan <ot@cisco.com> | 2020-05-19 12:33:00 +0200 |
---|---|---|
committer | Ole Troan <ot@cisco.com> | 2020-05-19 13:32:47 +0200 |
commit | deecc93bd9a8d4fdf507659894c9850e337636e4 (patch) | |
tree | f30eb5712c9bebcde8843004ed8544205fe3a655 /extras/scripts/tests/test_crcchecker.sh | |
parent | e30f1e92ebb7fb42a2a06fe7ee50415eef6add1c (diff) |
vppapigen: handle new api file for crcchekcer
Type: fix
Signed-off-by: Ole Troan <ot@cisco.com>
Change-Id: I1b3ae8b348eb3cba628a55ea3e72e85b9a4288d5
Diffstat (limited to 'extras/scripts/tests/test_crcchecker.sh')
-rwxr-xr-x | extras/scripts/tests/test_crcchecker.sh | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/extras/scripts/tests/test_crcchecker.sh b/extras/scripts/tests/test_crcchecker.sh index 7cfda086483..e275bd9d6bf 100755 --- a/extras/scripts/tests/test_crcchecker.sh +++ b/extras/scripts/tests/test_crcchecker.sh @@ -129,6 +129,17 @@ verify_check_patchset_fails # get rid of the "erroneous" commit in the previous test git reset --hard HEAD~1 +echo "TEST14: Verify we handle new .api file" +cat >crccheck3.api <<EOL +autoreply define foo +{ + bool bar; +}; +EOL +git add crccheck3.api +git commit -m "a new message in new file"; +extras/scripts/crcchecker.py --check-patchset + echo "TEST: All tests got the expected result, cleaning up." # done with all the tests - clean up |