From 5b7f00178f45149ecdce204f1c71c1598ceedac1 Mon Sep 17 00:00:00 2001 From: Hadriel Kaplan Date: Mon, 17 Feb 2014 11:45:57 -0500 Subject: Add test suite for verifying Lua global variables/tables of previous releases have not disappeared. Several bugs have been introduced due to changing of perl scripts or #define names, such that things exported into Lua have dissapeared or changed unintentionally. This commit adds a test suite which compares the Lua global table with the ones from previous releases (1.8 and 1.10), to verify nothing has gone missing. New items can be added, but old ones cannot go away. The added script to verify these things, called 'verify_globals.lua', also has the ability to display what's new - i.e., what was not in the olrder releases. Lastly, this commit also fixes a bug: MENU_STAT_ENDPOINT became MENU_STAT_ENDPOINT_LIST due to a change in the make-init-lua.pl perl script in this 1.11 release. Change-Id: Ic46172904256dc535b0fe4543237c07dddb3b9b5 Reviewed-on: https://code.wireshark.org/review/242 Reviewed-by: Evan Huus --- stat_menu.h | 1 + 1 file changed, 1 insertion(+) (limited to 'stat_menu.h') diff --git a/stat_menu.h b/stat_menu.h index 269fb0f387..e5f79bb268 100644 --- a/stat_menu.h +++ b/stat_menu.h @@ -47,6 +47,7 @@ extern "C" { * REGISTER_ANALYZE_GROUP_CONVERSATION * REGISTER_STAT_GROUP_CONVERSATION * REGISTER_STAT_GROUP_RESPONSE + * REGISTER_STAT_GROUP_ENDPOINT * In other words, because there is a REGISTER_STAT_GROUP_RESPONSE_TIME, you cannot * add a REGISTER_STAT_GROUP_RESPONSE nor a REGISTER_STAT_GROUP_RESPONSE_FOOBAR * because they use the same "REGISTER_STAT_GROUP_RESPONSE" prefix. -- cgit v1.2.3