]> git.draconx.ca Git - cdecl99.git/blobdiff - tests/stress.at
tests: Use TAP helpers in rng-test.
[cdecl99.git] / tests / stress.at
index 9bc84cf5e76693a431487e0d5722ead4d3fe4a84..b71836950db3d98de82f85b0140e2f489bf4cd20 100644 (file)
 AT_BANNER([Randomized tests])
 
 dnl Verify the RNG implementation
-AT_SETUP([xoshiro256p sanity])
-
-TEST_NEED_PROGRAM([rng-test])
-AT_CHECK([rng-test >out
-grep -v '^ok' out], [0], [1..200
-])
-
-AT_CLEANUP
+TEST_TAP_SIMPLE([xoshiro256p sanity], [rng-test],
+  [TEST_NEED_PROGRAM([rng-test])])
 
 dnl Verify that randomdecl actually produces all keywords and a variety
 dnl of different declarations.