X-Git-Url: https://pintos-os.org/cgi-bin/gitweb.cgi?a=blobdiff_plain;f=tests%2Ftestsuite.at;h=ceded7e1607e8f29bd927ef29ffe804f2be27c5f;hb=f0f54cb4dd1c4d890b6b4b9cd459c11fe880e88f;hp=781b6a6ce4b2d0fe538d2dff89f646e0c4f81a34;hpb=f212909325be9bc7e296e1a32e2fc89694a0049f;p=openvswitch diff --git a/tests/testsuite.at b/tests/testsuite.at index 781b6a6c..ceded7e1 100644 --- a/tests/testsuite.at +++ b/tests/testsuite.at @@ -16,6 +16,21 @@ limitations under the License.]) AT_TESTED([ovs-vswitchd]) AT_TESTED([ovs-vsctl]) +AT_TESTED([perl]) + +m4_define([OVS_WAIT_UNTIL], + [AT_CHECK( + [# First try a quick sleep, so that the test completes very quickly + # in the normal case. POSIX doesn't require fractional times to + # work, so this might not work. + sleep 0.1 + $1 + # Then wait up to 10 seconds. + for d in 0 1 2 3 4 5 6 7 8 9; do + sleep 1 + $1 + done + exit 1], [0], [ignore], [ignore])]) m4_include([tests/lcov-pre.at]) m4_include([tests/library.at]) @@ -26,6 +41,8 @@ m4_include([tests/json.at]) m4_include([tests/jsonrpc.at]) m4_include([tests/timeval.at]) m4_include([tests/lockfile.at]) +m4_include([tests/reconnect.at]) +m4_include([tests/ovsdb.at]) m4_include([tests/stp.at]) m4_include([tests/ovs-vsctl.at]) m4_include([tests/lcov-post.at])