root/trunk/ProjectFortress/parser_tests/XXXaa.test

Revision 4041, 1.1 KB (checked in by jrhil47, 4 months ago)

[errors] Major overhaul of application expression error messages. Fixed the sort on error messages to check numeric source file locations rather than merely lexicographic on strings. Added calibrate_tests.py script to reset the expected error output of the supplied test files.

Line 
1#    Copyright 2009 Sun Microsystems, Inc.,
2#    4150 Network Circle, Santa Clara, California 95054, U.S.A.
3#    All rights reserved.
4#
5#    U.S. Government Rights - Commercial software.
6#    Government users are subject to the Sun Microsystems, Inc. standard
7#    license agreement and applicable provisions of the FAR and its supplements.
8#
9#    Use is subject to license terms.
10#
11#    This distribution may include materials developed by third parties.
12#
13#    Sun, Sun Microsystems, the Sun logo and Java are trademarks or registered
14#    trademarks of Sun Microsystems, Inc. in the U.S. and other countries.
15
16tests=XXXPreparser.aa
17PREPARSER_TESTS_DIR=${FORTRESS_AUTOHOME}/ProjectFortress/parser_tests
18compile
19compile_err_equals=\
20${PREPARSER_TESTS_DIR}/XXXPreparser.aa.fss:21:9-23:12:\n\
21\ Opening label must match closing label.\n\
22${PREPARSER_TESTS_DIR}/XXXPreparser.aa.fss:21:15-20:\n\
23\ Mismatched identifiers for a label expression:\n\
24\ 'myBlock' at ${PREPARSER_TESTS_DIR}/XXXPreparser.aa.fss:21:15-20 and\n\
25\ 'yourBlock' at ${PREPARSER_TESTS_DIR}/XXXPreparser.aa.fss:23:5-12\n\
26File XXXPreparser.aa.fss has 2 errors.\n
27compile_out_equals=
Note: See TracBrowser for help on using the browser.