summaryrefslogtreecommitdiff
path: root/tests/classifier.at
diff options
context:
space:
mode:
authorBen Pfaff <blp@nicira.com>2010-05-26 12:48:32 -0700
committerBen Pfaff <blp@nicira.com>2010-05-26 15:23:58 -0700
commit3223e977cae4125b24ebb9498e0b67b4d8fac4c3 (patch)
treebbee440169d6ccb06698b790ecbeb8a30e8497be /tests/classifier.at
parenta238d75e3527a18efae40f1cadc2a95261249580 (diff)
downloadopenvswitch-3223e977cae4125b24ebb9498e0b67b4d8fac4c3.tar.gz
tests: Break monolithic classifier test into subtests.
This makes it easier to see which tests are taking up a lot of time, and to see which ones actually fail if any of them do.
Diffstat (limited to 'tests/classifier.at')
-rw-r--r--tests/classifier.at16
1 files changed, 16 insertions, 0 deletions
diff --git a/tests/classifier.at b/tests/classifier.at
new file mode 100644
index 000000000..f9e6953d3
--- /dev/null
+++ b/tests/classifier.at
@@ -0,0 +1,16 @@
+AT_BANNER([flow classifier unit tests])
+m4_foreach(
+ [testname],
+ [[empty],
+ [destroy-null],
+ [single-rule],
+ [rule-replacement],
+ [two-rules-in-one-bucket],
+ [two-rules-in-one-table],
+ [two-rules-in-different-tables],
+ [many-rules-in-one-bucket],
+ [many-rules-in-one-table],
+ [many-rules-in-different-tables]],
+ [AT_SETUP([flow classifier - m4_bpatsubst(testname, [-], [ ])])
+ AT_CHECK([test-classifier testname], [0], [], [])
+ AT_CLEANUP])])