Permalink
Browse files

Fixes Unpredictable Test

The test now passes with different orders of output errors, which appear
to vary based upon clang version
  • Loading branch information...
1 parent c25457f commit a9cb6d38f1ccc54bb421531fe95f871d926f3da9 @fundamental committed Jul 31, 2012
Showing with 1 addition and 1 deletion.
  1. +1 −1 CMakeLists.txt
View
@@ -39,7 +39,7 @@ enable_testing ()
add_test (test-one sfpv ${SRC}/test/test-input.c)
set_property (TEST test-one
PROPERTY PASS_REGULAR_EXPRESSION
- "Function undefined_function was deduced to need to be safe.*error: Realtime safety violation, baz called from a safe function")
+ "undefined_function.*baz|baz.*undefined_function")
#Verify that nothing dies with very complex headers
add_test (header-includes sfpv -C "-D__STDC_CONSTANT_MACROS=1 -D__STDC_FORMAT_MACROS=1 __STDC_LIMIT_MACROS=1" ${SRC}/src/sfpv.cpp)

0 comments on commit a9cb6d3

Please sign in to comment.