X-Git-Url: https://pintos-os.org/cgi-bin/gitweb.cgi?a=blobdiff_plain;f=tests%2Flibrary.at;h=0765c3f3f55d99c31ba21de1193bbe8334f394b2;hb=543a550837f40e39c9f6f110e927b4c230c2d77c;hp=dce69dea07f29de056f5af84864065eb0f54637a;hpb=c2dd49322f538714572c66d72a1c142547c49b1d;p=openvswitch diff --git a/tests/library.at b/tests/library.at index dce69dea..0765c3f3 100644 --- a/tests/library.at +++ b/tests/library.at @@ -100,10 +100,19 @@ nibble 0 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 ]) AT_CLEANUP -AT_SETUP([test utility functions]) -AT_KEYWORDS([util]) -AT_CHECK([test-util]) -AT_CLEANUP +m4_foreach( + [testname], + [[ctz], + [popcount], + [log_2_floor], + [bitwise_copy], + [bitwise_zero], + [bitwise_one], + [bitwise_is_all_zeros]], + [AT_SETUP([testname[()] function]) + AT_KEYWORDS([testname]) + AT_CHECK([test-util testname], [0], [], []) + AT_CLEANUP]) AT_SETUP([test unix socket -- short pathname]) AT_CHECK([test-unix-socket x])