Home | History | Annotate | Download | only in tests

Lines Matching full:error

24 # Compile FILE expecting an error, and save in the file stdout the
26 # (e.g. c89 on IRIX 6.5) triger warnings on `#error', instead of
32 # input.y:4:2: #error "4" or
33 # input.y:4.2: #error "4" or
34 # input.y:4:2: error: #error "4"
36 # input.y:4: #error "4"
38 AT_CHECK([[sed -e 's/^\([^:]*:[^:.]*\)[.:][^:]*:\(.*\)$/\1:\2/' -e 's/^\([^:]*:[^:]*:\)[^@%:@]*\( @%:@error\)/\1\2/' stderr]], 0, [stdout])
41 # AT_TEST_SYNCLINE(TITLE, INPUT, ERROR-MSG)
44 # to issue ERROR-MSG.
49 # of an error. Even requiring GCC is not sufficient, since for instance
58 # | input.y:2: #error "2"
66 [[#error "1"
70 AT_CHECK([[test "`cat stdout`" = 'syncline.c:1: @%:@error "1"' || exit 77]])
87 #error "2"
94 [input.y:2: #error "2"
104 #error "2"
114 [input.y:2: #error "2"
132 #error "10"
137 [input.y:10: #error "10"
153 #error "8"
156 [input.y:8: #error "8"
172 #error "8"
174 [input.y:8: #error "8"