aboutsummaryrefslogtreecommitdiff
path: root/tests/uuid.at
diff options
context:
space:
mode:
authorBen Pfaff <blp@nicira.com>2010-02-01 14:04:25 -0800
committerBen Pfaff <blp@nicira.com>2010-02-02 15:21:09 -0800
commit7c126fbb8a0589f2a29f3e7c520723a2d74b254e (patch)
tree3b0db7f29ddb7403fd8a192ac78652b535c09182 /tests/uuid.at
parenta778696338b85b86b31b9ec7d1a4daeda430aa8b (diff)
Rework and simplify the "lcov" support for the testsuite.
Diffstat (limited to 'tests/uuid.at')
-rw-r--r--tests/uuid.at11
1 files changed, 6 insertions, 5 deletions
diff --git a/tests/uuid.at b/tests/uuid.at
index 04b652a8..24f7180f 100644
--- a/tests/uuid.at
+++ b/tests/uuid.at
@@ -13,25 +13,26 @@ m4_define([CHECK_UUID],
fi])
# This test is a strict subset of the larger test down below, but it
-# allows us to get test coverage data via OVS_CHECK_LCOV.
+# completes in a realistic amount of time with the "lcov" wrapper.
AT_SETUP([UUID generation])
AT_KEYWORDS([UUID])
-OVS_CHECK_LCOV([test-uuid > uuid])
+AT_CHECK([test-uuid > uuid])
AT_CHECK([
uuid=`cat uuid`
CHECK_UUID])
AT_CLEANUP
# This test is a strict subset of the larger test down below, but it
-# allows us to get test coverage data via OVS_CHECK_LCOV.
+# completes in a realistic amount of time with the "lcov" wrapper.
AT_SETUP([UUID parsing and serialization])
AT_KEYWORDS([UUID])
-OVS_CHECK_LCOV([test-uuid f47ac10b-58cc-4372-a567-0e02b2c3d479], [0],
- [f47ac10b-58cc-4372-a567-0e02b2c3d479
+AT_CHECK([test-uuid f47ac10b-58cc-4372-a567-0e02b2c3d479], [0],
+ [f47ac10b-58cc-4372-a567-0e02b2c3d479
])
AT_CLEANUP
AT_SETUP([UUID generation, parsing, serialization])
+AT_SKIP_IF([test "$CHECK_LCOV" = true]) # lcov makes this test absurdly slow
AT_KEYWORDS([UUID])
AT_CHECK([
uuids=