Add the new test suite.
This test suite has been in use for a long time now, in place of the obsolete and unmanageable testparser.py and testfuncs.py. It verifies the complete optimizer output to stdout and stderr, to ensure that the output matches the expectations. See unit_tests/README.txt for more info.
This commit is contained in:
11
unit_tests/preproc.suite/metadata-passing-mcpp.lsl
Normal file
11
unit_tests/preproc.suite/metadata-passing-mcpp.lsl
Normal file
@@ -0,0 +1,11 @@
|
||||
#define VERBATIM_STRINGIFY(x) #x
|
||||
#define STRINGIFY(x) VERBATIM_STRINGIFY(x)
|
||||
default{state_entry(){
|
||||
__AGENTID__;
|
||||
__AGENTKEY__;
|
||||
STRINGIFY(__AGENTIDRAW__);
|
||||
__LINE__;
|
||||
__SHORTFILE__;
|
||||
__AGENTNAME__;
|
||||
STRINGIFY(__ASSETID__);
|
||||
}}
|
||||
Reference in New Issue
Block a user