script-less tests

Robert O'Callahan robert at
Tue Jul 8 21:07:55 PDT 2014

A lot of our test scripts already do nothing more than "compare_tests
EXIT-SUCCESS". As we expand syscall coverage we'll have to add a lot more
tests like that. So I renamed BASIC_TESTS to TESTS_WITH_PROGRAM and made
BASIC_TESTS refer to tests that just have a <test>.c and share a
"" script that just does "compare_tests EXIT-SUCCESS". This
lets us delete about half the .run scripts in src/test. Along the way I
cleaned up the tests so figures out the test name automatically and
every .run script has "source `dirname $0`/" as its first line. Less
boilerplate ==> good!

oIo otoeololo oyooouo otohoaoto oaonoyooonoeo owohooo oioso oaonogoroyo
owoiotoho oao oboroootohoeoro oooro osoiosotoeoro owoiololo oboeo
osouobojoeocoto otooo ojouodogomoeonoto.o oAogoaoiono,o oaonoyooonoeo
osoaoyoso otooo oao oboroootohoeoro oooro osoiosotoeoro,o o‘oRoaocoao,o’o
oaonosowoeoroaoboloeo otooo otohoeo ocooouoroto.o oAonodo oaonoyooonoeo
osoaoyoso,o o‘oYooouo ofooooolo!o’o owoiololo oboeo oiono odoaonogoeoro
otohoeo ofoioroeo ooofo ohoeololo.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <>

More information about the rr-dev mailing list