* tests/pic_flag.at (override pic_flag at configure time):
Match HP-UX 10.20 cc warning about unknown options, to skip
the test.
Signed-off-by: Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
2010-09-01 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
+ tests: avoid spurious pic_flag test failure on HP-UX 10.20.
+ * tests/pic_flag.at (override pic_flag at configure time):
+ Match HP-UX 10.20 cc warning about unknown options, to skip
+ the test.
+
tests: fix localization test for GCC on HP-UX 11.00.
* tests/localization.at (localized compiler messages): Be sure
to switch the locale only for the actual compiler commands, so
[], [stdout], [stderr])
# The configure test for the PIC flag also checks for warnings.
AT_CHECK([grep fpic stdout stderr && exit 77], [1])
+AT_CHECK([[grep '[uU]nknown.*option' stdout stderr && exit 77]], [1])
CXX_pic_flag='-fpic -DPIC'
if $CXX $CPPFLAGS $CXXFLAGS $CXX_pic_flag -c foo.cpp; then :; else